Skip to content

view point-to-point comparisons and summery stat(total, min, max, and AVG) from the current point to the end. Codesandbox :- https://codesandbox.io/s/late-platform-5qkrq9

Notifications You must be signed in to change notification settings

shaogatalam/chartjs-linechart-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

ChartJs-linechart-plugin

When hovering over a data point, view point-to-point comparisons from the current point to the end.

The comparison value will be shown bellow each point's label on the x axis.

The tooltip shows the point's value and a summary of total, min, max, and AVG values from the current point to the end.

A vertical line indicator is included at the selected point for visual reference.

Important note

You need to add an unique id for each dataset and add the original labels value inside the dataset,

labels: labels,
datasets: [
        {
          id:1***,
          labels: labels***,
          label: 'New-Customer',
          data: new_data,
        },

]
Screenshot 2023-11-09 at 12 28 15 PM

About

view point-to-point comparisons and summery stat(total, min, max, and AVG) from the current point to the end. Codesandbox :- https://codesandbox.io/s/late-platform-5qkrq9

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published