esnet / esnet/react-timeseries-charts

Change EventMarker Label style

Open
#374 6 comments 0 reactions 0 assignees View on GitHub
:sparkles: enhancement
Dominant language
JavaScript
Stars
876
Forks
279
PR merge metrics
No merged PRs in 30d

Description

Hello.

markerLabelStyle does not seem to work at all for when the type of the EventMarker is "flag". (it works ok when it's a point)

What I am trying to do is change the color of the label, but it stays grey.

My code:

```
> not working
stemStyle={{ stroke:"black" }}
markerStyle={{ fill: "black" }}
infoStyle={{ fill: "white", stroke:"black" }}
/>
```

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.