diff --git a/production/apexcharts.html b/production/apexcharts.html
index b2f66787..cc9b20a9 100644
--- a/production/apexcharts.html
+++ b/production/apexcharts.html
@@ -339,6 +339,35 @@
+
+
+
@@ -450,45 +479,6 @@
}
};
- // var areachartoptions = {
- // series: [{
- // name: "STOCK ABC",
- // data: series.monthDataSeries1.prices
- // }],
- // chart: {
- // type: 'area',
- // height: 350,
- // zoom: {
- // enabled: false
- // }
- // },
- // dataLabels: {
- // enabled: false
- // },
- // stroke: {
- // curve: 'straight'
- // },
-
- // title: {
- // text: 'Fundamental Analysis of Stocks',
- // align: 'left'
- // },
- // subtitle: {
- // text: 'Price Movements',
- // align: 'left'
- // },
- // labels: series.monthDataSeries1.dates,
- // xaxis: {
- // type: 'datetime',
- // },
- // yaxis: {
- // opposite: true
- // },
- // legend: {
- // horizontalAlign: 'left'
- // }
- // };
-
var areachartoptions = {
series: [{
name: 'series1',
@@ -497,6 +487,7 @@
name: 'series2',
data: [11, 32, 45, 32, 34, 52, 41]
}],
+ colors: ["#00586c", "#00c49d"],
chart: {
height: 350,
type: 'area'
@@ -518,11 +509,65 @@
},
};
+
+ var columnchartoptions = {
+ series: [{
+ name: 'Net Profit',
+ data: [44, 55, 57, 56, 61, 58, 63, 60, 66]
+ }, {
+ name: 'Revenue',
+ data: [76, 85, 101, 98, 87, 105, 91, 114, 94]
+ }, {
+ name: 'Free Cash Flow',
+ data: [35, 41, 36, 26, 45, 48, 52, 53, 41]
+ }],
+ colors: ["#00586c", "#00c49d"],
+ chart: {
+ type: 'bar',
+ height: 350
+ },
+ plotOptions: {
+ bar: {
+ horizontal: false,
+ columnWidth: '55%',
+ endingShape: 'rounded'
+ },
+ },
+ dataLabels: {
+ enabled: false
+ },
+ stroke: {
+ show: true,
+ width: 2,
+ colors: ['transparent']
+ },
+ xaxis: {
+ categories: ['Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct'],
+ },
+ yaxis: {
+ title: {
+ text: '$ (thousands)'
+ }
+ },
+ fill: {
+ opacity: 1
+ },
+ tooltip: {
+ y: {
+ formatter: function(val) {
+ return "$ " + val + " thousands"
+ }
+ }
+ }
+ };
+
var linechart = new ApexCharts(document.querySelector("#lineChart"), linechartoptions);
var areachart = new ApexCharts(document.querySelector("#areaChart"), areachartoptions);
+ var columnchart = new ApexCharts(document.querySelector("#columnChart"), columnchartoptions);
linechart.render();
areachart.render();
+ columnchart.render();