Home forums Using CanvasJS Chart in div hidden Reply To: Chart in div hidden



you can specify the height and width of the graph in the code, that way when the graph renders in a hidden div it will have the proper height and width. You can only specify in pixels though and not percent.

				  height: 550, //in pixels
				  width: 600,
			      zoomEnabled: true,      
			      colorSet:  "colorSet",
			       fontSize: 30,
			       text: "Activity",