.Web Tools > 单元格 > 迷你图

Web_spark_nphist    

简述
样式-单元格-正负、盈亏柱形图-迷你图

强制以0轴作为起点或终点
  设置optstyle可指定高度和留白。
  optstyle := array('height':'50px','padding':'5px')
定义
Web_spark_nphist(T:Array of number;Ncolor:String;Pcolor:String;Ifalign:Bool;Min:Number;Max:Number;Optstyle:Array of string;Bgcolor:String):Array
参数
名称类型说明
TArray of number Array of number,一维数字数组
NcolorString String,负值颜色
PcolorString String,正值颜色
IfalignBool Bool,False:强制以0轴作为起点或终点,脱离0轴,请使用Web_Spark_Hist
True:固定以0轴做对齐。
MinNumber Number,最小值,默认取序列最小值
MaxNumber Number,最大值,默认取序列最大值
OptstyleArray of string Array of string, 可选样式数组
BgcolorString String,背景色
返回Array 可解析成htm的字符串
相关