Parcourir la source

💄 more styling of dots-per-region chart

jmacura il y a 3 ans
Parent
commit
723ac853ec

+ 1 - 1
src/app/app.component.html

@@ -41,7 +41,7 @@
       <a ngbNavLink>2nd ("Dots")</a>
       <ng-template ngbNavContent>
           <all-in-one-graph></all-in-one-graph>
-          <h2>Detailed overview of single regions</h2>
+          <h2>Detailed overview of individual regions</h2>
           <p>An aggregated attractiveness index is composed of six factors: anthropic, cultural, economic, institutional, natural and social. Due to the incompleteness of data provided by different regions, we only present four of them below.</p>
           <ng-container *ngFor="let region of sdmDihService.regions">
             <region-graph [region]="region"></region-graph>

+ 1 - 1
src/app/dots-chart/region-graph/region-graph.component.scss

@@ -1,6 +1,6 @@
 .plot-place {
   width: 100%;
-  height: 250px;
+  height: 200px;
 }
 
 .plotly-plot {

+ 1 - 1
src/app/dots-chart/region-graph/region-graph.component.ts

@@ -12,7 +12,7 @@ export class RegionGraphComponent implements OnChanges {
   dataLoaded = false;
   data = [];
   plotlyLayout = {
-    height: 270,
+    height: 180,
     cliponaxis: false,
     constraintext: 'none',
     yaxis: {