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

0
0

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.

Version
5.1.0.11243
  • You must to post comments
0
0

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.