zoukankan      html  css  js  c++  java
  • PB 饼状图制作过程

    1,图形DataWindow数据源(Data)设置。Category设置为数据分类字段,Value设置为数据值字段。其中Series不设置任何信息保持为空。

    2、图形DataWindow显示信息(Text)设置。Legend设置为数据分类名称,Pie Grahp Lables设置为数据比例信息。

    实际运用举例:某电厂的设备缺陷统计信息。数据分类字段为 Special_code  数据值为 汽机,锅炉,电工,热工,化学,烟气。数据值字段为 Special_num.

      

    3、Legend 的Display Expression 设置为:  case(  category when '01' then '汽机' when '02' then '锅炉' when '03' then '电气'  when '04' then '热工'  when '05' then '化学' when '06' then '烟气' else '未定义')来控制显示左侧的显示信息。

    4、Pie Graph Labels 设置 饼状图显示的百分比信息。Display Expression设置为 :if(seriescount > 1, series ,string(percentofseries,"0.00%") +  case(  category when '01' then '汽机' when '02' then '锅炉' when '03' then '电气'  when '04' then '热工'  when '05' then '化学' when '06' then '烟气' else '未定义'))      。其中if(seriescount > 1, series ,string(percentofseries,"0.00%") 为默认信息if(seriescount > 1, series ,string(percentofseries,"0.00%") +  case(  category when '01' then '汽机' when '02' then '锅炉' when '03' then '电气'  when '04' then '热工'  when '05' then '化学' when '06' then '烟气' else '未定义'))    为说明信息,是手工加入的。饼状图信息基本设置完毕。

  • 相关阅读:
    详解MathType中如何插入特殊符号
    详解如何将MathType嵌入word中
    MathType公式编辑器快捷键操作
    MathType初级教程:怎么安装MathType
    AOPR密码过滤器
    教您如何在Word的mathtype加载项中修改章节号
    在word文档中如何插入Mathtype公式
    详解MathType中如何更改公式颜色
    静态缓存和动态缓存
    ThinkPHP U函数生成URL伪静态
  • 原文地址:https://www.cnblogs.com/honliv/p/2042873.html
Copyright © 2011-2022 走看看