SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, iOS Chart, Android Chart and JavaScript Chart Components

0
0

I have a line chart and need to implement textAlign: left property for tickLabel on yAxis. I have found some way to do it on the forum, but it does not work in my case:
xAxis.setAxisTickLabelStyle(new AxisTickLabelStyle(Gravity.CENTER, Layout.Alignment.ALIGN_CENTER, 5, 0, 5, 0));
I get the error:
Alignment cannot be converted to int
But according documentation https://www.scichart.com/documentation/android/current/SciChart.Charting~com.scichart.charting.visuals.axes.AxisTickLabelStyle~_ctor.html AxisTickLabelStyle class get 5 int arguments. Can you help me please how to solve it!

Version
3
Attachments
  • You must to post comments
0
0

Hi Alexander,

The AxisTickLabelStyle constructor with six parameters was added recently and for now, I believe, it’s available only via our Maven repository with the latest nightly build. May I ask what version of SciChart do you use? Is it possible that you don’t use latest version from Maven? Can you try to get latest version from Maven repository ( for now the latest version is 4.2.0.4625 ) and let me know if it helps?

Best regards,
Yura

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.