Hi,
I am using RadControls Ajax Q3 2010.
I have a very simple graph
and I set its data source dynamically
When the data in the data table contains several values (doubles) that are the same (say 91.1, 91.1, 91.1, etc), the graph does not draw the line and instead of centering the graph around 91.1 (since IsZeroBased is set to false), it centers it around 0 which leads me to believe for some reason it's not taking the values at all.
When the same exact data table but with various numbers (say 91, 92, 84.3, 96.1, etc) is used to set the data source, the graph works fine.
Any thoughts?
I am using RadControls Ajax Q3 2010.
I have a very simple graph
<
telerik:RadChart
ID
=
"chtPrices"
runat
=
"server"
DefaultType
=
"Line"
Width
=
"500px"
Height
=
"300px"
AutoLayout
=
"true"
>
<
ChartTitle
Visible
=
"false"
/>
<
Legend
Visible
=
"false"
/>
<
PlotArea
>
<
XAxis
Visible
=
"True"
/>
<
YAxis
ScaleBreaks-Enabled
=
"true"
IsZeroBased
=
"false"
/>
<
EmptySeriesMessage
TextBlock-Text
=
"No Data Selected"
/>
</
PlotArea
>
</
telerik:RadChart
>
and I set its data source dynamically
DataTable prices = PricessManager.GetPrices();
chtPrices.DataSource = prices;
chtPrices.DataBind();
When the data in the data table contains several values (doubles) that are the same (say 91.1, 91.1, 91.1, etc), the graph does not draw the line and instead of centering the graph around 91.1 (since IsZeroBased is set to false), it centers it around 0 which leads me to believe for some reason it's not taking the values at all.
When the same exact data table but with various numbers (say 91, 92, 84.3, 96.1, etc) is used to set the data source, the graph works fine.
Any thoughts?