on 03-21-2017 2:34 PM
Hello,
i am using a VizFrame line chart to display a rather big amount of data. Because the performance gets bad when zooming out too much, I would like to know if there is a way to find out how many data points are currently visible. So that i could say something like: "current visible data points > 1000 means zooming out is blocked". The user would be then only able to scroll to left or right.
I know this is not perfect but in my case it would still be better than just decreasing the total amount of data points.
Best Regards,
Henrik
This could be done like:
jQuery('.v-datapoint').length
You probably want to narrow down a bit more before using the above like:
jQuery('#' + this.getView().byId('vizFrameID').getId()).find(jQuery('.v-datapoint'))
This is how we access and validate the data points in our OPA5 tests.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
How about using Time Axis for huge datasets.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.