SyncfusionExamples / how-to-add-legends-to-the-syncfusion-react-charts

A quick-start react project that helps you to add legends to Syncfusion React Charts. This project also includes a code snippet to align the legends, customize the legends and their icon sizes, select a series on clicking the legends, and enable animations.

Home Page:https://www.syncfusion.com/react-ui-components

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to Add Legends to the Syncfusion React Charts

A quick-start react project that helps you to add legends to Syncfusion React Charts. This project also contains a code snippet to align the legends, customize the legends and their icon sizes, select a series on clicking the legends, and enable animations.

Documentation: https://ej2.syncfusion.com/react/documentation/chart/legend/

Online examples: https://ej2.syncfusion.com/react/demos/#/material/chart/default-doughnut

Project prerequisites

Make sure that you have the latest versions of NodeJS and Visual Studio Code in your machine before starting to work on this project.

How to run this application?

To run this application, you need to clone the how-to-add-legends-to-the-syncfusion-react-charts repository and then open it in Visual Studio Code. Now, simply install all the necessary react packages into your current project using the npm install command and run your project using the npm start command.

About

A quick-start react project that helps you to add legends to Syncfusion React Charts. This project also includes a code snippet to align the legends, customize the legends and their icon sizes, select a series on clicking the legends, and enable animations.

https://www.syncfusion.com/react-ui-components


Languages

Language:TypeScript 51.8%Language:HTML 30.3%Language:JavaScript 10.3%Language:CSS 7.5%