-
Notifications
You must be signed in to change notification settings - Fork 141
140_Standard_Values
Previous Page Next Page Table of content
When declaring fonts, the library explorercanvas requires the font name to be in single quotes inside the string. For example, instead of your scaleFontFamily property being simply "Arial", explorercanvas support, use "'Arial'" instead. ChartNew.js does this for default values. When you have to specify a font family in a parameter, you can specify any valid font value. See following site to get a list of font : http://www.tutorialspoint.com/html5/html5_fonts.htm
In the parameters for font style, you can define lot of things… The most interesting ones are : “italic”, “bold”, “normal” and “italic bold” See following site to get full description of what you can define : http://www.w3schools.com/tags/canvas_font.asp
The color attribute should be a string. Similar to CSS, for this string you can use HEX notation, RGB, RGBA or HSL. See following site to get a full description of what you can define : http://www.w3schools.com/cssref/css_colors_legal.asp
Some parameters have to define a mouse action : a specific action will be proceeded when you perform an action with the mouse on the chart. For instance, when the annotateDisplay option is set to true, the value of an area is displayed when the mouse is hover an area. By defaut, the mouse action associated to the annotateDiplay is “mousemove; So when you move the mouse over an area, the annotate is displayed. If you prefer that the action is a right click over the area, change option annotateFunction to “mousedown right”.
Allowed values for the mouse options : “mousemove”,”mousedown right”, “mousedown left”, “mousedown middle”