OpenEnergyDashboard / OED

Open Energy Dashboard (OED)
Mozilla Public License 2.0
83 stars 316 forks source link

Revised margins for graphics components #1360

Closed hinyan17 closed 1 month ago

hinyan17 commented 1 month ago

Description

Modified margins in the layout objects of the specified components in src/client/app/components. This was done with the intent of making the graphs bigger by eliminating unnecessary space.

Implemented changes in Bar and Line: set top, bottom, and right margins to 0. Left margin was not removed because the y axis label would overlap with the units. Implemented changes in Map: set bottom, left, and right margins to 0. Top margin was not removed because it would hide the name of the map. **Also made the same change to app/containers/MapChartContainer.ts to be consistent, which changed the size of the circles representing groups/meters over the buildings.

3D is unmodified because it was previously addressed. MultiCompare and Radar are unmodified because they have special, preset margin settings.

Fixes #1172

Type of change

Checklist

Limitations

No remaining issues, unless it's decided that some margins should be further modified for whatever reason.