TeeChart 标签,当屏幕密度 > 1 时,错误定位在 Android 上的 Y 轴上
TeeChart Label, when screen density > 1, wrong positioned on Y-Axis on Android
TeeChart 标签,当屏幕密度 > 1 时,在 Android 上的 Y 轴上定位错误
随着密度的增加,情况变得更糟。
"funny" 是我无法摆脱 3D 模型的 "displacement" 或 "depth"。
同样的代码放在iphone上没有问题。
不知何故,Aspect.View3D = false 在 android 上的作用与在 iphone 上的作用不同。
我正在使用 Styles.Area()
我的问题的小sshttp://i.imgur.com/cYFSm8c.jpg
编辑:图表代码
using System;
using Android.App;
using Android.Content;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Android.OS;
using System.Drawing;
namespace App2
{
[Activity(Label = "App2", MainLauncher = true, Icon = "@drawable/icon")]
public class MainActivity : Activity
{
protected override void OnCreate(Bundle bundle)
{
base.OnCreate(bundle);
Steema.TeeChart.TChart tChart1 = new Steema.TeeChart.TChart(this);
Steema.TeeChart.Styles.Area area = new Steema.TeeChart.Styles.Area();
tChart1.Series.Add(area);
tChart1.Aspect.View3D = false;
tChart1.Axes.Left.Visible = true;
tChart1.Axes.Left.AutomaticMaximum = false;
tChart1.Axes.Left.AutomaticMinimum = false;
tChart1.Axes.Left.Maximum = 140;
tChart1.Axes.Left.Minimum = 20;
tChart1.Axes.Left.Labels.Items.Add(40, " 40");
tChart1.Axes.Left.Labels.Items.Add(60, " 60");
tChart1.Axes.Left.Labels.Items.Add(80, " 80");
tChart1.Axes.Left.Labels.Items.Add(100, "100");
tChart1.Axes.Left.Labels.Items.Add(120, "[dB]");
SetContentView(tChart1);
}
}
}
我觉得这像是一个错误。我已将其添加到 Steema Software's bug tracking system (Bug #1128). It has already been fixed. If you are interested I can provide with test assembly with the fix. An evaluation version can be downloaded here。
TeeChart 标签,当屏幕密度 > 1 时,在 Android 上的 Y 轴上定位错误 随着密度的增加,情况变得更糟。
"funny" 是我无法摆脱 3D 模型的 "displacement" 或 "depth"。
同样的代码放在iphone上没有问题。
不知何故,Aspect.View3D = false 在 android 上的作用与在 iphone 上的作用不同。
我正在使用 Styles.Area()
我的问题的小sshttp://i.imgur.com/cYFSm8c.jpg
编辑:图表代码
using System;
using Android.App;
using Android.Content;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Android.OS;
using System.Drawing;
namespace App2
{
[Activity(Label = "App2", MainLauncher = true, Icon = "@drawable/icon")]
public class MainActivity : Activity
{
protected override void OnCreate(Bundle bundle)
{
base.OnCreate(bundle);
Steema.TeeChart.TChart tChart1 = new Steema.TeeChart.TChart(this);
Steema.TeeChart.Styles.Area area = new Steema.TeeChart.Styles.Area();
tChart1.Series.Add(area);
tChart1.Aspect.View3D = false;
tChart1.Axes.Left.Visible = true;
tChart1.Axes.Left.AutomaticMaximum = false;
tChart1.Axes.Left.AutomaticMinimum = false;
tChart1.Axes.Left.Maximum = 140;
tChart1.Axes.Left.Minimum = 20;
tChart1.Axes.Left.Labels.Items.Add(40, " 40");
tChart1.Axes.Left.Labels.Items.Add(60, " 60");
tChart1.Axes.Left.Labels.Items.Add(80, " 80");
tChart1.Axes.Left.Labels.Items.Add(100, "100");
tChart1.Axes.Left.Labels.Items.Add(120, "[dB]");
SetContentView(tChart1);
}
}
}
我觉得这像是一个错误。我已将其添加到 Steema Software's bug tracking system (Bug #1128). It has already been fixed. If you are interested I can provide with test assembly with the fix. An evaluation version can be downloaded here。