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


I want to highlight every start of hour, day, week in different colors.
I think I need to make style for DefaultTickLabel, using Style.Triggers and DefaultTickLabelViewModel. But I don’t know how to do it.
If DefaultTickLabelViewModel would have a DateTime property then it would be easier. But now I have no idea how to do this.

  • You must to post comments

Hi there,

You can try to use LabelProvider property on your axis. For it you should create custom LabelProvider by implementing ILabelProvider interface. There you can find UpdateDataContext method where you can change datacontext of each label by it value.

Best regards,
Taras B.
SciChart Developer

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.

SciChart WPF v6 BETA released! Note pricing/licensing changes are coming. Contact us to beat the rise!Read more