我正致力于建立一个基本的LightningChart示例,并在电子中运行,希望为我的行业编写一个跨平台的图表应用程序。
在Windows中,它没有那么糟糕:这是我的lightning.js源文件中的代码。contents of this script tag if you want to test code from our examples:
/&
尝试通过两次调用以下代码来重新加载lightningchart (简化为简明) //'viz' points to an existing element in the DOM where the chartis bound to
lightningChart().ChartXY({container: 'viz' }) 在图表中的第一次呈现效果很好。问题是如何在再次呈现图表之前重置图表(以及画布和/