有什么方法可以在flutter中创建3D图表 [英] is there any method for creating 3D charts in flutter

查看:49
本文介绍了有什么方法可以在flutter中创建3D图表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在我的应用中制作一个3D饼图,但是我发现很难找到在图形中显示所选区域的百分比和名称的解决方案.

我正在使用AnimatedCircularChart,为此,该软件包是:导入'package:flutter_circular_chart/flutter_circular_chart.dart';

 >AnimatedCircularChart(密钥:_chartKey,大小:_chartSize,initialChartData:_quarterlyProfitPieData [0],chartType:CircularChartType.Pie, 

我希望标签位于所选区域上方.

解决方案

请尝试以下软件包flutter_echarts:

I want to make a 3D pie chart in my app but I am finding difficult to find the solution that shows the percentage and name for the area of selected region in the graph.

I am using AnimatedCircularChart and for that the package is: import 'package:flutter_circular_chart/flutter_circular_chart.dart';

 > AnimatedCircularChart(
            key: _chartKey,
      size: _chartSize,
      initialChartData: _quarterlyProfitPieData[0],
      chartType: CircularChartType.Pie,

I want the label over the selected region.

解决方案

Please try this package flutter_echarts: https://pub.dev/packages/flutter_echarts

It has the capability of WebGL 3D Charts

See this example: https://github.com/entronad/flutter_echarts/tree/master/example

这篇关于有什么方法可以在flutter中创建3D图表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆