- Highcharts Essentials
- Bilal Shahid
- 125字
- 2021-08-05 17:35:53
Adjusting ticks and other chart elements
We can adjust the interval between the ticks that appear on the y axis by using the tickInterval
property:
- Modify the
yAxis
component from the previous example to set a difference of 1 between each tick:yAxis: { title: { text: 'Revenue (in U.S. billion dollars)' }, tickInterval: 1 }
- We can also include HTML in our titles and other text properties by enabling the
useHTML
property. Let's point to the actual data source in our subtitle:subtitle: { text: 'Source: <a title="NPD Group">NPD Group</a>; AFJV', useHTML: true }
- Now, add a bit of CSS styling by using the
style
property:style: { color: '#000000', textDecoration: 'underline' }
The resulting chart from the previous modification will be like the following screenshot:

推薦閱讀
- Vue.js 3.x快速入門
- 復雜軟件設計之道:領域驅動設計全面解析與實戰
- R語言數據分析從入門到精通
- Getting started with Google Guava
- C語言程序設計案例教程(第2版)
- Web Application Development with R Using Shiny(Second Edition)
- oreilly精品圖書:軟件開發者路線圖叢書(共8冊)
- Practical Windows Forensics
- Visual Basic程序設計教程
- Visual Basic程序設計
- Python機器學習:預測分析核心算法
- 軟件工程與UML案例解析(第三版)
- HTML5游戲開發實戰
- Functional Python Programming
- 軟硬件綜合系統軟件需求建模及可靠性綜合試驗、分析、評價技術