I would like to display following chart in logarithmic way
I tries to add that option in VAlueAxis Proporties like that but it changed nothing
Could you help me please?
@(Html.Kendo().Chart()
.Name("chart3")
.Title("Time Based graph")
.SeriesDefaults(seriesDefaults => seriesDefaults.Line().Style(ChartLineStyle.Smooth).Markers(false)
)
.Series(series =>
{
series
.Line(new double[] {102, 100, 98, 103, 105, 99, 98, 104, 102, 104, 100, 94, 104, 109, 142, 198, 512, 405, 709, 805, 1203, 845, 1000, 1025, 1002, 1120, 1205, 1508});
}
)
.CategoryAxis(axis => axis
.Categories(new DateTime[]
{
new DateTime(2011,01,01), new DateTime(2011,01,02), new DateTime(2011,01,03), new DateTime(2011,01,04), new DateTime(2011,01,05), new DateTime(2011,01,06),
new DateTime(2011,01,07), new DateTime(2011,01,08), new DateTime(2011,01,09), new DateTime(2011,01,10), new DateTime(2011,01,11),
new DateTime(2011,01,12),
new DateTime(2011,01,13), new DateTime(2011,01,14), new DateTime(2011,01,15), new DateTime(2011,01,16), new DateTime(2011,01,17), new DateTime(2011,01,18),
new DateTime(2011,01,19), new DateTime(2011,01,20), new DateTime(2011,01,21), new DateTime(2011,01,22), new DateTime(2011,01,23),
new DateTime(2011,01,24), new DateTime(2011,01,25), new DateTime(2011,01,26), new DateTime(2011,01,27), new DateTime(2011,01,28)
}
)
)
)
@(Html.Kendo().Chart()
.Name("chart3")
.Title("Time Based graph")
.SeriesDefaults(seriesDefaults => seriesDefaults.Line().Style(ChartLineStyle.Smooth).Markers(false)
)
.Series(series =>
{
series
.Line(new double[] { 102, 100, 98, 103, 105, 99, 98, 104, 102, 104, 100, 94, 104, 109, 142, 198, 512, 405, 709, 805, 1203, 845, 1000, 1025, 1002, 1120, 1205, 1508 });
}
)
.CategoryAxis(axis => axis
.Categories(new DateTime[]
{
new DateTime(2011,01,01), new DateTime(2011,01,02), new DateTime(2011,01,03), new DateTime(2011,01,04), new DateTime(2011,01,05), new DateTime(2011,01,06),
new DateTime(2011,01,07), new DateTime(2011,01,08), new DateTime(2011,01,09), new DateTime(2011,01,10), new DateTime(2011,01,11),
new DateTime(2011,01,12),
new DateTime(2011,01,13), new DateTime(2011,01,14), new DateTime(2011,01,15), new DateTime(2011,01,16), new DateTime(2011,01,17), new DateTime(2011,01,18),
new DateTime(2011,01,19), new DateTime(2011,01,20), new DateTime(2011,01,21), new DateTime(2011,01,22), new DateTime(2011,01,23),
new DateTime(2011,01,24), new DateTime(2011,01,25), new DateTime(2011,01,26), new DateTime(2011,01,27), new DateTime(2011,01,28)
}
)
)
.ValueAxis(a => a.Logarithmic())
)
Could you help me please?