Skip to content

Commit 7148b74

Browse files
committed
make showlegend true by default
1 parent ab40631 commit 7148b74

File tree

1 file changed

+1
-1
lines changed
  • app/[locale]/dashboard/[entityType]/[entitySlug]/dataset/[id]/edit/charts/components

1 file changed

+1
-1
lines changed

app/[locale]/dashboard/[entityType]/[entitySlug]/dataset/[id]/edit/charts/components/ChartsVisualize.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ const ChartsVisualize: React.FC<VisualizationProps> = ({
214214
options: {
215215
aggregateType: resourceChart?.options?.aggregateType,
216216
regionColumn: resourceChart?.options?.regionColumn?.id,
217-
showLegend: resourceChart?.options?.showLegend ,
217+
showLegend: resourceChart?.options?.showLegend ?? true,
218218
timeColumn: resourceChart?.options?.timeColumn,
219219
valueColumn: resourceChart?.options?.valueColumn?.id,
220220
xAxisColumn: resourceChart?.options?.xAxisColumn?.id,

0 commit comments

Comments
 (0)