I have a number of panes in my chart, some of them should have a fixed range (say 0 .. 100)
I do remember a SetPaneMinMax() function in an older version of WL.
Is there an equivalent in WL8?
I do remember a SetPaneMinMax() function in an older version of WL.
Is there an equivalent in WL8?
Rename
SetPaneDrawingOptions
Does the graphics package you use for WL have a way of returning the present y-min and y-max of a pane? If not, can you request the graphics package authors to add that function?
I'm not sure I understand the question. We're not using any graphics package. We're using WPF from Microsoft for rendering. But, the graphics is decoupled from the Strategy execution system so it's not possible to get this kind of detailed information about the chart that you seem to be looking for.
> SetPaneDrawingOptions
This procedure sets the height in pixels of a pane. That is not what I want.
I want the vertical Axis (Y-Axis) to show values between 0.0 and 100.0 even if the data
has an Y-Range of say 30..80.
This should switch off auto-scaling and use a fixed scaling of the data and a fixed range for the vertical axis.
In an older version of WL the SetPaneMinMax() call achieved exactly this behavior.
This procedure sets the height in pixels of a pane. That is not what I want.
I want the vertical Axis (Y-Axis) to show values between 0.0 and 100.0 even if the data
has an Y-Range of say 30..80.
This should switch off auto-scaling and use a fixed scaling of the data and a fixed range for the vertical axis.
In an older version of WL the SetPaneMinMax() call achieved exactly this behavior.
You can set UseZeroOrigin of the plotted indicator to true to achieve this.
Actually you can't - it's read only.
SetPaneDrawingOptions needs a couple more parameters, something like this -
It's a feature request now. Add your vote in Post #1.
SetPaneDrawingOptions needs a couple more parameters, something like this -
CODE:If ymin / ymax aren't assigned, then Auto-scale.
void SetPaneDrawingOptions2(string paneTag, int height, int sortValue = 50, double ymin = Double.MinValue, double ymax = Double.MaxValue)
It's a feature request now. Add your vote in Post #1.
Or we could simply reintroduce SetPaneMinMax.
Your Response
Post
Edit Post
Login is required