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.

0
0

Hi,

I’m trying to achieve the looks of DateTimeCategory XAxis as shown on uploaded screenshot.

Formatting a single row of tick labels is not a hard task (setTextFormatting). The problem arises when there are 2 rows with same frequency (days of the week and dates) and third row with lower frequency (years).

I tried using new line character in text formatting property to break the line for days and dates and it didn’t work. I also tried having two axes bound to the same data series, each one having different formatting and majorDelta, but it seems that they don’t stack up (only first one added is shown).

Any ideas?

Version
1.2.4
Images
  • You must to post comments
0
0

Hi, Igor Peric

I’ve fixed the problem with text formatting and it should work with new line character too.
The fix you can find in new build here http://www.scichart.com/Downloads/iOS/v1.2/SciChart_iOS_v1.2.4.1294_SDK.zip

Best Regards, Mykola

  • Igor Peric
    Thanks, Mykola, that’s really great! How about placing the year information spanning multiple day/month labels? Do you have any suggestion how to do that or are you perhaps aware that it’s currently not possible?
  • You must to post comments
0
0

Mykola, I believe your fix broke some other functionalities related to axis labels. If range is being reconfigured on the fly (by changing the underlying dataset or by panning and zooming) labels get broken down into multiple rows. It can be clearly seen in the screenshot of column chart demo I attached – I was just zooming the chart in and out couple of times.

It feels like maximum allowed label width is not computed properly when AutoTicks are turned on, but I might be wrong.

Images
  • Igor Peric
    It is clearly visible in almost all of the examples, but I encourage you to take a look at the “Adding series with millions of points” demo – tick labels are broken down to one character per line even after a single button tap.
  • You must to post comments
0
0

Hi, Igor Peric

I’ve found what was the problem and fixed it.
In new version
http://www.scichart.com/Downloads/iOS/v1.2/SciChart_iOS_v1.2.4.1295_SDK.zip

Best Regards, Mykola

Images
  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.