grafana/public/app/plugins/panel/bargauge
Marcus Andersson 7f92f1df00
Schema: Refactor plugin code generation (#58901)
* wip

* wip

* almost there..

* wip - change so it can run.

* treelist is working.

* support CODEGEN_VERIFY env variable

* use log.fatal

* comment out old PluginTreeList code generation

* cleanup

* rename corelist package files

* fix makefile

* move pkg/codegen/pluggen.go to pkg/plugins/codegen

* copy and refactor files to pkg/plugins/codegen

* use pkg/plugins/codegen instead of pkg/codegen for core plugins code gen

* remove unneeded files

* remove unused code to resolve linting errors

* adapters first hack

* added flattener

* add back ignore build tags to go generate file

* cleaned up the code a bit.

* seems to work, needs to do some refactoring of the GoTypesJenns and TSTypesJenny.

* one more step, going to get upstream changes in this branch.

* working but need to run import tmpl in jenny_schemapath to have the proper imports.

* added header to generated files.

* added missing jenny.

* preventing plugins with multiple decls/schemas to insert multiple lines in corelist.

* fixed so we use Slot type from kindsys to detect if its group.

* adding a go jenny that only runs if the plugin has a backend.

* added version object to generated ts.

* generating the ts types with the same output as prior to this refactoring.

* removed code that is replaced by the jenny pattern.

* removed the go code that isn't used anymore.

* removed some more unused code and renamed pluggen to util_ts

* fixed linting issue.

* removed unused vars.

* use a jenny list postprocessor for header injection

* moved decl and decl_parser to pfs.

* removed the pre-pended header in the gotypes jenny since it is done in the postprocess.

* moved decl to pfs.

* removed unused template.

Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
2022-12-02 08:22:28 +01:00
..
img Panels: Update panel logos (#23964) 2020-04-27 22:08:43 +02:00
BarGaugeMigrations.test.ts Update jest monorepo to v29 (#58261) 2022-11-24 14:00:41 +00:00
BarGaugeMigrations.ts Cue: Use BarGauge, DashList and Gauge panel cue schemas (#49580) 2022-05-25 14:18:21 +01:00
BarGaugePanel.test.tsx Plugins: Convert BarGaugePanel to RTL (#52423) 2022-07-19 14:17:22 +02:00
BarGaugePanel.tsx Chore: more any/type assertion improvements (#59229) 2022-11-23 16:54:57 +00:00
models.cue plugins: New static scanner and validator, with Thema slot support (#53754) 2022-08-22 12:11:45 -04:00
models.gen.ts Schema: Refactor plugin code generation (#58901) 2022-12-02 08:22:28 +01:00
module.tsx Cue: Use BarGauge, DashList and Gauge panel cue schemas (#49580) 2022-05-25 14:18:21 +01:00
plugin.json TimeSeries: Make timeseries the default panel and remove beta state (#33639) 2021-05-05 13:19:14 +02:00
README.md Example fixes for #40173 (#40175) 2021-10-12 15:45:30 -04:00
suggestions.ts Cue: Use BarGauge, DashList and Gauge panel cue schemas (#49580) 2022-05-25 14:18:21 +01:00

Bar gauge

The bar gauge simplifies your data by reducing every field to a single value. You choose how Grafana calculates the reduction.

This panel can show one or more bar gauges depending on how many series, rows, or columns your query returns.

This Bar chart is included with Grafana.

Read more about it here:

https://grafana.com/docs/grafana/latest/visualizations/bar-gauge-panel/