You can use the visible property in majorGridLines and majorTickLines properties of an axis to hide the visibility of major grid lines and major ticks in that axis. This is illustrated in the following code example. JS $("#container").ejChart({ primaryXAxis: { majorGridLines: { visible: false }, majorTickLines: { visible: false } } }); The following screenshot displays the Chart without major grid lines and major ticks in primary X axis. Figure 1: Chart without major grid lines and major ticks in primary X axis JS Playground sample link: Gridlines and ticks |
This page will automatically be redirected to the sign-in page in 10 seconds.