如何在Hightcharts中设置垂直条形图|我作为组件通过了。如何作为道具发送
How to set vertical bar chart in Hightcharts | I passed as component. How to send as props
我从高图表导入了条形图。它显示为单杠。我需要显示为垂直图表。请帮我显示为垂直图表。需要作为道具传递
<template v-slot="{ measures, resultSet, loading}">
<bar-chart type:"vertical" :data="transformData(resultSet)"></bar-chart>
</template>
希望你能理解我的问题。条形图显示为水平。需要显示为垂直条形图。
很可能您只能将条形图显示为水平。如果您想将条形图显示为垂直。更好的是你可以使用柱形图。柱形图将帮助您显示为垂直条形图。请试试这个代码
<template v-slot="{ measures, resultSet, loading}">
<column-chart :data="transformData(resultSet)"></column-chart>
</template>
我希望你能得到答案。
我从高图表导入了条形图。它显示为单杠。我需要显示为垂直图表。请帮我显示为垂直图表。需要作为道具传递
<template v-slot="{ measures, resultSet, loading}">
<bar-chart type:"vertical" :data="transformData(resultSet)"></bar-chart>
</template>
希望你能理解我的问题。条形图显示为水平。需要显示为垂直条形图。
很可能您只能将条形图显示为水平。如果您想将条形图显示为垂直。更好的是你可以使用柱形图。柱形图将帮助您显示为垂直条形图。请试试这个代码
<template v-slot="{ measures, resultSet, loading}">
<column-chart :data="transformData(resultSet)"></column-chart>
</template>
我希望你能得到答案。