This section is regarding Methods and Properties available in the Legend element.
Method | Description | Example |
---|---|---|
get(String propertyName) | Returns the specified property of legend | chart.legend.get(“maxWidth”); |
set(String propertyName, Mixed value [,Boolean updateChart = true]) | Sets the specified property of legend & optionally updates (default) the chart. | chart.legend.set(“fontColor”, “red”); |
Can be accessed via get method or dot notation.
Property | Description | Example |
---|---|---|
bounds | Bounding rectangle of legend: {x1, x2, y1, y2} | chart.bounds / chart.legend.get(“bounds”) |
All Legend options become available as properties after Chart Render. You can access them either via get method or dot notation. But you can change / set those values only via set method.
Please refer to Legend Element for complete list of properties available.
Also See:
Server Side Technologies |
Front End Technologies |
Contact |
|
---|---|---|---|
ASP.NET MVC Charts | JavaScript Charts | FAQs | |
PHP Charts | jQuery Charts | Sales Enquiries | |
Spring MVC Charts | React Charts | Support Forum | |
JSP Charts | Angular Charts | Careers | |
JavaScript StockCharts | |||
Privacy Policy © fenopix