Skip to content

Commit 0bc07c6

Browse files
committed
Dev environment - Update VueUiStackbar testing arena
1 parent 4c9952f commit 0bc07c6

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

TestingArena/ArenaVueUiStackbar.vue

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,24 +20,24 @@ import { useArena } from "../src/useArena";
2020
const dataset = ref([
2121
{
2222
name: "Serie 1",
23-
series: [10, 20, 30],
23+
series: [0, 0, 30],
2424
color: "rgba(255,0,0,0.5)"
2525
},
2626
{
2727
name: "Serie 2",
28-
series: [-10, -20, -30],
28+
series: [0, -20, -30],
2929
},
3030
{
3131
name: "Serie 3",
32-
series: [-5, 5, -5, -10],
32+
series: [0, 5, -5, -10],
3333
},
3434
{
3535
name: "Serie 4",
36-
series: [-5, 5, -5],
36+
series: [0, 5, -5],
3737
},
3838
{
3939
name: "Serie 4",
40-
series: [5, -5, 5],
40+
series: [0, -5, 5],
4141
},
4242
]);
4343
@@ -57,12 +57,12 @@ const model = ref([
5757
{ key: 'responsive', def: false, type: 'checkbox'},
5858
{ key: 'theme', def: '', type: 'select', options: ['', 'zen', 'hack', 'concrete']},
5959
{ key: 'useCssAnimation', def: true, type: 'checkbox'},
60-
{ key: 'style.chart.backgroundColor', def: '#FFFFFF20', type: 'color'},
60+
{ key: 'style.chart.backgroundColor', def: '#FFFFFF', type: 'color'},
6161
{ key: 'style.chart.color', def: '#1A1A1A', type: 'color'},
6262
{ key: 'style.chart.height', def: 500, type: 'number', min: 200, max: 1000},
6363
{ key: 'style.chart.width', def: 800, type: 'number', min: 200, max: 1000},
6464
{ key: 'style.chart.padding.top', def: 24, type: 'number', min: 0, max: 100},
65-
{ key: 'style.chart.padding.right', def: 24, type: 'number', min: 0, max: 100},
65+
{ key: 'style.chart.padding.right', def: 64, type: 'number', min: 0, max: 100},
6666
{ key: 'style.chart.padding.bottom', def: 36, type: 'number', min: 0, max: 100},
6767
{ key: 'style.chart.padding.left', def: 48, type: 'number', min: 0, max: 100},
6868
@@ -109,7 +109,7 @@ const model = ref([
109109
{ key: 'style.chart.highlighter.opacity', def: 5, type: 'range', min: 0, max: 30},
110110
111111
{ key: 'style.chart.bars.gapRatio', def: 0.5, type: 'range', min: 0, max: 1, step: 0.01 },
112-
{ key: 'style.chart.bars.distributed', def: false, type: 'checkbox'},
112+
{ key: 'style.chart.bars.distributed', def: true, type: 'checkbox'},
113113
{ key: 'style.chart.bars.showDistributedPercentage', def: true, type: 'checkbox'},
114114
{ key: 'style.chart.bars.borderRadius', def: 6, type: 'number', min: 0, max: 12},
115115
{ key: 'style.chart.bars.strokeWidth', def: 1, type: 'number', min: 0, max: 12},
@@ -124,6 +124,9 @@ const model = ref([
124124
{ key: 'style.chart.bars.totalValues.color', def: '#1A1A1A', type: 'color'},
125125
126126
{ key: 'style.chart.bars.dataLabels.show', def: true, type: 'checkbox'},
127+
{ key: 'style.chart.bars.dataLabels.hideEmptyValues', def: false, type: 'checkbox'},
128+
{ key: 'style.chart.bars.dataLabels.hideEmptyPercentages', def: true, type: 'checkbox'},
129+
127130
{ key: 'style.chart.bars.dataLabels.adaptColorToBackground', def: true, type: 'checkbox'},
128131
{ key: 'style.chart.bars.dataLabels.color', def: '#FFFFFF', type: 'color'},
129132
{ key: 'style.chart.bars.dataLabels.fontSize', def: 14, type: 'number', min: 8, max: 42},

0 commit comments

Comments
 (0)