This question is locked. New answers and comments are not allowed.
Default Double values are rounded to two decimal places. I'm afraid I couldn't find any information in documentation or examples that explained how this can be changed? We're building a statistics app and need up to 6 decimal places for MIN, MAX, STDEV values, etc. in our dataset.
Could anybody point me in a good direction or have an example how to adjust rounding of values? Example code below:
protected void ProxyLoadStatisticsCompleted(object sender, LoadStatisticsCompletedEventArgs e)
{
if (e.Error == null && e.Result != null)
{
var series = new DataSeries();
series.Definition = new LineSeriesDefinition();
series.Definition.ShowItemLabels = true;
series.Definition.ShowItemToolTips = true;
series.Definition.EmptyPointBehavior = EmptyPointBehavior.Drop;
series.Definition.Appearance.PointMark.Fill = new SolidColorBrush(Colors.Orange);
series.Definition.Appearance.Fill = new SolidColorBrush(Colors.Orange);
series.Definition.InteractivitySettings.HoverScope = InteractivityScope.Series;
(series.Definition as LineSeriesDefinition).ShowPointMarks = true;
series.LegendLabel = "Min Value";
timeChart.DefaultView.ChartArea.DataSeries.Add(series);
}
}