Home forums Feature Requests & Feedback Smoothen lines when zoomed out

This topic contains 3 replies, has 3 voices, and was last updated by  toplu sms 3 months, 3 weeks ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #14197

    gregoff
    Member

    Hi,

    First of all… GREAT product you have going!

    I have one small feature request though. In my use case, it would be really nice if it was possible to have a adaptive resolution flag. What I mean in practice is that I would be able to load high-resolution data in my background ajax call (lets say the resolution is one datapoint every minute), but when showing the graph fully zoomed out, this can get a bit “crowdy” when the line is rendered. However, when showing the same data but an area zoomed in, you might want the full resolution data (without the need of an additional ajax-call).

    This way, you can have lets say 5 minute resolution data (averages from the high-resolution data) when zoomed out, but higher resolution when zoomed in.

    #14264

    Bivek Singh
    Moderator

    Hi @gregoff

    Thank you for your feedback. If I understood your requirements correctly, you can do that with a few lines of code. Here is a jsFiddle for same.

    In case you are looking for something else, could you please send us a pictorial representation of the requirements so that we can understand it properly and assist you accordingly.
    ——
    Bivek Singh

    #14287

    gregoff
    Member

    Well sort of… if i understand your code correct, it simply hides some staples when its zoomed out?

    What i want to achieve is for my code to draw averages in a line chart when zoomed out, but show the fine data when zoomed in.

    #14486

    toplu sms
    Member

    Say @gregoff, I agree with you. Very good detection

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.