Open SerhEL opened 5 months ago
I don't think you can directly affect that. Echarts.js is designed to be fully responsive.
If you want to do that you would have to force set the width and height of the plot in pixels.
I don't think you can directly affect that. Echarts.js is designed to be fully responsive. If you want to do that you would have to force set the width and height of the plot in pixels.
Is it possible to calculate the optimal width on the X axis based on the number of labels?
I don't think there is need for that normally width = height gives you a square with square grid.
You could do nrow * n_pixels
maybe.
There maybe a fixed padding to add to height and/or width
I want to change the width and height of the heatmap elements to make them square. Here is my code: