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.
推薦閱讀
- Mastering OpenLayers 3
- C++ Primer習題集(第5版)
- 數據庫原理及應用(Access版)第3版
- 新編Premiere Pro CC從入門到精通
- Java:Data Science Made Easy
- Python面向對象編程:構建游戲和GUI
- Oracle GoldenGate 12c Implementer's Guide
- Python程序設計開發寶典
- 零基礎看圖學ScratchJr:少兒趣味編程(全彩大字版)
- Python 3 Object:oriented Programming(Second Edition)
- Java程序設計教程
- VMware vSphere Design Essentials
- Swift 2 Design Patterns
- Spring Boot 2+Thymeleaf企業應用實戰
- Scratch超人漫游記:創意程序設計:STEAM創新教育指南