New Metronic Docs!Added Integration Docs with Starter Kits Apps for Laravel, Angular, Vue, Symfony, Blazor Server, Django & Flask & more
Browse Docs

ApexCharts: hideSeries Error


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


Code example:

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');


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (3)


Thanks, now is solved



Hi happy,

Great! Glad to hear that. If you need any further help please do let us know.

Regards.


Your Support Matters!

We will highly appreciate your Metronic Review on Themeforest.
Please go to Themeforest Downloads page, select Metronic & leave your feedback.

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.


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(