Skip to content

Commit

Permalink
feat: fit chart width to screen size
Browse files Browse the repository at this point in the history
  • Loading branch information
oreHGA committed Jun 2, 2024
1 parent 0942e93 commit be4310c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/charts/line-chart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export const FusionLineChart: FC<LineChartProps> = ({ seriesData, startDate, tim

return (
<div>
<ReactEcharts option={chartOptions} style={{ height: "500px", width: "800px" }} opts={{ renderer: "canvas" }} />
<ReactEcharts option={chartOptions} style={{ height: "500px", width: "100%" }} opts={{ renderer: "canvas" }} />
</div>
);
};

0 comments on commit be4310c

Please sign in to comment.