概览配置项
Scale  

* this is inner use for axis * 用于坐标系上坐标刻度的配置
配置项
参数类型描述定义ichartjs_evens='ichartjs_table_even'>borderObjectSpecifies the border for this component
Element
decimalsnumNumber显示百分比精确小数点位数
ScalefontStringSpecifies the font of this component.(default to 'Verdana')
Element
fontsizeNumberSpecifies the font size of this component in pixels.(default to 12)
ElementfontweightStringSpecifies the font weight of this component.(default to 'normal')
Element
gradientBooleanindicate whether there has a effect of color gradient
ComponentidStringThe unique id of this module (defaults to an auto-assigned id).
Element
join_sizeNumberScalejoin_styleStringthe style of overlapping(default to 'none')
Available value are:
@Option 'square'
@Option 'round'
@Option 'none'
Scale
scale2gridBooleanindicate whether the grid is accord with scale
Scalescale_line_enableBoolean是否显示刻度
Scale
shadowBooleanSpecifies whether the component should be show a shadow.(default to false)
Elementshadow_blurNumberHow blur you want your shadow to be.(default to 4)
Element
shadow_colorStringSpecifies the color of your shadow is.(default to '#666666')
Elementshadow_offsetxNumberHorizontal distance (x-axis) between the shadow and the shape in pixel.(default to 0)
Element
shadow_offsetyNumberVertical distance (y-axis) between the shadow and the shape in pixel.(default to 0)
ElementstyleStringCustom style specification to be applied to this element.(default to '')
like this:'padding:10px;font-size:12px'
Painter
whichStringthe axis's type(default to 'h')
Available value are:
@Option 'h' :horizontal
@Option 'v' :vertical
Scale
参考:Component