06-30-2020 10:40 AM
Does the Measurement Studio has a widget like that? I need to display a number of stacked plots with one common X-axis.
07-01-2020 09:35 AM
The graph does not support a configuration option for the kind of plot stacking shown in your image, but you can achieve that effect by using multiple graphs and synchronizing their horizontal ranges with data binding: see the WPF graph - show multiple plots with same x axis, each plot has own y axis question for more details.
07-02-2020 03:09 PM
I'm using WinForm. Could you help me to convert XAML to normal properties?
07-02-2020 04:31 PM
Ah, unfortunately I am not very familiar with the WinForms controls, and those controls have somewhat different properties from the WPF controls. Browsing the documentation, it looks like you could use the Scale.RangeChanged
event to make sure all of the graphs maintain the same horizontal range?
07-04-2020 11:31 AM
The range of the scale isn't a problem at all. I'm using scatterGraphs and set all X scales from the same DateTime array. The biggest problem is to align the left and right sides of the area of the plots to each other automatically on runtime. See attached screenshot.
07-04-2020 03:50 PM
I've found property PlotAreaBounds that could help to align all stacked graphs but this is a read-only property and I still looking for how to set up these bounds programmatically.