kongemom1215 opened a new issue, #20580:
URL: https://github.com/apache/echarts/issues/20580
### What problem does this feature solve?
Hello, I’m using Heatmap with Echarts.
I set the x,y coordinates to `type:value` and use a heatmap, but the cell
size is fixed to 1 both horizontally and vertically.
Is there a function to adjust width and height? If not, can you please apply
it?
I desperately need it.. 😂😂
### What does the proposed API look like?
option = {
grid: {
height: ‘50%’,
width: ‘40%’,
top: ‘10%’,
left: ‘30%’,
},
xAxis: {
type:’value’,
splitArea:{
show:true
},
splitNumber: 1
},
yAxis: {
type:’value’,
splitArea:{
show:true
},
splitNumber: 1
},
series: [
{
name: ‘Field’,
type: ’heatmap’,
coordinateSystem:’cartesian2d’,
itemStyle: {
color:’#ffdddd’,
borderWidth:1,
borderColor:’#000’
},
data: [[0.5,0.5,0.5],[-0.5,-0.5,-0.5]]
}
]
};
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]