Dear Telerik,
I attached a screenshot of the weird shrink behaviour. Seems like all the data moves up
to the right side for some unknown reason. (Yes the data is correctly inserted in the series)
Perhaps you guys have an idea what's causing this ?
Kind Regards,
Kristof
The chart is completely build in code:
-
I attached a screenshot of the weird shrink behaviour. Seems like all the data moves up
to the right side for some unknown reason. (Yes the data is correctly inserted in the series)
Perhaps you guys have an idea what's causing this ?
Kind Regards,
Kristof
The chart is completely build in code:
-
//Define layout
BaseChart.AutoLayout = true;
BaseChart.AutoTextWrap = false;
BaseChart.Appearance.FillStyle.MainColor = Color.White;
BaseChart.PlotArea.Appearance.FillStyle.MainColor = Color.White;
BaseChart.PlotArea.Appearance.FillStyle.FillType = Telerik.Charting.Styles.FillType.Solid;
//Define XAxis
BaseChart.PlotArea.XAxis.AutoScale = false;
BaseChart.PlotArea.XAxis.AutoShrink = false;
BaseChart.PlotArea.XAxis.LayoutMode = Telerik.Charting.Styles.ChartAxisLayoutMode.Between;
//Define YAxis
BaseChart.PlotArea.YAxis.AutoScale = true;
BaseChart.PlotArea.YAxis.AxisLabel.TextBlock.Text = "";
BaseChart.PlotArea.YAxis.AxisLabel.Visible = true;
//Define ChartTitle
BaseChart.ChartTitle.Appearance.Position.AlignedPosition = Telerik.Charting.Styles.AlignedPositions.TopLeft;
BaseChart.ChartTitle.TextBlock.Text = "";
BaseChart.ChartTitle.TextBlock.Visible = false;
BaseChart.AutoLayout = true;
BaseChart.AutoTextWrap = false;
BaseChart.Appearance.FillStyle.MainColor = Color.White;
BaseChart.PlotArea.Appearance.FillStyle.MainColor = Color.White;
BaseChart.PlotArea.Appearance.FillStyle.FillType = Telerik.Charting.Styles.FillType.Solid;
//Define XAxis
BaseChart.PlotArea.XAxis.AutoScale = false;
BaseChart.PlotArea.XAxis.AutoShrink = false;
BaseChart.PlotArea.XAxis.LayoutMode = Telerik.Charting.Styles.ChartAxisLayoutMode.Between;
//Define YAxis
BaseChart.PlotArea.YAxis.AutoScale = true;
BaseChart.PlotArea.YAxis.AxisLabel.TextBlock.Text = "";
BaseChart.PlotArea.YAxis.AxisLabel.Visible = true;
//Define ChartTitle
BaseChart.ChartTitle.Appearance.Position.AlignedPosition = Telerik.Charting.Styles.AlignedPositions.TopLeft;
BaseChart.ChartTitle.TextBlock.Text = "";
BaseChart.ChartTitle.TextBlock.Visible = false;
// Rest is just adding normal series...