Skip to content

Commit

Permalink
Show chart related hints on layout pages.
Browse files Browse the repository at this point in the history
Signed-off-by: Boris Krivonog <[email protected]>
  • Loading branch information
crnjan committed Jan 19, 2021
1 parent e6bdfb0 commit c7b2a75
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -379,9 +379,8 @@ export default {
label: 'Data Series',
docLink: 'https://echarts.apache.org/en/option.html#series',
props: {
parameterGroups: [componentRelationsGroup],
parameterGroups: [],
parameters: [
...seriesParameters,
seriesTypeParameter('gauge')
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,10 @@ function getWidgetDefinitions (cm) {
return [
...(componentType === 'home') ? [OhLocationCardParameters(), OhEquipmentCardParameters(), OhPropertyCardParameters()] : [],
...ohComponents.map((c) => c.widget()).sort((c1, c2) => c1.name.localeCompare(c2.name)),
...f7Components.sort((c1, c2) => c1.name.localeCompare(c2.name))
...f7Components.sort((c1, c2) => c1.name.localeCompare(c2.name)),
...Object.keys(ChartWidgetsDefinitions).map((name) => {
return Object.assign({}, ChartWidgetsDefinitions[name], { name })
})
]
}
}
Expand Down

0 comments on commit c7b2a75

Please sign in to comment.