Hi, I have a bar chart in one pane that is linked to a scatter chart in a different pane. I'm using IsSynchronizeXAxes = true to keep the x axes of the two charts lined up.
When I zoom into the scatter chart, the bar chart correctly updates it's x-axis to keep alignment with the scatter chart.
However, I would like to autoscale the y-axis of the bar chart after each zoom. I've played around with it, but it seems like the y-axis auto scaling uses the max value of the BarItem list, rather than just the bars that are visible.
Is this correct? What do I need to do to cause the bar chart to autoscale it's y-axis for only the data that is visible after the x-axis updates?
Try GraphPane.IsBoundedRanges = true;
This will limit the "scope" of the autoscaling to the visible range of data.
John, that worked awesomely! Thank you for the quick reply and the excellent charting package.
I have the same problem. Can anyone help?
sorry.. found through search.. and havent seen replies... tnx to community for
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.