-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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 <[email protected]>
- Loading branch information
1 parent
96a4cd1
commit 6046f46
Showing
62 changed files
with
672 additions
and
330 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -119,3 +119,4 @@ pageLoadAssetSize: | |
visTypeHeatmap: 25340 | ||
screenshotting: 17017 | ||
expressionGauge: 25000 | ||
expressionPie: 26338 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# expressionPie | ||
|
||
Expression Pie plugin adds a `pie` renderer and function to the expression plugin. The renderer will display the `Pie` chart. | ||
|
||
--- | ||
|
||
## Development | ||
|
||
See the [kibana contributing guide](https://github.com/elastic/kibana/blob/main/CONTRIBUTING.md) for instructions setting up your development environment. |
16 changes: 16 additions & 0 deletions
16
src/plugins/chart_expressions/expression_pie/common/constants.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/* | ||
* 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; |
File renamed without changes.
10 changes: 10 additions & 0 deletions
10
src/plugins/chart_expressions/expression_pie/common/expression_functions/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
/* | ||
* 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 { pieVisFunction } from './pie_vis_function'; | ||
export { pieLabelsFunction } from './pie_labels_function'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.