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
issue:
I want to setup a min and max value on Xaxis. I wrote a test function to achieve this but I'm not getting any result and no errors at all.
code example:
xaxis: {
type: 'datetime',
labels: {
format: 'HH:mm'
},
tickAmount: 2,
// min: 1675123200000, // this work perfectly
max: 1675206000000,
// rewriting the min to get a dynamic value
min: function start(min) {
min = 1675123200000;
console.log('MIN', min);
return min;
}
Is this something that is not allowed on ApexChart or is something I'm doing wrong?
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
Uh oh!
There was an error while loading. Please reload this page.
-
type chart: rangeBar
type xaxis: datetime
date format: timestamp
issue:
I want to setup a min and max value on Xaxis. I wrote a test function to achieve this but I'm not getting any result and no errors at all.
code example:
Is this something that is not allowed on ApexChart or is something I'm doing wrong?
Beta Was this translation helpful? Give feedback.
All reactions