You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have 2 series and I want to set min/max based only on the values of one off them EVAL:(seriesName, opts) => { return opts.w.globals.series[0].reduce((a, b) => Math.max(a, b), -Infinity) }
This gets me MIN value for series "0" but I am not able to use it to set min max values for series "1"
yaxis:
- id: left
min:
max:
does not accept EVAL
/// apexcharts-card version 2.0.4 /// Bad yaxis min/max format: EVAL:(seriesName, opts) => { return Math.round((opts.w.globals.series[2].reduce((a, b) => Math.max(a, b), -Infinity) + 0.1) * 10) / 10 }
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have 2 series and I want to set min/max based only on the values of one off them
EVAL:(seriesName, opts) => { return opts.w.globals.series[0].reduce((a, b) => Math.max(a, b), -Infinity) }
This gets me MIN value for series "0" but I am not able to use it to set min max values for series "1"
does not accept EVAL
and
does not accept min/max
Any solutions?
Beta Was this translation helpful? Give feedback.
All reactions