Super Sale Limited Time 50% OFF for All-Access Plans
Save 50% Now

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
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • 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
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(