I want to add multiple condition to same rule in responsive. Actually, I want to set a rule between 968px and 1080px for example. (like an interval) These two approaches couldn't work:
Code: Select all
responsive: {
rules: [
{
condition: {
maxWidth: 1080,
minWidth: 968,
},
chartOptions: {
chart: {
width: 120,
},
},
},
],
},
Code: Select all
responsive: {
rules: [
{
condition: {
maxWidth: 1080,
},
condition:{
minWidth: 968,
}
chartOptions: {
chart: {
width: 120,
},
},
},
],
},
Thank you for your consideration!