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.
推薦閱讀
- Web Development with Django Cookbook
- Spring實戰(zhàn)(第5版)
- 大數據分析與應用實戰(zhàn):統(tǒng)計機器學習之數據導向編程
- Python算法詳解
- Linux Shell核心編程指南
- QGIS Python Programming Cookbook(Second Edition)
- 多模態(tài)數據分析:AGI時代的數據分析方法與實踐
- Java程序設計與項目案例教程
- RESTful Web API Design with Node.js(Second Edition)
- 計算機應用基礎(Windows 7+Office 2010)
- Android項目實戰(zhàn):博學谷
- GO語言編程從入門到實踐
- 微信公眾平臺服務號開發(fā):揭秘九大高級接口
- 嵌入式Linux與物聯網軟件開發(fā):C語言內核深度解析
- 零基礎學Python(升級版)