Group: Forum Members
Last Active: 14 Years Ago
Posts: 6,
Visits: 1
|
Hi, I am using the nevron chart to display data. The attachment shows what it does. How can i force the chart to show 0 in stead of the value towards 0? The data contains values such as 0.0008, 0.00001, 0.0023 -0.0008
|
Group: Forum Members
Last Active: 6 Months Ago
Posts: 153,
Visits: 11
|
Hi Willie, You can workaround that by applying a value formatter with fixed precision: NStandardScaleConfigurator scale = chart.Axis(StandardAxis.PrimaryY).ScaleConfigurator as NStandardScaleConfigurator; scale.LabelValueFormatter = new NNumericValueFormatter("0.000");
Also newer versions of the component do not have this problem (they use decimal precision for the step calculation).
Let me know if you have any questions...Best regards, Bob
|