grafana/packages/grafana-schema
Zoltán Bedi e6d2324516
Time series/Bar chart panel: Add ability to sort series via legend (#40226)
* Make legend sorting work in Time series panel

* Import from schema

Add properties to the cue schema as well

* Order stacking

* Add tests for orderIdsByCalcs

* Add check for legend options

* Fix cue schema

* UI fixes

* Order bars as well in barchart

* Use different index when ordered

* Legend sort series doc

* Fix nits

* Update docs/sources/panels/legend-options.md

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>

* Fix linting

* Apply suggestions from code review

Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com>

* Update docs/sources/panels/legend-options.md

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com>
2021-10-25 11:21:51 +02:00
..
src Time series/Bar chart panel: Add ability to sort series via legend (#40226) 2021-10-25 11:21:51 +02:00
.eslintrc Schema: create a new schema package for basic models (#38409) 2021-08-23 13:03:41 -07:00
api-extractor.json Schema: create a new schema package for basic models (#38409) 2021-08-23 13:03:41 -07:00
CHANGELOG.md Schema: create a new schema package for basic models (#38409) 2021-08-23 13:03:41 -07:00
index.js Schema: create a new schema package for basic models (#38409) 2021-08-23 13:03:41 -07:00
LICENSE_APACHE2 Schema: create a new schema package for basic models (#38409) 2021-08-23 13:03:41 -07:00
package.json Update dependency @types/rollup-plugin-visualizer to v4 (#40484) 2021-10-20 15:40:54 +01:00
README.md Schema: create a new schema package for basic models (#38409) 2021-08-23 13:03:41 -07:00
rollup.config.ts Schema: create a new schema package for basic models (#38409) 2021-08-23 13:03:41 -07:00
tsconfig.build.json Schema: create a new schema package for basic models (#38409) 2021-08-23 13:03:41 -07:00
tsconfig.json Schema: create a new schema package for basic models (#38409) 2021-08-23 13:03:41 -07:00

Grafana Schema Library

@grafana/schema is currently in ALPHA.

This package holds the definitions for objects that should be stored in JSON configuration files