mirror of https://github.com/wg-easy/wg-easy
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
69 lines
942 B
69 lines
942 B
import { reactive } from 'vue';
|
|
|
|
const chartOptions = reactive({
|
|
chart: {
|
|
background: 'transparent',
|
|
type: 'bar',
|
|
stacked: false,
|
|
toolbar: {
|
|
show: false,
|
|
},
|
|
animations: {
|
|
enabled: false,
|
|
},
|
|
},
|
|
colors: [
|
|
'#DDDDDD', // rx
|
|
'#EEEEEE', // tx
|
|
],
|
|
dataLabels: {
|
|
enabled: false,
|
|
},
|
|
plotOptions: {
|
|
bar: {
|
|
horizontal: false,
|
|
},
|
|
},
|
|
xaxis: {
|
|
labels: {
|
|
show: false,
|
|
},
|
|
axisTicks: {
|
|
show: true,
|
|
},
|
|
axisBorder: {
|
|
show: true,
|
|
},
|
|
},
|
|
yaxis: {
|
|
labels: {
|
|
show: false,
|
|
},
|
|
min: 0,
|
|
},
|
|
tooltip: {
|
|
enabled: false,
|
|
},
|
|
legend: {
|
|
show: false,
|
|
},
|
|
grid: {
|
|
show: false,
|
|
padding: {
|
|
left: -10,
|
|
right: 0,
|
|
bottom: -15,
|
|
top: -15,
|
|
},
|
|
column: {
|
|
opacity: 0,
|
|
},
|
|
xaxis: {
|
|
lines: {
|
|
show: false,
|
|
},
|
|
},
|
|
},
|
|
});
|
|
|
|
export default chartOptions;
|