Hi,
I need to draw a vertical line when in particular mode in my application on my ChartView. The line would go from the X-Axis up to the the top of the chart grid area. Also I need to add a label near the line which would report out in live time the value (Y-Axis) of the current channel (X-axis value), see Image1.png. I would like the line to be visible if zoomed in on that area of the chart. Please provide code snipet of how to add such overlays/labels to the chartview (don't know the exact terminology for this control).
Also is there a built-in way to zoom out of the chart? It's very easy to zoom-in, but I would also think that there would be a way to zoom out, or does this have to be manually programmed? If it has to be manually programmed, is there any way to catch the zoom event so I could try to over-ride a uppper-left to lower-right zoombox to make this zoom out to the default zoom?
Also is there way built-in to pan over the chart with the mouse, or are using scrollbars the only way?
If there are samples that have been written please share, or point me towards them
Thanks!
P.S. - These are the final few items of evaluation before I give the recomendation for my company to buy the WPF suite of controls.
I need to draw a vertical line when in particular mode in my application on my ChartView. The line would go from the X-Axis up to the the top of the chart grid area. Also I need to add a label near the line which would report out in live time the value (Y-Axis) of the current channel (X-axis value), see Image1.png. I would like the line to be visible if zoomed in on that area of the chart. Please provide code snipet of how to add such overlays/labels to the chartview (don't know the exact terminology for this control).
Also is there a built-in way to zoom out of the chart? It's very easy to zoom-in, but I would also think that there would be a way to zoom out, or does this have to be manually programmed? If it has to be manually programmed, is there any way to catch the zoom event so I could try to over-ride a uppper-left to lower-right zoombox to make this zoom out to the default zoom?
Also is there way built-in to pan over the chart with the mouse, or are using scrollbars the only way?
If there are samples that have been written please share, or point me towards them
Thanks!
P.S. - These are the final few items of evaluation before I give the recomendation for my company to buy the WPF suite of controls.