anoop chandran
anoop chandran

Reputation: 1490

How to add Custom GlyphSeries to LineSeries in visx XYChart?

I have implemented a Visx XYChart component with LineSeries. Codesandbox link here

Requirement:

  1. I need to display a Glyph to indicate the start and end of the individual LinePath, and only if the LinePath starts or ends in between the start or end of the x-axis. The x-axis plots weekly data for a year(52 weeks), if the data has less than 52 weeks of data points, then it means LinePath begins or ends somewhere in between the x-axis.

  2. I need the x-axis to display the January month name as well.

How do I approach to solve this problem?

Upvotes: 2

Views: 618

Answers (0)

Related Questions