diff --git a/apps/plotly_examples/src/components/DeclarativeChart.tsx b/apps/plotly_examples/src/components/DeclarativeChart.tsx index 7fb15bad8c..388ffec0a9 100644 --- a/apps/plotly_examples/src/components/DeclarativeChart.tsx +++ b/apps/plotly_examples/src/components/DeclarativeChart.tsx @@ -1,13 +1,13 @@ import * as React from 'react'; import { TextField, ITextFieldStyles } from '@fluentui/react/lib/TextField'; -import { +import { Dropdown, Option, SelectionEvents, OptionOnSelectData, Subtitle1, Subtitle2, - Divider + Divider } from '@fluentui/react-components'; import { DeclarativeChart, IDeclarativeChart, Schema } from '@fluentui/react-charting'; import PlotlyChart from './PlotlyChart'; @@ -108,23 +108,23 @@ export class DeclarativeChartBasicExample extends React.Component - Declarative chart from fluent + Declarative chart from fluent
    - {schemasData.map((data) => ( - - ))} + + ))}    
@@ -141,8 +141,7 @@ export class DeclarativeChartBasicExample extends React.Component

- {selectedSchema.layout.title} - + {typeof selectedSchema.layout.title === 'string' ? selectedSchema.layout.title : typeof selectedSchema.layout.title.text === 'string' ? selectedSchema.layout.title.text : JSON.stringify(selectedSchema.layout.title)}

@@ -159,16 +158,16 @@ export class DeclarativeChartBasicExample extends React.Component -
+ /> +
- -
- Chart from plotly.js + +
+ Chart from plotly.js

- +