diff --git a/production/apexcharts.html b/production/apexcharts.html index cc9b20a9..a5d8dbe9 100644 --- a/production/apexcharts.html +++ b/production/apexcharts.html @@ -367,6 +367,31 @@ +
+
+
+

Bar chart

+ +
+
+
+
+
+
+
+
@@ -561,13 +586,43 @@ } }; + var barchartoptions = { + series: [{ + data: [400, 430, 448, 470, 540, 580, 690, 1100, 1200, 1380] + }], + chart: { + type: 'bar', + height: 350 + }, + colors: ["#00586c", "#00c49d"], + plotOptions: { + bar: { + borderRadius: 4, + horizontal: true, + } + }, + dataLabels: { + enabled: false + }, + xaxis: { + categories: ['South Korea', 'Canada', 'United Kingdom', 'Netherlands', 'Italy', 'France', 'Japan', + 'United States', 'China', 'Germany' + ], + } + }; + + + + var linechart = new ApexCharts(document.querySelector("#lineChart"), linechartoptions); var areachart = new ApexCharts(document.querySelector("#areaChart"), areachartoptions); var columnchart = new ApexCharts(document.querySelector("#columnChart"), columnchartoptions); + var barchart = new ApexCharts(document.querySelector("#barChart"), barchartoptions); linechart.render(); areachart.render(); columnchart.render(); + barchart.render();