kibana/src/plugins/chart_expressions/expression_pie/common/constants.ts
Yaroslav Kuznietsov 6046f4633b
[PieVis] Chart expressions pie. (#121612)
* Moved pie_vis to the other.

* Removed not used types.

* Changed docs.

* Fixed labels.

* Fixed more translation labels.

* Changed types of buildExpressionFunction.

* Added limits and extraPublicDir.

* Fixed i18n checks.

* Fixed translations checks.

* Added codeowners to expression_pie.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-01-04 18:01:04 +02:00

16 lines
637 B
TypeScript

/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except
* in compliance with, at your election, the Elastic License 2.0 or the Server
* Side Public License, v 1.
*/
export const PLUGIN_ID = 'expressionPie';
export const PLUGIN_NAME = 'expressionPie';
export const PIE_VIS_EXPRESSION_NAME = 'pie_vis';
export const PIE_LABELS_VALUE = 'pie_labels_value';
export const PIE_LABELS_FUNCTION = 'pie_labels';
export const DEFAULT_PERCENT_DECIMALS = 2;