<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>chartjs on Curtis Timson</title><link>https://hugo.curtiscode.dev/tags/chartjs/</link><description>Recent content in chartjs on Curtis Timson</description><generator>Hugo -- gohugo.io</generator><language>en-GB</language><lastBuildDate>Fri, 11 Feb 2022 00:00:00 +0000</lastBuildDate><atom:link href="https://hugo.curtiscode.dev/tags/chartjs/index.xml" rel="self" type="application/rss+xml"/><item><title>Filtering duplicate data points on Chart.js</title><link>https://hugo.curtiscode.dev/post/js/chartjs-filtering-duplicate-data/</link><pubDate>Fri, 11 Feb 2022 00:00:00 +0000</pubDate><guid>https://hugo.curtiscode.dev/post/js/chartjs-filtering-duplicate-data/</guid><description>With large data sets, Chart.js data points can start to look cluttered and impact performance. This article looks at how these could be filtered.
What is Chart.js? Chart.js is an open-source library which provides simple and flexible Javascript charting.
There is also an npm package, react-chartjs-2, which provides Chart.js as React components.
Duplicate data points When using a line chart with a lot of data and unchanging values on the y-axis, there can be a lot of overlapping data points, which aren&amp;rsquo;t providing much value to the user:</description></item></channel></rss>