Hi folks,
Brand new to the Chart control and way out of my depth. I'm not even sure that the chart can do what I want but here goes. I've attached an image showing the ideal chart. (Okay, the shadow's a frill. <grin>)
I need a chart with two series that displays the XValue (an OADate) as a formatted string and the YValues as a line. The two series will have similar Y data but dissimilar dates. Only the dates that are given should appear - not ranges.
I've pasted in some sample markup to show what the data looks like. Nothing is working so far so any tips, code, warning or solutions are most welcome.
Ken
Brand new to the Chart control and way out of my depth. I'm not even sure that the chart can do what I want but here goes. I've attached an image showing the ideal chart. (Okay, the shadow's a frill. <grin>)
I need a chart with two series that displays the XValue (an OADate) as a formatted string and the YValues as a line. The two series will have similar Y data but dissimilar dates. Only the dates that are given should appear - not ranges.
I've pasted in some sample markup to show what the data looks like. Nothing is working so far so any tips, code, warning or solutions are most welcome.
Ken
<
telerik:RadChart
runat
=
"server"
ID
=
"RadChart2"
Skin
=
"LightBrown"
>
<
Series
>
<
telerik:ChartSeries
Name
=
"Vendor One"
Type
=
"Line"
>
<
Items
>
<
telerik:ChartSeriesItem
YValue
=
"6000"
XValue
=
"41245.211"
>
</
telerik:ChartSeriesItem
>
<
telerik:ChartSeriesItem
YValue
=
"8000"
XValue
=
"41251.44"
>
</
telerik:ChartSeriesItem
>
</
Items
>
</
telerik:ChartSeries
>
<
telerik:ChartSeries
Name
=
"Vendor Two"
Type
=
"Line"
>
<
Items
>
<
telerik:ChartSeriesItem
YValue
=
"5000"
XValue
=
"41253.345"
>
</
telerik:ChartSeriesItem
>
<
telerik:ChartSeriesItem
YValue
=
"9000"
XValue
=
"41254.72315"
>
</
telerik:ChartSeriesItem
>
</
Items
>
</
telerik:ChartSeries
>
</
Series
>
<
PlotArea
>
<
XAxis
>
<
Appearance
>
<
LabelAppearance
RotationAngle
=
"70"
></
LabelAppearance
>
</
Appearance
>
</
XAxis
>
<
YAxis
AxisMode
=
"Extended"
>
</
YAxis
>
</
PlotArea
>
<
ChartTitle
>
<
TextBlock
Text
=
"Chart Problem"
>
</
TextBlock
>
</
ChartTitle
>
</
telerik:RadChart
>