Unclaimed Package Is this your package? Claim it to unlock full analytics and manage your listing.
Claim This Package

Install via UPM

Add to Unity Package Manager using this URL

https://www.pkglnk.dev/editordatachart.git

README Markdown

Copy this to your project's README.md

Style
Preview
pkglnk installs badge
## Installation

Add **Editor Data Chart!** to your Unity project via Package Manager:

1. Open **Window > Package Manager**
2. Click **+** > **Add package from git URL**
3. Enter:
```
https://www.pkglnk.dev/editordatachart.git
```

[![pkglnk](https://www.pkglnk.dev/badge/editordatachart.svg?style=pkglnk)](https://www.pkglnk.dev/pkg/editordatachart)

README

Unity Editor Data Chart Tool

Draw data chart in Unity Editor.

Example

中文

Supported Unity Version

Unity 2021.3 and later.

Installation

openupm

Install this package via OpenUPM .

API

  • class LineChart2DWindow
    • static void Open(string title): Open data chart window.
    • void SetColor(string category, Color color): Set the color of the category.
    • void AddData(string category, Vector2 data): Add data to category.
    • bool RemoveData(string category, int index): Remove data from category.
    • bool ClearData(string category): Clear data of category(will remove category).
    • void ClearAllData(): Clear all categories(will remove all categories).
    • int FindDataIndex(string category, Predicate match): Find the index of the data in category.
    • int FindDataLastIndex(string category, Predicate match): Find the last index of the data in category.
    • void SetChartScale(float xValueLength, float yMinValue, float yMaxValue): Set visible value range of the chart.
    • void RemoveChartScale(): Remove visible value range of the chart.

Comments

No comments yet. Be the first!