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 Stackoverflow.com where you can earn rep for your questions!

Please note: SciChart team will only answer questions from customers with active support subscriptions. Expired support questions will be ignored. If your support status shows incorrectly, contact us and we will be glad to help.

1
0

I’m reworking existing functionality to use SciChart. I need the resulting graph to look identical to original solution (or as close as possible).

In the screenshot you can see where I got so far (top) compared to the old solution (bottom). I got stuck trying to make the labels work.

I implemented a custom label provider as described here https://www.scichart.com/screenshots-xps-printing-x-axis-text-labels/ (I basically just took the CustomLabelProviderClass from there) I use the same list of labels as the old solution. What you see is as far as I got, using the following axis properties:

VisibleRange=”0,115″
DrawMajorGridLines=”False”
DrawMinorGridLines=”False”
LabelProvider =”{Binding LabelProvider}”
TickLabelStyle=”{StaticResource AxisLabelStyle}”
AutoTicks=”False”
MajorDelta=”0.5″
MinorsPerMajor=”1″
MinorDelta=”0.5″

The old graph does actually skip some of the values as well (about every other, unless I zoom in) but it still displays them with about double the density of the SciChart. Is there a way to make SciChart behave the same?

Also, I applied rotation transform on the labels to get them vertical. As you can see, now they stick into the graph. Is there a way to move them down a bit?

Images
  • You must to post comments
0
0

Hi there,

This has been answered on Stackoverflow!

http://stackoverflow.com/questions/36669145/scichart-showing-labels-for-all-ticks

Thanks for your question,

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.