Hi,
i have a radChartView docking to a Window (in Designer 600x300px) filled with a DataTable, 5 values with price and Date.
if i resize the Window greater then 600x300px, everything grows correctly but the line is only visible in the 600x300px field (see Images)
And my second problem/wish: i want the Horizontal Axis linear, like this http://www.telerik.com/help/winforms/chartview-axes-linear.html just with Dates. The Dates in the graph are order dates, so i need to visualise if there are much or less time between them.
thanks in advance
using 2013.2.724.40
i have a radChartView docking to a Window (in Designer 600x300px) filled with a DataTable, 5 values with price and Date.
linePrice =
new
DataTable();
linePrice.Columns.Add(
"Price"
,
typeof
(
float
));
linePrice.Columns.Add(
"Date"
,
typeof
(DateTime));
LineSeries lineSeria =
new
LineSeries();
radChartView1.Series.Add(lineSeria);
lineSeria.ShowLabels =
true
;
lineSeria.LabelFormat =
"{0:C}"
;
lineSeria.ValueMember =
"Price
"
;
lineSeria.CategoryMember =
"Date
"
;
lineSeria.DataSource = linePrice
;
DateTimeCategoricalAxis categoricalAxis =
new
DateTimeCategoricalAxis();
categoricalAxis.DateTimeComponent = DateTimeComponent.Day;
categoricalAxis.MajorTickInterval = 1;
categoricalAxis.PlotMode = AxisPlotMode.BetweenTicks;
categoricalAxis.LabelFormat =
"{0:dd}.{0:MM}.{0:yyyy}"
;
lineSeria.HorizontalAxis = categoricalAxis;
if i resize the Window greater then 600x300px, everything grows correctly but the line is only visible in the 600x300px field (see Images)
And my second problem/wish: i want the Horizontal Axis linear, like this http://www.telerik.com/help/winforms/chartview-axes-linear.html just with Dates. The Dates in the graph are order dates, so i need to visualise if there are much or less time between them.
thanks in advance
using 2013.2.724.40