Skip to content

Commit

Permalink
fix: Adds the Deprecated label to Time-series Percent Change chart (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-s-molina authored Sep 4, 2024
1 parent 34e240e commit 5e42d7a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
import { t, ChartMetadata, ChartPlugin } from '@superset-ui/core';
import { t, ChartMetadata, ChartPlugin, ChartLabel } from '@superset-ui/core';
import transformProps from '../transformProps';
import thumbnail from './images/thumbnail.png';
import example from './images/example.jpg';
Expand All @@ -29,6 +29,7 @@ const metadata = new ChartMetadata({
'Visualizes many different time-series objects in a single chart. This chart is being deprecated and we recommend using the Time-series Chart instead.',
),
exampleGallery: [{ url: example }],
label: ChartLabel.Deprecated,
name: t('Time-series Percent Change'),
tags: [
t('Legacy'),
Expand Down

0 comments on commit 5e42d7a

Please sign in to comment.