esnet / esnet/react-timeseries-charts

Add prop to style the date in 'infoTime' in eventMarker

Open
#342 7 comments 0 reactions 1 assignee Claimed by @Rossidges View on GitHub
:sparkles: enhancement
Dominant language
JavaScript
Stars
876
Forks
279
PR merge metrics
No merged PRs in 30d

Description

Firstly, brilliant library - thank you.

As far as i can tell you cannot change the style on this element of the EventMarker.
It would be good if you could override this style as you can with `markerStyle` or `infoStyle` props.

It can sometimes be difficult to see the date on a busy chart.

I had a look at the code and added an extra prop - `infoTimeStyle` to override the default if present.
If this is something you would be interesting in adding let me know and i can submit a pull request.

Thanks

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.