MatthiasMert
MatthiasMert
Maybe a good solution would be to add a new feature `initialRootNode` which allows to specify the initial view of the sunburst diagram (somewaht similar to [`initialTreeDepth` ](https://echarts.apache.org/en/option.html#series-tree.initialTreeDepth)). This way...
Its not at all clear to me what you are trying to achieve. Pls provide a working (= with data) minimal exmaple in the [echarts editor](https://echarts.apache.org/examples/en/editor.html?c=line-simple)
In the example you shared, echarts moves the second x-axis to the top of the grid. So the axis is present. I still dont quite understand whats the goal of...
Here is a [minimal example](https://echarts.apache.org/examples/en/editor.html?c=line-simple&code=PYBwLglsB2AEC8sDeBYAULWAPAgliAzgFzLqbmxgCeIApiQOQDGAhmLQObABOVDANGQqwAJmxYkA2gEZ-AJn4BmfgBZ-AVn4A2fgHYAuoIzkAvkcxU8hEkmp1GANxYAbAK60GZoQVrcItYlhJIUxUYwo7elgGACMWbgEQ8gBbeIBrHG5aCVJw4TEwHOC84SCkXHxAhkVPflCK62j1T30kilaS2BMkrzyw0sjGAAtssFSQRM7U7gysnP7S0XEpNuFJcqsqmrN6zcZmkw7F2CPhbrzzzA6TAG4gA). It seems that different series types consider either the border of a category or the center.
Just specify the [barWidth](https://echarts.apache.org/en/option.html#series-bar.barWidth) if you want a specific one. By default (and because bars are most often used with category axis) echarts will make the bar use all space...
There seem to be multiple problems with bar series. The issue in the given example seems to be axis `type: 'time'` together with `barWidth: '100%'` but only at exactly 2...
You can use the [stack property](https://echarts.apache.org/en/option.html#series-bar.stack) and set the values for all other categories to 0. [Here](https://echarts.apache.org/examples/en/editor.html?c=bar-simple&code=PYBwLglsB2AEC8sDeAoWsA2BTA5l6AJgFzIC-ANGrAB4CC1EAziauumAJ4hYkDkAxgEMwuYACcOvSm1gFhgkgG1eAWRhTYvACoBXLBt4B1LAQNaAFjt4BdKhSod6TFlXZcemgG6CMe3nelYRiwxCCxmWEVXZGi3bj4AI0ExKVjYaEEAWyxYIl5g0PCARlSZdEYwQX4Aaz4KqurSsrlKpSKAJgAGclhu3p7O60D0exlWMs54zSSU4bYM7Nz8kLDGdqaZepq6ypqNthaFSL6uvrOh6NG2cZlJj14Z_fQFnLyC1YBmJ6Dd2s0txpzdCHJRnHpFACs5zmV3QNzYd0SyW-LyW73CABZvgCdg1viDjgMibAAByDGGBC6kADcQA) is an example.
To my knowledge echarts creates one legend entry per series and there is no way around. If the work around I provided is not suitable for your use case you...
Heres an [example](https://echarts.apache.org/examples/en/editor.html?c=data-transform-aggregate) that may help
You can manually set xAxis [min](https://echarts.apache.org/en/option.html#xAxis.min) and [max](https://echarts.apache.org/en/option.html#xAxis.max) such that your markPoints fit inside.