UWP logarithmic axis
Posted: Tue Jan 15, 2019 2:06 pm
Hello, everyone,
i have created two projects.
One Winforms and one Universal app with one chart each.
The following code is executed:
private Steema.TeeChart.Styles.Line GrndLineHorR;
private void button1_Click(object sender, EventArgs e)
{
TonChartR.Header.Visible = false;
TonChartR.Legend.Visible = false;
GrndLineHorR = new Steema.TeeChart.Styles.Line();
GrndLineHorR.Add(100, 0);
GrndLineHorR.Add(125, 0, "0.125");
GrndLineHorR.Add(250, 0, "0.25");
GrndLineHorR.Add(500, 0, "0.5");
GrndLineHorR.Add(750, 0, "0.75");
GrndLineHorR.Add(1000, 0, "1");
GrndLineHorR.Add(1500, 0, "1.5");
GrndLineHorR.Add(2000, 0, "2");
GrndLineHorR.Add(3000, 0, "3");
GrndLineHorR.Add(4000, 0, "4");
GrndLineHorR.Add(6000, 0, "6");
GrndLineHorR.Add(8000, 0, "8");
GrndLineHorR.HorizAxis = Steema.TeeChart.Styles.HorizontalAxis.Top;
GrndLineHorR.VertAxis = Steema.TeeChart.Styles.VerticalAxis.Left;
TonChartR.Series.Add(GrndLineHorR);
TonChartR.Axes.Top.Logarithmic = true;
}
I attached the pictures with the results.
The result with Winforms meets my expectations.
In the UWP project the loagrithmic axis is stretched.
What did I miss?
Thanks in advance for your help.
Stephan
i have created two projects.
One Winforms and one Universal app with one chart each.
The following code is executed:
private Steema.TeeChart.Styles.Line GrndLineHorR;
private void button1_Click(object sender, EventArgs e)
{
TonChartR.Header.Visible = false;
TonChartR.Legend.Visible = false;
GrndLineHorR = new Steema.TeeChart.Styles.Line();
GrndLineHorR.Add(100, 0);
GrndLineHorR.Add(125, 0, "0.125");
GrndLineHorR.Add(250, 0, "0.25");
GrndLineHorR.Add(500, 0, "0.5");
GrndLineHorR.Add(750, 0, "0.75");
GrndLineHorR.Add(1000, 0, "1");
GrndLineHorR.Add(1500, 0, "1.5");
GrndLineHorR.Add(2000, 0, "2");
GrndLineHorR.Add(3000, 0, "3");
GrndLineHorR.Add(4000, 0, "4");
GrndLineHorR.Add(6000, 0, "6");
GrndLineHorR.Add(8000, 0, "8");
GrndLineHorR.HorizAxis = Steema.TeeChart.Styles.HorizontalAxis.Top;
GrndLineHorR.VertAxis = Steema.TeeChart.Styles.VerticalAxis.Left;
TonChartR.Series.Add(GrndLineHorR);
TonChartR.Axes.Top.Logarithmic = true;
}
I attached the pictures with the results.
The result with Winforms meets my expectations.
In the UWP project the loagrithmic axis is stretched.
What did I miss?
Thanks in advance for your help.
Stephan