score:1
the reason yours doesnt look smooth and the one on the chart.js docs site does is that they use 1000 datapoints for their chart. so the transition from one point to next is not smooth but is perceived as smooth since the jump is verry small.
since you only have 4 datapoints the jumps are verry noticable and thus does not look smooth.
so if you want it to looks smooth you will need to add a lot more datapoints in between your current datapoints
Source: stackoverflow.com
Related Query
- How do you make a progressive line chart with time as the X axis?
- How to use chart.js to plot line chart with x axis as time stamp in seconds
- How to hide the y axis and x axis line and label in my bar chart for chart.js
- How to start the line graph from the left Y axis in a line/bar mixed chart (Chart.js)?
- chart.js: How do I make the radar chart axis labels bigger?
- how can i use chart.js to create a chart that has one time series line and one linear line on it at the same time?
- Chart.js - how to make proportional intervals on X axis on line chart
- How to reduce the number of points shown on line chartjs chart with a large dataset?
- Chart with Time axis only displaying first grid line and tick label (unitStepSize)
- How do you set x and y axis and Title for a line chart using charts.js?
- How to show tick marks and labels with grid line for the specific one on the X axis with Chart.js?
- hereChartJS Line Chart with Time Axis
- How to configure chart.js line chart with very low minimum height, and only 0 and 1 (no decimals) as ticks on the y-axis
- How to make dynamic chart with the next view? What libraries allows to customise exactly this like in my design?
- How to make chart which has both positive and negative value, starts with 0 - x axis
- How can I create a horizontal scrolling Chart.js line chart with a locked y axis?
- How to prevent first/last bars from being cut off in a chart with time scale
- How do you hide the title of a chart tooltip?
- Chartjs 2 - Stacked bar and unstacked line on same chart with same y axis
- How to display Line Chart dataset point labels with Chart.js?
- How do I draw a vertical line on a horizontal bar chart with ChartJS?
- Show X axis on top and bottom in line chart rendered with Chart.js 2.4.0
- Chart.js Dynamically Updating Chart with X Axis Time
- How do I change the 'months' language displayed on the date axis in Chart JS?
- Obtain max value of y axis of line chart rendered with Chart.js
- Line chart with large number of labels on X axis
- How to align Chart.JS line chart labels to the center
- How can I remove extra whitespace from the bottom of a line chart in chart.js?
- how to programmatically make a line chart point active/highlighted
- How can I trigger the hover mode from outside the chart with charts.js 2?
More Query from same tag
- chart js how do I only show just the low/high dots on line chart?
- How to iterate over array elements inside objects in javascript
- How to replace the data array of my ChartJS
- Chartjs React Typescript moving x axis labels above chart
- Facing difficulty in opening a dialog from onClick event on a pie chart in angular 8 (using chart.js)
- Error says Chart is not defined
- data representation using charts
- ChartJs Doughnut parsing datasets
- How can I change only a specific option in a chart with chart.js?
- How to change HTML style in ChartOption with if condition?
- Moving point to clicked point in ChartJS (radarchart)
- Chart.js - Font only renders after you reload the canvas
- Unwanted line chart ''shadow" using chart.js
- creating a dynamic number of charts using chart.js using angular
- Django + Chart.js Am I Doing This Right? Nothing is being rendered
- Is there any way to change the font color and size of labels in Chartjs 3.0.0
- How to destroy a canvas using Id and add new canvas to the same id
- Chart.js add direction arrows to the X and Y axes
- Chartjs fiddle not working
- Add a text as tooltip for each point on a line chart
- ng-chart.js - First data set always has color gray
- chart.js display even intervals between two dates and adding label to y axes
- Change chart.js options based on window width
- canvas fill text vanishes when hovering over chartjs pie chart
- Chart.js - Horizontal line on Bar chart interferes with tooltip
- How to push an array into an Object which is inside of another array?
- ChartJS ticks values are not correct
- Is it possible to have tick stepSize for each dataset in Chart.js?
- How to set 3 axis in google chart (V-Axis Left as Qty, V-Axis Right as Series Column and H-Axis as TimeOrder)?
- How to export Chart.js chart using toBase64Image, but with no transparency?