Installation and Quick Start
Requirements
- Unity 2022.3 or newer. In Player Settings, set Active Input Handling to Input System Package (New).
- Input System 1.19.0 or a compatible newer version, Burst 1.8.0 or newer, Collections 1.2.4 or newer, Mathematics 1.2.0 or newer, Newtonsoft JSON 3.2.2, and TextMeshPro 3.0.9 or newer. These are declared in the package manifest.
- A Canvas is recommended for the most common runtime UI path. UI Toolkit is also supported through ChartGuruElement.
Install the Package
- Import Chart Guru from the Unity Asset Store.
- Let Unity resolve the dependencies declared in package.json.
- Open Tools > Chart Guru > 2D Gallery or 3D Gallery to confirm the package is installed and browse chart templates.
- Use GameObject > UI > Chart Guru > Bar Chart to create a Canvas chart with the required scene objects, or GameObject > Chart Guru > 3D > Bar Chart for a chart in the game world.
Fastest First Chart
- Create a Canvas and add an empty child GameObject.
- Add Chart Guru > Chart Graphic to the child GameObject.
- In the chart Inspector, open Data and choose Add Data Source > Mock. The source is added to the chart's GameObject.
- Select the Mock Chart Data Source, choose a Shape and Pattern, set Series Count and Points Per Series where applicable, and click Generate.
- On ChartGraphic, choose Chart Type and Theme in the header, then use the Data, Marks, Axes, Labels, Style, Behavior and Output tabs. The chart updates in Edit Mode and Play Mode.