diff --git a/src/_data/charts.yml b/src/_data/charts.yml index d51448295..0ce41a923 100644 --- a/src/_data/charts.yml +++ b/src/_data/charts.yml @@ -234,7 +234,7 @@ pie: color: blue data: [63] - name: Minimum - color: pink + color: blue-light data: [37] donut: @@ -246,7 +246,7 @@ donut: color: blue data: [63] - name: Minimum - color: pink + color: blue-light data: [37] diff --git a/src/_includes/cards/chart.html b/src/_includes/cards/chart.html new file mode 100644 index 000000000..4fcdb87d6 --- /dev/null +++ b/src/_includes/cards/chart.html @@ -0,0 +1,9 @@ +
+
+

{{ include.title }}

+
+
+
+
+
+{% include js-charts.html id=include.id data=include.data %} \ No newline at end of file diff --git a/src/index.html b/src/index.html index 3e912b807..a3ff63612 100644 --- a/src/index.html +++ b/src/index.html @@ -35,17 +35,16 @@ menu: index
-
Are you in trouble? Read our documentation with code samples.
+
Are you in trouble? Read our documentation with code samples.
-
-
-

Chart name

+
+
+ {% include cards/chart.html title="Chart title" id="chart-donut" data="donut" %}
-
-
+
+ {% include cards/chart.html title="Chart title" id="chart-pie" data="pie" %}
- {% include js-charts.html id='chart-donut' data='donut' %}