Jump to content
Software FX Community

chart doesn't refresh itself


User (Legacy)

Recommended Posts

Hi folks,

I was trying to change the x-axis of a bar chart. I step through the code

and found out the x-axis label has been reduced from 5 to 4, but when

finally the chart shows up, I still got 5 nodes on x-axis. what could be the

reason of this? It did not work even I set the page cache to nothing.

Thanks

mike

Link to comment
Share on other sites

Note that bar chart do not support a "mathematical" X axis, you can assign

labels (using the Legend property) and these labels will be shown in the X

axis.

Can you post sample code and the chart you are getting ?

If you are using ChartFX COM and there is not enough space to display the

labels you may see number "1,2,3..". To test if you are setting the labels

correctly you can turn on the legend window. If this is the case (not enough

space, labels ok) you can try reducing the font used in the X axis, setting

the labels to be painted vertically, or using a 2 level approach.

--

Regards,

JC

Software FX Support

"mike" <mikeweiminzhang@yahoo.com> wrote in message

news:HjApuhUKDHA.380@webserver1.softwarefx.com...

> Hi folks,

>

> I was trying to change the x-axis of a bar chart. I step through the code

> and found out the x-axis label has been reduced from 5 to 4, but when

> finally the chart shows up, I still got 5 nodes on x-axis. what could be

the

> reason of this? It did not work even I set the page cache to nothing.

>

> Thanks

> mike

>

>

>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...