Hi
I have a page where I am adding the items programmatically and specifying the colour of the bar. This works fine except that the FillType="Solid" specified in my ascx seems to be overidden and the bars fade with a gradient.
ascx:
then adding items in code-behind:
If I remove the Color param in the code, all bars display a solid white.
Thanks
I have a page where I am adding the items programmatically and specifying the colour of the bar. This works fine except that the FillType="Solid" specified in my ascx seems to be overidden and the bars fade with a gradient.
ascx:
| <telerik:RadChart ID="crtResults" runat="server" SeriesOrientation="Horizontal" SkinsOverrideStyles="false" |
| OnItemDataBound="crtResults_ItemDataBound" AutoLayout="true"> |
| <ChartTitle> |
| <TextBlock Text="Title"> |
| </TextBlock> |
| </ChartTitle> |
| <Series> |
| <telerik:ChartSeries Name="Series" Type="Bar" > |
| <Appearance LegendDisplayMode="Nothing" > |
| <Border Visible="false"/> |
| <FillStyle FillType="Solid" MainColor="White"></FillStyle> |
| <LabelAppearance Visible="false" ></LabelAppearance></Appearance> |
| </telerik:ChartSeries> |
| </Series> |
| </telerik:RadChart> |
| crtResults.Series[0].AddItem(1, "label", Color.Red); |
If I remove the Color param in the code, all bars display a solid white.
Thanks