WPF TChart. Bottom axis title problem.
Posted: Thu May 22, 2014 7:11 am
Hello steema!
I'm using the latest version of WPF TChart. In this version Bottom axis title is located over zero mark when series is empy.
It looks like this:
Adding of one bar value doesn't resolve the problem:
But if I add two bar values the axis title becomes located fine:
I'm using the latest version of WPF TChart. In this version Bottom axis title is located over zero mark when series is empy.
Code: Select all
MyTChart.Aspect.View3D = false;
Bar bar = new Bar();
MyTChart.Series.Add(bar);
MyTChart.Axes.Bottom.Title.Text = "Text";
Code: Select all
MyTChart.Aspect.View3D = false;
Bar bar = new Bar();
bar.Add(1);
MyTChart.Series.Add(bar);
MyTChart.Axes.Bottom.Title.Text = "Text";
Code: Select all
MyTChart.Aspect.View3D = false;
Bar bar = new Bar();
bar.Add(1);
bar.Add(2);
MyTChart.Series.Add(bar);
MyTChart.Axes.Bottom.Title.Text = "Text";