Search results

Chart Tab in JavaScript (ES5) Chart control

By using Tab control you can add the charts inside of the tab. Tab control contains content property. By setting container ID in content property, you can display chart in tab.

The following code sample demonstrates the output

<!DOCTYPE html><html lang="en"><head>
    <title>EJ2 Animation</title>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="Typescript UI Controls">
    <meta name="author" content="Syncfusion">
    <link href="index.css" rel="stylesheet">
<script src="" type="text/javascript"></script>

   <div class="col-lg-12 control-section">
    <div class="e-sample-resize-container">
        <div id="tab_default">
         <div id="container">
          <div id="container1">
           <div id="container2">

var ele = document.getElementById('container');
if(ele) { = "visible";
<script src="index.js" type="text/javascript"></script>