Jump to content
Software FX Community

Points drawn out of the border


kazuhiro

Recommended Posts

 Frank,

Thank you for replying.

I tried your suggestion and it seemed to fix the problem. However, once I set "AllSeries.Gallery = Gallery.Bar", it then ignores AxisX.Max and AxisX.Min.

I thought AllSeries property was just a default value and each series' properties overrode it. Would you please give me further explanation?

Thanks,Kazuhiro 

Link to comment
Share on other sites

A bar chart doesn't have a real X-Axis, you can not set the Min and Max, the X-Axis is categorical. That's is actually the reason why you were getting the bars out of range.

What exactly are you trying to do by setting the Min and Max? If it is the scrolling you want to control you can use SetScrollView (Axis class).

Link to comment
Share on other sites

What I'm trying to do here is to set "view points", i.e. the data source contains data for several months and I want to show data for a certain period, say 30 days. It's kind of scrolling but SetScrollView would not be a solution since I have several charts whose "view points" have to be synchronized so I can't use scroll bars. 

I think I can do it by dropping invisible data before binding to a chart but...  Do you have any idea rather than that?

Kazuhiro 

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...