Hello,
I built & run the application DX_Sample.zip in
https://www.devexpress.com/Support/Center/Question/Details/T164795
But the application does not scale the axis of the chart.
In addition to this, assuming that the application works as promised, Is there a way to get the axis range values from the layout xml file. Specifically, I would like to embed Axes Range Min. and Max. values into the xml. When, loading the Dashboard to a Dashboard Viewer, the chart should have the scale between embedded values in xml. Can I utilize Dashboard.UserData property for this purpose?
I modified the code as below. But still have no result.
C#private void simpleButton1_Click(object sender, EventArgs e)
{
DashboardChartControl chart = (DashboardChartControl)((IUnderlyingControlProvider)dashboardDesigner1).GetUnderlyingControl(dashboardDesigner1.Dashboard.Items[0].ComponentName);
XYDiagram diagram = (XYDiagram)chart.Diagram;
diagram.AxisY.VisualRange.Auto = false;
diagram.AxisY.VisualRange.SetMinMaxValues(90, 105);
}