In the heatmap-large example , i can change xAxis and yAxis type to be either category or value, but in my typescript App, it gives error (using the same minimum option as above for both the example and my app):
"Heatmap on cartesian must have two category axes". However, i hope the axis to be value type so I can set min and max.
Expected Behavior
Axis type as value should also work in my app as in the heatmap-large example
Environment
- OS:
- Browser:
- Framework:
Any additional comments?
I am curious why with same version, same option, it works in the Heatmap-large example but not working in my app. I am wondering if it is because I am importing echarts library and then use it in my react project, while the example page is using compiled minified echarts through Githubissues.
Githubissues is a development platform for aggregating issues.
Version
5.3.2
Link to Minimal Reproduction
No response
Steps to Reproduce
Current Behavior
In the heatmap-large example , i can change xAxis and yAxis type to be either
category
orvalue
, but in my typescript App, it gives error (using the same minimum option as above for both the example and my app): "Heatmap on cartesian must have two category axes". However, i hope the axis to bevalue
type so I can set min and max.Expected Behavior
Axis type as
value
should also work in my app as in the heatmap-large exampleEnvironment
Any additional comments?
I am curious why with same version, same option, it works in the Heatmap-large example but not working in my app. I am wondering if it is because I am importing echarts library and then use it in my react project, while the example page is using compiled minified echarts through Githubissues.