var options = {
series: [{
name: 'series1',
data: [31, 40, 28, 51, 42, 109, 100]
}],
chart: {
height: 170,
width: '100%',
type: 'area',
sparkline: {
enabled: false,
},
toolbar:{
tools: {
download: false,
reset: false,
zoom: false,
zoomin: false,
zoomout: false,
pan: false
},
},
},
grid:{
show: false
},
dataLabels: {
enabled: false
},
stroke: {
curve: 'smooth'
},
xaxis: {
axisTicks:{
show: false
},
axisBorder:{
show:false
},
labels:{
show:false
},
type: 'datetime',
categories: ["2018-09-19T00:00:00.000Z", "2018-09-19T01:30:00.000Z", "2018-09-19T02:30:00.000Z", "2018-09-19T03:30:00.000Z", "2018-09-19T04:30:00.000Z", "2018-09-19T05:30:00.000Z", "2018-09-19T06:30:00.000Z"]
},
yaxis:{
axisTicks:{
show: false
},
axisBorder:{
show:false
},
labels:{
show:false
}
},
tooltip: {
enabled: false
},
colors: ['#7B61FF']
};
var options2 = {
series: [{
name: 'series1',
data: [110, 98, 74, 88, 93, 99, 140]
}],
chart: {
height: 170,
width: '100%',
type: 'area',
sparkline: {
enabled: false,
},
toolbar:{
tools: {
download: false,
reset: false,
zoom: false,
zoomin: false,
zoomout: false,
pan: false
},
},
},
grid:{
show: false
},
dataLabels: {
enabled: false
},
stroke: {
curve: 'smooth'
},
xaxis: {
axisTicks:{
show: false
},
axisBorder:{
show:false
},
labels:{
show:false
},
type: 'datetime',
categories: ["2018-09-19T00:00:00.000Z", "2018-09-19T01:30:00.000Z", "2018-09-19T02:30:00.000Z", "2018-09-19T03:30:00.000Z", "2018-09-19T04:30:00.000Z", "2018-09-19T05:30:00.000Z", "2018-09-19T06:30:00.000Z"]
},
yaxis:{
axisTicks:{
show: false
},
axisBorder:{
show:false
},
labels:{
show:false
}
},
tooltip: {
enabled: false
},
colors: ['#F65F18']
};
var options3 = {
series: [{
name: 'series1',
data: [78, 44, 58, 68, 120, 100, 136]
}],
chart: {
height: 170,
width: '100%',
type: 'area',
sparkline: {
enabled: false,
},
toolbar:{
tools: {
download: false,
reset: false,
zoom: false,
zoomin: false,
zoomout: false,
pan: false
},
},
},
grid:{
show: false
},
dataLabels: {
enabled: false
},
stroke: {
curve: 'smooth'
},
xaxis: {
axisTicks:{
show: false
},
axisBorder:{
show:false
},
labels:{
show:false
},
type: 'datetime',
categories: ["2018-09-19T00:00:00.000Z", "2018-09-19T01:30:00.000Z", "2018-09-19T02:30:00.000Z", "2018-09-19T03:30:00.000Z", "2018-09-19T04:30:00.000Z", "2018-09-19T05:30:00.000Z", "2018-09-19T06:30:00.000Z"]
},
yaxis:{
axisTicks:{
show: false
},
axisBorder:{
show:false
},
labels:{
show:false
}
},
tooltip: {
enabled: false
},
colors: ['#19A070']
};
var options4 = {
series: [{
name: 'series1',
data: [12, 9, 12, 2, 8, 10, 12]
}],
chart: {
height: 170,
width: '100%',
type: 'area',
sparkline: {
enabled: false,
},
toolbar:{
tools: {
download: false,
reset: false,
zoom: false,
zoomin: false,
zoomout: false,
pan: false
},
},
},
grid:{
show: false
},
dataLabels: {
enabled: false
},
stroke: {
curve: 'smooth'
},
xaxis: {
axisTicks:{
show: false
},
axisBorder:{
show:false
},
labels:{
show:false
},
type: 'datetime',
categories: ["2018-09-19T00:00:00.000Z", "2018-09-19T01:30:00.000Z", "2018-09-19T02:30:00.000Z", "2018-09-19T03:30:00.000Z", "2018-09-19T04:30:00.000Z", "2018-09-19T05:30:00.000Z", "2018-09-19T06:30:00.000Z"]
},
yaxis:{
axisTicks:{
show: false
},
axisBorder:{
show:false
},
labels:{
show:false
}
},
tooltip: {
enabled: false
},
colors: ['#FFA41B']
};
var chart = new ApexCharts(document.querySelector("#chart"), options);
chart.render();
var chart = new ApexCharts(document.querySelector("#chart2"), options2);
chart.render();
var chart = new ApexCharts(document.querySelector("#chart3"), options3);
chart.render();
var chart = new ApexCharts(document.querySelector("#chart4"), options4);
chart.render();