react-charts icon indicating copy to clipboard operation
react-charts copied to clipboard

How to fill the gaps between line points when value is null

Open AWIXOR-zz opened this issue 3 years ago • 1 comments

I am getting these charts when having a value equals null, I want something similar to spanGaps that exists on chartjs https://www.chartjs.org/docs/latest/charts/line.html#line-styling.

So instead of breaking the lines, I want lines to be drawn between points with no or null data

image

AWIXOR-zz avatar Oct 11 '22 12:10 AWIXOR-zz

Have you tried undefined?

Tanner Linsley Sent with Spark On Oct 11, 2022 at 6:15 AM -0600, EL HOUCINE AOUASSAR @.***>, wrote:

I am getting these charts when having a value equals null, I want something similar to spanGaps that exists on chartjs https://www.chartjs.org/docs/latest/charts/line.html#line-styling. So instead of breaking the lines, I want lines to be drawn between points with no or null data — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

tannerlinsley avatar Oct 11 '22 18:10 tannerlinsley