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 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.


Hi, guys

My x axis is SCICategoryDateTimeAxis and i’m want to draw grid line with custom period. Let’s say every four hours for data with a period of thirty minutes. What is the best way for that?

Can i redifined axis’s tickCoordinatesProvider?
Can you provide some example?
Or it only possible with axes annotations ?

Best regards,
Sushynski Andrei

  • You must to post comments

Hi, Andrei

You should set autoTicks into false and set major delta. Major delta is a difference beetween two major grid lines. But in category axis it’s value should be set in indecies. For example your data has new value every one minute so you should set major delta into 30, and then you have period between two grid lines 30 minutes.

sciChartView1.xAxes.item(at: 0).axisId = “xID”
sciChartView1.xAxes.item(at: 0).autoTicks = false
sciChartView1.xAxes.item(at: 0).majorDelta = SCIGeneric(30)

Best Regards, Mykola

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.