Hey Guys..
I am here by share you some advance setting or property of CCC Bar/Pie/any chart.I hope so it will be useful for someone who want to customize the chart property.
Hope this post helps someone and feel free to give comments and suggestion
Sumit Bansal
I am here by share you some advance setting or property of CCC Bar/Pie/any chart.I hope so it will be useful for someone who want to customize the chart property.
Title Label Properties
Extension
points
|
Sample
Value
|
Example
|
Description.
|
titleLabel_font
|
20
px serif
|
Arg0: titleLabel_font
Val0: 13 px serif
|
For
change the Title Label fonts , Please
note that title will be set by the “Title” Property
|
titleLabel_fillStyle
|
blue
|
Arg0: titleLabel_fillStyle
Val0: blue
|
-
|
titleLabel_textAngle
|
-0.2
|
Arg0:titleLabel_textAngle
Val0: -0.2
|
To
rotate the title label.
|
titleLabel_textAlign
|
left
|
Arg0: titleLabel_textAlign
Val0: center
|
To
Change the alignment , possible value are
“left”
, “center” ,”right”
|
titleLabel_textBaseline
|
top
|
Arg0: titleLabel_textBaseline
Val0: top
|
Base
line of text , possible values are “top” and “bottom”
|
titleLabel_textStyle
|
blue
|
Arg0: titleLabel_textStyle
Val0: blue
|
To
change the color of the text , you can also specify the color code in hexadecimal.
|
titleLabel_text
|
-
|
Arg0: titleLabel_text
Val0: Function(d) { return d.substr(3);
}
|
Use
for dynamic Title change, you can include any parameter over here also.
|
Hope this post helps someone and feel free to give comments and suggestion
Sumit Bansal
No comments :
Post a Comment