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

Welcome to the SciChart Community Forums!

Please use the forums below to ask questions about SciChart. Take a moment to read our Question asking guidelines on how to ask a good question and our support policy

We also have a tag=SciChart on where you can earn rep for your questions!



Please take a look at the attached screenshot first.

I have a chart configured to draw some data. I need to draw SCIAxisMarkerAnnotation on Y axis. And it seems that annotation has alignment by right side of axis area. Is there a possibility to change it to left side of axis area?

  • You must to post comments

Good day

We don’t have option for axis marker layout. I will create a task for adding this.
If you have fixed axis width you can use following workaround:

float yAxisWidth = 150;
float axisMarkerWidth = 50;

[ setRightAxisAreaSize:yAxisWidth];
SCIAxisMarkerAnnotation * marker = [[SCIAxisMarkerAnnotation alloc] init];
marker.yAxisId = @"yAxis"; = ^(UITextField * view) {
    CGRect frame = view.frame;
    frame.size.width = axisMarkerWidth;
    float offset = yAxisWidth*0.5 - axisMarkerWidth*0.5;
    frame.origin.x = frame.origin.x - offset;
    view.frame = frame;
_surface.annotation = marker; // _surface is SCIChartSurface

Best regards
SciChart iOS Developer

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.