xExtents does not work in some cases
See original GitHub issueHey @rrag, we would love to have your opinion on a bug we are having.
I reproduced it on this branch https://github.com/rrag/react-stockcharts/tree/bugDomain, run npm run watch
and open http://localhost:8080/documentation.html#/line_scatter
You will see that:
note that the first point is 9.11am. the xExtents however start at 9am.
const minDate = new Date(1480579255864); // Thu Dec 01 2016 09:00:55 GMT+0100
const maxDate = new Date(1480580777028); // Thu Dec 01 2016 09:26:17 GMT+0100
xExtents={[minDate, maxDate]}
The points before 9.11am are displayed as you can see if you drag the chart:
We found it that using plotFull
props on ChartCanvas will work but is not performant when zooming.
Thanks for your help, it means a lot to us 😃
CC @dbrugne
Issue Analytics
- State:
- Created 7 years ago
- Comments:9 (9 by maintainers)
Top Results From Across the Web
React Stockcharts crashes when width and height are small
When i just inspect the page or on the smaller device screen, the error occuring : "Showing 0 datapoints, review the 'xExtents' prop...
Read more >rrag/react-stockcharts - Gitter
Padding is not working for me, because this area should be use for charts. ... I am using it, and when my new...
Read more >[vtkusers] vtkImageReslice and vtkImageResample, different ...
However, I don't think that this is why you are seeing problems with ... two code lines > reslice->SetOutputExtent(0,XExtent-1,0,YExtent-1,0 ...
Read more >Insufficient free space: X extents needed, but only Y available
The above command will ask the system to allocate all free space to the selected logical volume, without asking for a specific size....
Read more >Tile script (Mapnik) with OpenLayers - Problem with projection ...
I use Mapnik python bindings in a geodjango application to render tiles in openlayers with datasource stored in postGIS in 900913 projection.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@rrag I’m using this PR too. On chart below
pointsPerPxThreshold = 6
: …and about 7k points. It’s pretty extreme amount, but looks very nice. I believe we should use lower values with candles, but, anyway - @shprink big big thanks for this 👍@shprink It’s not a part of the chart… just html + css. For my purposes it is easier to customize for different chart types: