Hi everyone,
I copy the basics Bar Sample Chart from Telerik website.
I change the sourceitems to an array of double of length 250.
Every value equal to 100, just one of them equal to 1000.
In the Chart I see incorrect value, instead of display a bar with 1000, I see a bar with 550.
Can anyone help me??
Thank you.
Here are the code:
I copy the basics Bar Sample Chart from Telerik website.
I change the sourceitems to an array of double of length 250.
Every value equal to 100, just one of them equal to 1000.
In the Chart I see incorrect value, instead of display a bar with 1000, I see a bar with 550.
Can anyone help me??
Thank you.
Here are the code:
public Example()
{
InitializeComponent();
RadChart1.DefaultView.ChartArea.EnableAnimations =
false;
}
void Example_Loaded(object sender, RoutedEventArgs e)
{
this.FillSampleChartData();
}
private void FillSampleChartData()
{
double[] data = new double[250];
for (int i = 0; i < data.Length; i++)
data[i] = 100;
data[178] = 1000;
RadChart1.DefaultSeriesDefinition =
new BarSeriesDefinition();
RadChart1.ItemsSource = data;
}