Skip to content

Commit

Permalink
Added deprecation for visualization:colorMapping
Browse files Browse the repository at this point in the history
  • Loading branch information
VladLasitsa committed Nov 13, 2020
1 parent 4dd25fa commit 86806fa
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/management/advanced-options.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -454,6 +454,7 @@ of buckets to try to represent.

[horizontal]
[[visualization-colormapping]]`visualization:colorMapping`::
**Deprecated**
Maps values to specified colors in visualizations.

[[visualization-dimmingopacity]]`visualization:dimmingOpacity`::
Expand Down
9 changes: 9 additions & 0 deletions src/plugins/charts/server/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,15 @@ export class ChartsServerPlugin implements Plugin<object, object> {
description: i18n.translate('charts.advancedSettings.visualization.colorMappingText', {
defaultMessage: 'Maps values to specified colors within visualizations',
}),
deprecation: {
message: i18n.translate(
'charts.advancedSettings.visualization.colorMappingTextDeprecation',
{
defaultMessage: 'This setting is deprecated.',
}
),
docLinksKey: 'visualizationSettings',
},
category: ['visualization'],
schema: schema.string(),
},
Expand Down

0 comments on commit 86806fa

Please sign in to comment.