代码之家  ›  专栏  ›  技术社区  ›  J.Doetwo

Iccube:misc(其他)的饼图值

  •  1
  • J.Doetwo  · 技术社区  · 8 年前

    我正在使用饼图,有以下问题: 有许多项目的价值低于5%。 是否有一个选项可以将这些项目汇总为“杂项”项目。

    在另一份报告中,如果值小于0.1%,则总计为“misc”

    iCube版本5.1.7

    enter image description here

    1 回复  |  直到 8 年前
        1
  •  1
  •   Sergey Ryskal Marc Polizzi    8 年前

    您可以使用以下配置选项组合小切片: https://developers.google.com/chart/interactive/docs/gallery/piechart#slice-visibility-threshold

    要在reporting application v5.x中配置此功能,请使用图表配置的高级部分(图表编辑-小部件选项卡-高级属性-额外选项)

    :{
        sliceVisibilityThreshold: 0.01,
        pieResidueSliceLabel: 'Misc' 
    }
    

    Example of the configuration

    推荐文章