@@ -400,10 +400,10 @@ const model = ref([
400
400
{ key: ' chart.zoom.startIndex' , def: null , type: ' number' , min: 0 , max: 100 },
401
401
{ key: ' chart.zoom.endIndex' , def: null , type: ' number' , min: 0 , max: 100 },
402
402
403
- { key: ' chart.padding.top' , def: 36 , type: ' number' , min: 0 , max: 100 , label: " top" , category: ' padding' },
404
- { key: ' chart.padding.right' , def: 36 , type: ' number' , min: 0 , max: 100 , label: ' right' , category: ' padding' },
405
- { key: ' chart.padding.bottom' , def: 64 , type: ' number' , min: 0 , max: 100 , label: ' bottom' , category: ' padding' },
406
- { key: ' chart.padding.left' , def: 48 , type: ' number' , min: 0 , max: 100 , label: ' left' , category: ' padding' },
403
+ { key: ' chart.padding.top' , def: 0 , type: ' number' , min: 0 , max: 100 , label: " top" , category: ' padding' },
404
+ { key: ' chart.padding.right' , def: 0 , type: ' number' , min: 0 , max: 100 , label: ' right' , category: ' padding' },
405
+ { key: ' chart.padding.bottom' , def: 0 , type: ' number' , min: 0 , max: 100 , label: ' bottom' , category: ' padding' },
406
+ { key: ' chart.padding.left' , def: 0 , type: ' number' , min: 0 , max: 100 , label: ' left' , category: ' padding' },
407
407
408
408
{ key: ' chart.highlighter.color' , def: ' #1A1A1A' , type: ' color' , label: ' highlighterColor' , category: ' general' },
409
409
{ key: ' chart.highlighter.opacity' , def: 5 , type: ' range' , min: 0 , max: 100 , label: ' highlighterOpacity' , category: ' general' },
@@ -449,14 +449,14 @@ const model = ref([
449
449
{ key: ' chart.grid.labels.xAxisLabels.showOnlyFirstAndLast' , def: false , type: ' checkbox' , label: ' showOnlyFirstAndLast' , category: ' grid' },
450
450
{ key: ' chart.grid.labels.xAxisLabels.yOffset' , def: 24 , type: ' number' , min: - 100 , max: 100 , label: ' offsetYPeriodLabels' , category: ' grid' },
451
451
{ key: ' chart.grid.labels.xAxisLabels.rotation' , def: 0 , type: ' range' , min: - 360 , max: 360 , label: ' rotation' , category: ' grid' },
452
- { key: ' chart.grid.labels.axis.xLabelOffsetY' , def: 24 , type: ' number' , min: - 100 , max: 100 },
452
+ { key: ' chart.grid.labels.axis.xLabelOffsetY' , def: 0 , type: ' number' , min: - 100 , max: 100 },
453
453
454
454
{ key: ' chart.grid.labels.xAxisLabels.showOnlyAtModulo' , def: false , type: ' checkbox' },
455
455
{ key: ' chart.grid.labels.xAxisLabels.modulo' , def: 6 , type: ' number' },
456
456
457
457
{ key: ' chart.grid.labels.yAxis.position' , def: ' right' , type: ' select' , options: [' left' , ' right' ] },
458
458
{ key: ' chart.grid.labels.yAxis.commonScaleSteps' , def: 10 , min: 0 , max: 100 , type: ' number' },
459
- { key: ' chart.grid.labels.yAxis.useIndividualScale' , def: false , type: " checkbox" },
459
+ { key: ' chart.grid.labels.yAxis.useIndividualScale' , def: true , type: " checkbox" },
460
460
{ key: ' chart.grid.labels.yAxis.stacked' , def: false , type: ' checkbox' },
461
461
{ key: ' chart.grid.labels.yAxis.gap' , def: 24 , min: 0 , max: 200 , type: ' number' },
462
462
{ key: ' chart.grid.labels.yAxis.labelWidth' , def: 48 , min: 0 , max: 100 , type: ' number' },
@@ -466,7 +466,7 @@ const model = ref([
466
466
{ key: ' chart.grid.labels.yAxis.groupColor' , def: ' #1A1A1A' , type: ' color' },
467
467
{ key: ' chart.grid.labels.yAxis.scaleLabelOffsetX' , def: 36 , type: ' number' , min: - 100 , max: 100 },
468
468
{ key: ' chart.grid.labels.yAxis.scaleValueOffsetX' , def: - 20 , type: ' number' , min: - 100 , max: 100 },
469
- { key: ' chart.grid.labels.yAxis.useNiceScale' , def: true , type: ' checkbox' },
469
+ { key: ' chart.grid.labels.yAxis.useNiceScale' , def: false , type: ' checkbox' },
470
470
471
471
{ key: ' chart.grid.labels.yAxis.showCrosshairs' , def: true , type: ' checkbox' },
472
472
{ key: ' chart.grid.labels.xAxis.showCrosshairs' , def: true , type: ' checkbox' },
@@ -831,12 +831,13 @@ const config = computed(() => {
831
831
},
832
832
xAxisLabels: {
833
833
... c .chart .grid .labels .xAxisLabels ,
834
- // values: monthValues.value,
835
- values: new Array (13 ).fill (0 ).map ((d ,i ) => {
836
- return ` Some long name\n with a value ${ i} `
837
- }),
834
+ values: monthValues .value ,
835
+ // values: new Array(13).fill(0).map((d,i) => {
836
+ // return `Some long name\nwith a value ${i}`
837
+ // }),
838
+ rotation: - 30 ,
838
839
datetimeFormatter: {
839
- enable: false ,
840
+ enable: true ,
840
841
locale: ' en' ,
841
842
useUTC: false ,
842
843
januaryAsYear: true ,
0 commit comments