Whem i try use the function hideSeries() of ApexCharts i have a error:
Uncaught TypeError: t is null
value
value
value
consultar
l
fireWith
S
i
send
ajax
t
consultar
<anonymous>
dispatch
handle
add
Se
each
each
Se
on
<anonymous>
c
u
setTimeout handler*Deferred/then/s/<
l
fireWith
fire
l
fireWith
ready
z
EventListener.handleEvent*
<anonymous>
<anonymous>
plugins.bundle.js:101:171275
var options = {
chart: {
height: 380,
width: "100%",
type: "line"
},
series: [
{
name: "Series 1",
data: [10,30,20,70,80]
},
{
name: "Series 2",
data: [40,40,100,10,50]
}
]
};
chart = new ApexCharts(element, options);
chart.render();
chart.hideSeries('Series 2');
Thanks, now is solved
Hi ,
Great! Glad to hear that. If you need any further help please do let us know.
Regards.
Hi,
May I know what is your Metronic version and which build method are you using(gulp or metronic)? Does it work out Metronic ? Can you verify if this is plugin's original issue or it's caused by Metronic. Also please try to use the latest Metronic v8.1.8 by download it from themeforest.
Regards.