简体   繁体   English

如何在 Flutter 应用中使用 HighCharts 飞镖库?

[英]How to use HighCharts dart library in Flutter app?

I'm looking into using HighCharts Dart library to build visualisation for my flutter app.我正在研究使用 HighCharts Dart 库为我的颤振应用程序构建可视化。 Base on the example here , I'm not too sure how to integrate it into the flutter app.基于此处的示例,我不太确定如何将其集成到颤振应用程序中。

After looking around, it seems like there isn't chart library for flutter app, other than building from scratch.环顾四周,除了从头开始构建之外,似乎没有用于颤振应用程序的图表库。 Do you know if this issue has been addressed or still in progress?您知道此问题是否已解决或仍在进行中?

Thanks for your time!谢谢你的时间!

I know your looking for direct integration, but you can use the node export server.我知道您正在寻找直接集成,但您可以使用节点导出服务器。

https://www.highcharts.com/blog/news/256-introducing-the-highcharts-node-js-export-server/ https://www.highcharts.com/blog/news/256-introducing-the-highcharts-node-js-export-server/

How I use it is, I post to highchairs on the server, get the SVG, and display that in flutter.我是如何使用它的,我张贴到服务器上的高脚椅上,获取 SVG,并在颤动中显示它。 It's not as nice as local, but it works for a good number of use cases.它不如本地好,但它适用于大量用例。

The same technique can be applied using any server-side SVG chart renderer.可以使用任何服务器端 SVG 图表渲染器应用相同的技术。

I have Found a Flutter Package to use High Charts in the flutter Project try this out.我在颤振项目中找到了一个颤振包来使用高图表试试这个。

https://pub.dev/packages/high_chart https://pub.dev/packages/high_chart

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM