I'm using a line chart to plot data for every M-F in a date range. I'm binding this to a datatable, and because there are a lot of dates, I'm only displaying the dates on Mondays.
Right now the separation between every day is a major grid line and I've hidden the minor grid lines because they're irrelevant - a fraction of a day.
Is there any way to set the interval for the major/minor grid lines? Say every 5 columns is a major and every 1 day is minor?
My x axis is a collection of dates, the datetime axis didn't seem to give me enough flexibility on this so I did it manually. This means I can't use the datetime intervals.
Here is my markup:
Right now the separation between every day is a major grid line and I've hidden the minor grid lines because they're irrelevant - a fraction of a day.
Is there any way to set the interval for the major/minor grid lines? Say every 5 columns is a major and every 1 day is minor?
My x axis is a collection of dates, the datetime axis didn't seem to give me enough flexibility on this so I did it manually. This means I can't use the datetime intervals.
Here is my markup:
<telerik:RadHtmlChart runat="server" ID="RadHtmlChart1" Width="900px" Height="400px" Skin="Metro" Transitions="true" > <ChartTitle Text=""> <Appearance Visible="false"> <TextStyle Margin="0" Padding="0" FontSize="1" /> </Appearance> </ChartTitle> <PlotArea> <XAxis MajorTickType="Outside" MinorTickType="None"> <TitleAppearance Visible="false"> </TitleAppearance> <LabelsAppearance RotationAngle="45"> </LabelsAppearance> <MajorGridLines Color="#EFEFEF" Width="1"></MajorGridLines> <MinorGridLines Color="#F7F7F7" Width="1" Visible="false"></MinorGridLines> </XAxis> <YAxis> <TitleAppearance Text="Price" Visible="false"> </TitleAppearance> <MajorGridLines Color="#EFEFEF" Width="1"></MajorGridLines> <MinorGridLines Color="#F7F7F7" Width="1"></MinorGridLines> </YAxis> <Series> <rad:LineSeries MissingValues="Gap" ColorField="Color" DataFieldY="Price"> <LineAppearance Width="1" /> <LabelsAppearance Visible="false"></LabelsAppearance> <TooltipsAppearance ClientTemplate="#=dataItem.ToolTip#" /> <SeriesItems> </SeriesItems> </rad:LineSeries> </Series> </PlotArea> </telerik:RadHtmlChart>