ruby-on-rails - Fushion 图表 pie3d 在 ruby on rails 上无法正常工作
问题描述
我正在使用 fushion 图表来获得饼图 3D 效果,其中使用的后端是红宝石,前端是有角度的。
它工作正常。但是,有时饼图数据会重叠,如下所示。
下面给出的是我们需要的。它以前已经工作过。
我们指的是这个网站https://www.fusioncharts.com/dev/chart-attributes/?chart=pie3d以获取 fushion 图表。
在我们的 Angular js html 页面中,我们使用了命令
<div fusioncharts
width="100%"
type="pie3d"
datasource="{{pieDataSource}}">
</div>
我们将 Angular js 控制器中的值传递为
$scope.pie_chart_options =
{
theme: "fint",
// caption: "Matches",
decimals: "0",
showlabels: "0",
showlegend: "1",
legendShadow: "0",
plottooltext: "$label: $value",
legendBgColor: "#ffffff",
slicingdistance: "15",
showHoverEffect: "1",
animateClockwise: "1",
legendBorderAlpha: "0",
showpercentvalues: "0",
enablemultislicing: "1",
legendItemFontSize: "10",
legendItemFontColor: "#666666",
showpercentintooltip: "0",
}
请帮助我如何处理这个问题。
解决方案
推荐阅读
- r - render() 无法在容器化 Shiny 应用程序中将 .Rmd 转换为 .pdf
- ios - 如何从核心数据中获取子实体值?
- javascript - 当我单击按钮时,我的功能确实有效(Angular 2)
- c# - 为什么 System.IO.File.AppendAllText 会锁定我的文件?
- excel-formula - 基于真/假值消除行的公式(不留下空白行)
- linux - AWS CLI:找不到配置文件(示例)
- java - 无法为 webdrivermanger 使用 git 个人访问令牌?
- json - 使用 JQ 将 Winston JSON 日志输出到 CSV,但出现“不能通过 Csv 格式化,仅数组”错误
- angular - Angular ViewChildren 不会立即看到来自 ngFor 的所有孩子
- c++ - 在调用者和被调用者中共享pointee不一样