We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I want to display a basic Radar chart with React. This works but I get a very annoying console warning.
Not sure whether this bug is related to echarts or echarts-for-react.
echarts
echarts-for-react
Would anyone have a workaround? (I do want to remove either min or max from my config options)
min
max
echarts 5.5.1 echarts-for-react 3.0.2 react 18.3.1
import ReactECharts from "echarts-for-react"; const OPTION = { animation: false, legend: { show: false, }, radar: { indicator: [ { name: "A", min: 0, max: 1 }, { name: "B", min: 0, max: 1 }, { name: "C", min: 0, max: 1 }, ], splitNumber: 3, }, series: { data: [{ value: [0.8, 0.3, 0.5], name: "Dataset" }], type: "radar", }, tooltip: { show: true, }, }; export default function Radar() { return ( <div className="radar-container"> <ReactECharts option={OPTION} style={{ width: "100%", height: "100%", maxHeight: "320px" }} /> </div> ); }
Console warning:
Warning
[ECharts] The ticks may be not readable when set min: 0, max: 1 and alignTicks: true
No console warning
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I want to display a basic Radar chart with React. This works but I get a very annoying console warning.
Not sure whether this bug is related to
echarts
orecharts-for-react
.Would anyone have a workaround? (I do want to remove either
min
ormax
from my config options)Versions
echarts 5.5.1
echarts-for-react 3.0.2
react 18.3.1
Steps to reproduce
Environment
Current behavior
Console warning:
Warning
[ECharts] The ticks may be not readable when set min: 0, max: 1 and alignTicks: true
Expected behavior
No console warning
The text was updated successfully, but these errors were encountered: