I have a linq data source returning rows. Each row contains a date and 8 counters. I want the date to appear in the X-Axis labels and the 8 counters to form the stacked bar. I am using the DataBound event of the chart to set the colors to use. I can't seem to get the XD-Axis labels to appear and I am getting 3 bars per date.
The chart is defined as:
<telerik:RadChart runat="server" DefaultType="StackedBar100"
Width="1100px" ID="ReportChart" Height="450px" DataSourceID="ChartDataSource" OnDataBound="ReportChart_DataBound">
<Appearance>
<Border Visible="False" />
</Appearance>
<Series>
<telerik:ChartSeries Name="Normal" Type="StackedBar100" DataYColumn="Normal">
<Appearance ShowLabels="False">
<LabelAppearance Visible="False">
</LabelAppearance>
</Appearance>
</telerik:ChartSeries>
<telerik:ChartSeries Name="Warnings" Type="StackedBar100" DataYColumn="Warnings">
<Appearance ShowLabels="False">
<LabelAppearance Visible="False"/>
</Appearance>
</telerik:ChartSeries>
<telerik:ChartSeries Name="Fixture_Malfunction" Type="StackedBar100" DataYColumn="Fixture_Malfunction">
<Appearance ShowLabels="False">
<LabelAppearance Visible="False" />
</Appearance>
</telerik:ChartSeries>
<telerik:ChartSeries Name="No_Comm" Type="StackedBar100" DataYColumn="No_Comm">
<Appearance ShowLabels="False">
<LabelAppearance Visible="False" />
</Appearance>
</telerik:ChartSeries>
<telerik:ChartSeries Name="Extended_No_Comm" Type="StackedBar100" DataYColumn="Extended_No_Comm">
<Appearance ShowLabels="False">
<LabelAppearance Visible="False" />
</Appearance>
</telerik:ChartSeries>
<telerik:ChartSeries Name="Partial_Report" Type="StackedBar100" DataYColumn="Partial_Report">
<Appearance ShowLabels="False">
<LabelAppearance Visible="False" />
</Appearance>
</telerik:ChartSeries>
<telerik:ChartSeries Name="Unregistered" Type="StackedBar100" DataYColumn="Unregistered">
<Appearance ShowLabels="False">
<LabelAppearance Visible="False" />
</Appearance>
</telerik:ChartSeries>
<telerik:ChartSeries Name="No_Power" Type="StackedBar100" DataYColumn="No_Power">
<Appearance ShowLabels="False">
<LabelAppearance Visible="False" />
</Appearance>
</telerik:ChartSeries>
</Series>
<PlotArea>
<Appearance>
<Border Visible="False" />
</Appearance>
</PlotArea>
</telerik:RadChart>
The chart is defined as:
<telerik:RadChart runat="server" DefaultType="StackedBar100"
Width="1100px" ID="ReportChart" Height="450px" DataSourceID="ChartDataSource" OnDataBound="ReportChart_DataBound">
<Appearance>
<Border Visible="False" />
</Appearance>
<Series>
<telerik:ChartSeries Name="Normal" Type="StackedBar100" DataYColumn="Normal">
<Appearance ShowLabels="False">
<LabelAppearance Visible="False">
</LabelAppearance>
</Appearance>
</telerik:ChartSeries>
<telerik:ChartSeries Name="Warnings" Type="StackedBar100" DataYColumn="Warnings">
<Appearance ShowLabels="False">
<LabelAppearance Visible="False"/>
</Appearance>
</telerik:ChartSeries>
<telerik:ChartSeries Name="Fixture_Malfunction" Type="StackedBar100" DataYColumn="Fixture_Malfunction">
<Appearance ShowLabels="False">
<LabelAppearance Visible="False" />
</Appearance>
</telerik:ChartSeries>
<telerik:ChartSeries Name="No_Comm" Type="StackedBar100" DataYColumn="No_Comm">
<Appearance ShowLabels="False">
<LabelAppearance Visible="False" />
</Appearance>
</telerik:ChartSeries>
<telerik:ChartSeries Name="Extended_No_Comm" Type="StackedBar100" DataYColumn="Extended_No_Comm">
<Appearance ShowLabels="False">
<LabelAppearance Visible="False" />
</Appearance>
</telerik:ChartSeries>
<telerik:ChartSeries Name="Partial_Report" Type="StackedBar100" DataYColumn="Partial_Report">
<Appearance ShowLabels="False">
<LabelAppearance Visible="False" />
</Appearance>
</telerik:ChartSeries>
<telerik:ChartSeries Name="Unregistered" Type="StackedBar100" DataYColumn="Unregistered">
<Appearance ShowLabels="False">
<LabelAppearance Visible="False" />
</Appearance>
</telerik:ChartSeries>
<telerik:ChartSeries Name="No_Power" Type="StackedBar100" DataYColumn="No_Power">
<Appearance ShowLabels="False">
<LabelAppearance Visible="False" />
</Appearance>
</telerik:ChartSeries>
</Series>
<PlotArea>
<Appearance>
<Border Visible="False" />
</Appearance>
</PlotArea>
</telerik:RadChart>