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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...