You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, yesterday i asked about some functionality described in #9396, response is fine and in theory it is what i need.
When i tried this segment solution i cannot make it work. I am using combination of time scale and data is in object form with props x,y where x is parsed from string. I tried to simulate it and my conclusion is that it realy doesnt work or there is somethink what i missed.
In the demo linked below, you can see two charts, where first one is with time x-scale and second with normal. Both have almost same config and as you can see in the first one it doesn't work. For both charts is segment function called, but only one respect it.
Yea i think that segment should be every line between two points to allow customziations just like that i asked in #9396.
For now i dont know how to solve that issue, because my chart contains a lot of points, BE change is a lot of work (FE calculations, backward compatibility of cache, custom plugins update, etc.) and FE adjust of datasets is too much performance loss.
NaN for me means data loss in that point, not a segment change to allow customization :(
It sounds like this would be solved by exposing the index of each point as #8985 requested. That way, the style functions could know where they are in the line.
Hi, yesterday i asked about some functionality described in #9396, response is fine and in theory it is what i need.
When i tried this segment solution i cannot make it work. I am using combination of time scale and data is in object form with props x,y where x is parsed from string. I tried to simulate it and my conclusion is that it realy doesnt work or there is somethink what i missed.
In the demo linked below, you can see two charts, where first one is with time x-scale and second with normal. Both have almost same config and as you can see in the first one it doesn't work. For both charts is segment function called, but only one respect it.
Demo: https://codepen.io/jBeater/pen/GRmoaYz
Browser: Chrome
ChartJS: 4.3.1
The text was updated successfully, but these errors were encountered: