Pre loader

How to show first and last major tick labels

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums

0
0

Is there a way to force to show first and last labels for major tick on X axis ?

  • You must to post comments
1
0

UPDATE JUNE 2014

As part of SciChart v3.0 all axis types now show labels at VisibleRange.Max and Min, so long as VisibleRange.Max, Min fall at ‘nice’ values, e.g. 1.0, 1.5, 2.0, 2.5 etc… By default the chart will choose these nice values when first showing or autoranging.

When you scroll however, the labels scroll too – you lose the labels at the edges of the axis. In this case you might want to use our new StaticAxis Feature, which fixes axis labels at fixed intervals and updates the label value instead.

  • You must to post comments
1
0

Update July 2016

See also this FAQ for a solution based on TickProvider which allows you to append start/end labels to the axis.

  • You must to post comments
0
0

Hi,

There is not any built-in way to do this, though we are working on it because this feature was requested several times by our customers. For now, you can use this workaround:

  1. Set XAxis.BorderThickness=”1,0,1,0″ (see how it will look in Drag axis to scale example)

  2. Put two TextBoxes on chart’s edges and bind them to XAxis.VisibleRange.Min,Max

Hope this helps!

Best regards,
Yuriy

  • mingfang
    It's a very common requirement,Is there any progress for this?
  • Yuriy Zadereckiy
    Hi there. It is implemented in SciChart 3.0. We are testing it and hopefully it will be out soon. Best regards, Yuriy
  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies