当我调用这些API时,我正在获取数据,但无法将其设置为highcharts的"series“属性以进行渲染,因此什么都不会渲染。为此,我使用highcharts-react-Offical.代码 import * as React from 'react';import HighchartsReact from 'highcharts-react-officialan-co
我想为Highcharts模块Boost使用TypeScript定义// Type definitions for Highcharts 4.2.6 (boost module)// Definitions by: Daniel Martin <http://github.com/inad9300>
/
我正在努力理解更新highcharts的正确方法。假设我已经呈现了一个图表,然后我想以某种方式更新它。例如,我可能想要更改数据序列的值,或者我可能想要启用dataLabels。目前,我唯一能想到的办法就是修改图表选项,并使用new Highcharts.chart告诉highcharts重绘。然而,我想知道这是不是有点过头了,也许可以“就地”改变图表,而不必使用new Highcharts.chart从头开始。我注意到有一个redraw()方法,但是我似乎不能让它工作。container',
ty