BEMSimpleLineGraph icon indicating copy to clipboard operation
BEMSimpleLineGraph copied to clipboard

Graph not showing values for large data set

Open Venkata-Maniteja opened this issue 9 years ago • 3 comments

When I load the graph with 1800 values , The graph loads properly but when I swipe the graph, the graph shows the values upto some instant, and after the point the graph is not showing any values.

simulator screen shot nov 13 2016 2 19 36 pm simulator screen shot nov 13 2016 2 19 38 pm simulator screen shot nov 13 2016 2 19 40 pm simulator screen shot nov 13 2016 2 19 42 pm simulator screen shot nov 13 2016 2 19 43 pm simulator screen shot nov 13 2016 2 19 44 pm

As you can see, the graph is not showing the values after 7466 even though I swipe the graph to the very end.

When I debug, the last index the graph is able to show is 899, but my array has 1825 values.

Venkata-Maniteja avatar Nov 13 '16 19:11 Venkata-Maniteja

Please see issues #109 and #272. Although the strategy the graph uses to draw points by using tags is likely not efficient or reliable, it also limits the graph to 900 points.

Is there any reason you need 1825 data points? Or can you reformat your data structure to use fewer? I'm curious what type of information you're displaying that requires so many points to be displayed to the user at the same time.

EDIT: Marked as duplicate of #272.

Sam-Spencer avatar Feb 02 '17 16:02 Sam-Spencer

I'm trying to display the stock information for 5 years. Which is 5 * 365!

2017-02-02 11:28 GMT-05:00 Samuel Spencer [email protected]:

[image: Boxbe] https://www.boxbe.com/overview Samuel Spencer ( [email protected]) is not on your Guest List https://www.boxbe.com/approved-list?tc_serial=28709820442&tc_rand=355622508&utm_source=stf&utm_medium=email&utm_campaign=ANNO_MWTP&utm_content=001&key=xgAWFb%2FPnHChtTBGvTxrkSklNH9oefpwgdqbpzRfh2Y%3D&token=H8C0A75%2FKcyBzZ1JdK1FVQVoWqCtdNV2IFVuTnsdJmCO%2BOizjXvLQbriEo4qAw7D | Approve sender https://www.boxbe.com/anno?tc_serial=28709820442&tc_rand=355622508&utm_source=stf&utm_medium=email&utm_campaign=ANNO_MWTP&utm_content=001&key=xgAWFb%2FPnHChtTBGvTxrkSklNH9oefpwgdqbpzRfh2Y%3D&token=H8C0A75%2FKcyBzZ1JdK1FVQVoWqCtdNV2IFVuTnsdJmCO%2BOizjXvLQbriEo4qAw7D | Approve domain https://www.boxbe.com/anno?tc_serial=28709820442&tc_rand=355622508&utm_source=stf&utm_medium=email&utm_campaign=ANNO_MWTP&utm_content=001&dom&key=xgAWFb%2FPnHChtTBGvTxrkSklNH9oefpwgdqbpzRfh2Y%3D&token=H8C0A75%2FKcyBzZ1JdK1FVQVoWqCtdNV2IFVuTnsdJmCO%2BOizjXvLQbriEo4qAw7D

Please see issues #109 https://github.com/Boris-Em/BEMSimpleLineGraph/issues/109 and #272 https://github.com/Boris-Em/BEMSimpleLineGraph/issues/272. Although the strategy the graph uses to draw points by using tags is likely not efficient or reliable, it also limits the graph to 900 points.

Is there any reason you need 1825 data points? Or can you reformat your data structure to use fewer? I'm curious what type of information you're displaying that requires so many points to be displayed to the user at the same time.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Boris-Em/BEMSimpleLineGraph/issues/286#issuecomment-277006682, or mute the thread https://github.com/notifications/unsubscribe-auth/AGUIS5lKR2ySugw-YR6eV2vRpypElArhks5rYgQdgaJpZM4KwxjG .

-- Regards, Venkata Maniteja Nandamuri.

Venkata-Maniteja avatar Feb 02 '17 17:02 Venkata-Maniteja

Got it! The feature branch fixes this issue and more. It will likely be merged into master today.

Sam-Spencer avatar Feb 02 '17 17:02 Sam-Spencer