项目作者: SyncfusionExamples

项目描述 :
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.
高级语言: TypeScript
项目地址: git://github.com/SyncfusionExamples/how-to-add-legends-to-the-syncfusion-react-charts.git


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.