我想使用python ezhc(Higstock chart)显示多个Y轴。我添加了一个以上的Y轴如下,但由于某些原因,这两个轴都显示在图表的右侧。请告诉我这里有什么问题
g.xAxis=[{
"categories": ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun',
'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
"crosshair": "true"
}]
g.yAxis=[
{
"title": {
"text": 'hello',
},
"opposite": "false"
},
{
"title": {
"text": 'Temperature',
},
"opposite": "true"
}
]
g.series=[
{
"data":df["volt"],
"yAxis": 1,
"type":"column"
},
{
"data":df["temp"],
"yAxis": 2,
"type":"line"
}
]
目前没有回答
相关问题 更多 >
编程相关推荐