2024-07-17
2205
#react
Chinwike Maduabuchi
59209
Jul 17, 2024 â‹… 7 min read

Using Chart.js in React

Chinwike Maduabuchi Software engineer who loves to write. Find me at https://www.chinwike.space/

Recent posts:

building UI sixty seconds shadcn framer ai

Building a UI in 60 seconds with Shadcn and Framer AI

Demand for faster UI development is skyrocketing. Explore how to use Shadcn and Framer AI to quickly create UI components.

Peter Aideloje
Jan 14, 2025 â‹… 6 min read
Server-Side Rendering With React Router V7

Server-side rendering with React Router v7

The recent merge of Remix and React Router in React Router v7 provides a full-stack framework for building modern SSR and SSG applications.

Amazing Enyichi Agu
Jan 13, 2025 â‹… 20 min read
debugging javascript web apps

How to master JavaScript debugging for web apps

With the right tools and strategies, JavaScript debugging can become much easier. Explore eight strategies for effective JavaScript debugging, including source maps and other techniques using Chrome DevTools.

Ivy Walobwa
Jan 9, 2025 â‹… 8 min read
A Deep Dive Into Angular’s FormArray Container

A deep dive into Angular’s FormArray container

This Angular guide demonstrates how to create a pseudo-spreadsheet application with reactive forms using the `FormArray` container.

Kayode Adeniyi
Jan 8, 2025 â‹… 3 min read
View all posts

2 Replies to "Using Chart.js in React"

  1. You forgot to add some lines of code. Because of that I got some erros.

    We need to register the category scale so in order to achieve that,
    you to have include some imports and they are

    import {CategoryScale} from ‘chart.js’;
    import Chart from ‘chart.js/auto’;

    and then in the our app component do like this
    Chart.register(CategoryScale);

Leave a Reply