You can show or hide the grid lines of a chart by using the display key. Let's change the grid lines of the line chart that you created in the line and bar charts tutorial. This key defines options to customize the grid lines that run perpendicular to the axes. Changing Grid Lines and Axis LabelsĪll the configuration options for grid lines are nested under the scale option in the grid key. In this tutorial, you will learn how to manipulate scales and control their appearance using different options that the library provides. Scales have changed a lot since version v1.0 of the library and are now much more powerful. One aspect of Chart.js that has not been yet covered in this series is axes and scales. After reading the first four tutorials, you should now be able to customize the tooltips and labels, change the fonts, and create different chart types. In the last four tutorials, you have learned a great deal about Chart.js.
0 Comments
Leave a Reply. |