Skip to content

Commit

Permalink
Fixes for test app crashes for 12 schema data
Browse files Browse the repository at this point in the history
  • Loading branch information
srmukher committed Jan 2, 2025
1 parent 4ddfce0 commit 87b0cff
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion apps/plotly_examples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "1.0.0",
"private": true,
"dependencies": {
"@fluentui/react-charting": "^5.23.34",
"@fluentui/react-charting": "^5.23.36",
"@fluentui/react-portal-compat": "9.0.176",
"@fluentui/react-components": "^9.21.0",
"@types/d3-color": "^3.1.1",
Expand Down
2 changes: 1 addition & 1 deletion apps/plotly_examples/src/components/DeclarativeChart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ export class DeclarativeChartBasicExample extends React.Component<{}, IDeclarati
<div data-testid="chart-container" >
<br />
<br />
<Subtitle2>{selectedSchema.layout.title}</Subtitle2>
<Subtitle2>{typeof selectedSchema.layout.title === 'string' ? selectedSchema.layout.title : typeof selectedSchema.layout.title.text === 'string' ? selectedSchema.layout.title.text : JSON.stringify(selectedSchema.layout.title)}</Subtitle2>
<br />
<br />
<ErrorBoundary>
Expand Down
2 changes: 1 addition & 1 deletion apps/plotly_examples/src/data/data_085_Healthcare.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"data": [
{
"type": "line",
"type": "scatter",
"x": [
"2020 Q1",
"2020 Q2",
Expand Down
2 changes: 1 addition & 1 deletion apps/plotly_examples/src/data/data_103_Automobile.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"data": [
{
"type": "line",
"type": "scatter",
"x": [
"2023-01-01",
"2023-01-02",
Expand Down
2 changes: 1 addition & 1 deletion apps/plotly_examples/src/data/data_107_Hospitality.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"data": [
{
"type": "line",
"type": "scatter",
"x": [
"Q1",
"Q2",
Expand Down
8 changes: 4 additions & 4 deletions apps/plotly_examples/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1463,10 +1463,10 @@
embla-carousel-autoplay "^8.5.1"
embla-carousel-fade "^8.5.1"

"@fluentui/react-charting@^5.23.34":
version "5.23.34"
resolved "https://registry.yarnpkg.com/@fluentui/react-charting/-/react-charting-5.23.34.tgz#6be296a1dada579ec9cffb6fd14c830ce4980dd0"
integrity sha512-661+lS/fGWBEJHxFZelOFWNh0dvDhgv/eHosaRVfbPe0w9ajfPwoUiINztz9+oTrq8i7vDvEwWAOCGH3BP34MA==
"@fluentui/react-charting@^5.23.36":
version "5.23.36"
resolved "https://registry.yarnpkg.com/@fluentui/react-charting/-/react-charting-5.23.36.tgz#ea6ee27af24d791907f9351143fbf1fda68e5872"
integrity sha512-ZP47OKJXmX3qnYtvi5TJZE3XGdc9Q31sc0/MxedhRGmLqWy0W+upFc2f5q2I61wk3/+M23FS/KioS0F4duhyiQ==
dependencies:
"@fluentui/react-focus" "^8.9.20"
"@fluentui/set-version" "^8.2.23"
Expand Down

0 comments on commit 87b0cff

Please sign in to comment.