in

Software FX Community

Discuss and find help for all Software FX products.

bar chart x axis label bug! how to deal with it

Last post 08-14-2009 11:57 PM by Frank. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 06-24-2009 1:02 PM

    bar chart x axis label bug! how to deal with it

    I create a bar chart but the x axis label behavior is so wired.

    When I set the time range of the report to less than 10 bars it shows all right. But when I change the time range to make it show more than 10 bars, the x axis label show in erratic manner. Please check the attached picture. There are two major errors:

    1. the display of x label is in strange manner, how to set it to show in even step manner?

    2. why the last label show "Feb/10 " even the maximum date from data source is only "05/2009"? some ghost there?

     

    How to handle the problem?

    The only code I change is:

     chart.DataType[0]= DataType.Label;

    chart.AxisX.LabelsFormat.Format = SoftwareFX.ChartFX.AxisFormat.Date;               
    chart.AxisX.LabelsFormat.CustomFormat = "MMM/yy";

     

     


  • 08-14-2009 11:57 PM In reply to

    • Frank
    • Top 10 Contributor
    • Joined on 11-30-2006
    • USA

    Re: bar chart x axis label bug! how to deal with it

    Please export this chart to a binary file (using the export method) and attach it to your post.

    Francisco Padron
    www.chartfx.com
Page 1 of 1 (2 items)
Copyright 2008 Software FX, Inc.