SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & 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 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.
Please login first to submit.