Home forums Using CanvasJS Zero line in line chart for second yaxis without further grid Reply To: Zero line in line chart for second yaxis without further grid

#22450

Streifix
Member

Dear Vishwas,

thaas not what I wanted. I wanted only the zero line displayed and not the whole grid.

Now I found a simple solution using stripLines:

I added in the axis definition:

stripLines:[
			{                
				value: 0,             
			}
			] ,

and now I got the desired result.

Streifix