Customizing the chart background
The chart background is the most prominent aesthetic element of the chart, and goes a long way in keeping the look of the chart in sync with the complete application. The 3D charts have a white background by default, and the 2D ones have a light gray one.
Just like you had set the chart caption using<chart caption='Harry's SuperMart' ...>
, the background color is also customized using XML/JSON attributes of the<chart>
element. We will be using XML examples throughout the chapter as they are more human-readable, and implementing them in JSON should be no rocket science.
推薦閱讀
- Modular Programming with Python
- 深入淺出Prometheus:原理、應用、源碼與拓展詳解
- Programming ArcGIS 10.1 with Python Cookbook
- 編寫高質量代碼:改善Python程序的91個建議
- Mastering KnockoutJS
- QGIS:Becoming a GIS Power User
- Highcharts Cookbook
- Selenium Testing Tools Cookbook(Second Edition)
- Test-Driven Development with Django
- Clojure for Machine Learning
- MATLAB GUI純代碼編寫從入門到實戰
- Managing Microsoft Hybrid Clouds
- Learning Node.js for Mobile Application Development
- Real-time Web Application Development using Vert.x 2.0
- Spark Cookbook