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.
- Denis Denis asked 6 years ago
-
Anybody here? Is it possible?
- You must login 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
- Taras Bulka answered 6 years ago
- You must login to post comments
Please login first to submit.