1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-11-01 15:45:58 +09:00
This commit is contained in:
syuilo 2018-10-23 09:39:27 +09:00
parent 8dc82b7a6e
commit 690dc75e45
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69
2 changed files with 31 additions and 5 deletions

View File

@ -63,11 +63,20 @@ export default Vue.extend({
const chart = new ApexCharts(this.$refs.chart, { const chart = new ApexCharts(this.$refs.chart, {
chart: { chart: {
type: 'area', type: 'area',
height: 60, height: 70,
sparkline: { sparkline: {
enabled: true enabled: true
}, },
}, },
grid: {
clipMarkers: false,
padding: {
top: 16,
right: 16,
bottom: 16,
left: 16
}
},
stroke: { stroke: {
curve: 'straight', curve: 'straight',
width: 2 width: 2
@ -93,7 +102,6 @@ export default Vue.extend({
background var(--deckColumnBg) background var(--deckColumnBg)
> .chart > .chart
padding 16px
margin-bottom 16px margin-bottom 16px
background var(--face) background var(--face)

View File

@ -166,11 +166,26 @@ export default Vue.extend({
chart: { chart: {
type: 'bar', type: 'bar',
stacked: true, stacked: true,
height: 60, height: 100,
sparkline: { sparkline: {
enabled: true enabled: true
}, },
}, },
plotOptions: {
bar: {
columnWidth: '90%',
endingShape: 'rounded'
}
},
grid: {
clipMarkers: false,
padding: {
top: 16,
right: 16,
bottom: 16,
left: 16
}
},
tooltip: { tooltip: {
shared: true, shared: true,
intersect: false intersect: false
@ -186,7 +201,11 @@ export default Vue.extend({
data: renote data: renote
}], }],
xaxis: { xaxis: {
type: 'datetime' type: 'datetime',
crosshairs: {
width: 1,
opacity: 1
}
} }
}); });
@ -375,7 +394,6 @@ export default Vue.extend({
border-radius 4px border-radius 4px
> .activity > .activity
padding 16px
margin-bottom 16px margin-bottom 16px
background var(--face) background var(--face)