File tree Expand file tree Collapse file tree 2 files changed +16
-20
lines changed
src/main/java/org/cftoolsuite/cfapp/ui/view Expand file tree Collapse file tree 2 files changed +16
-20
lines changed Original file line number Diff line number Diff line change @@ -85,17 +85,15 @@ public SnapshotApplicationSummaryView(
8585 private ApexCharts createDonutChart (Map <String , Long > items ) {
8686 ApexChartsBuilder chartBuilder = new ApexChartsBuilder ();
8787 chartBuilder .withChart (ChartBuilder .get ().withType (Type .DONUT ).build ())
88- .withLegend (LegendBuilder .get ()
89- .withPosition (Position .RIGHT )
88+ .withLegend (LegendBuilder .get ().withShow (false ).build ())
89+ .withResponsive (ResponsiveBuilder .get ()
90+ .withBreakpoint (480.0 )
91+ .withOptions (OptionsBuilder .get ()
92+ .withLegend (LegendBuilder .get ()
93+ .withShow (false )
9094 .build ())
91- .withResponsive (ResponsiveBuilder .get ()
92- .withBreakpoint (480.0 )
93- .withOptions (OptionsBuilder .get ()
94- .withLegend (LegendBuilder .get ()
95- .withPosition (Position .BOTTOM )
96- .build ())
97- .build ())
98- .build ());
95+ .build ())
96+ .build ());
9997 ApexCharts chart = chartBuilder .build ();
10098 updateChartData (chart , items );
10199 chart .setHeight ("120px" );
Original file line number Diff line number Diff line change @@ -67,17 +67,15 @@ public SpringApplicationReportDependencyFrequencyView(
6767
6868 ApexChartsBuilder chartBuilder = new ApexChartsBuilder ();
6969 chartBuilder .withChart (ChartBuilder .get ().withType (Type .DONUT ).build ())
70- .withLegend (LegendBuilder .get ()
71- .withPosition (Position .RIGHT )
70+ .withLegend (LegendBuilder .get ().withShow (false ).build ())
71+ .withResponsive (ResponsiveBuilder .get ()
72+ .withBreakpoint (480.0 )
73+ .withOptions (OptionsBuilder .get ()
74+ .withLegend (LegendBuilder .get ()
75+ .withShow (false )
7276 .build ())
73- .withResponsive (ResponsiveBuilder .get ()
74- .withBreakpoint (480.0 )
75- .withOptions (OptionsBuilder .get ()
76- .withLegend (LegendBuilder .get ()
77- .withPosition (Position .BOTTOM )
78- .build ())
79- .build ())
80- .build ());
77+ .build ())
78+ .build ());
8179 chart = chartBuilder .build ();
8280 updateChartData (chart , items );
8381 chart .setHeight ("320px" );
You can’t perform that action at this time.
0 commit comments