<div id="chart">
<div class="toolbar">
<button id="one_month"
onClick={()=>this.updateData('one_month')} className={ (this.state.selection==='one_month' ? 'active' : '')}>
1M
</button>
<button id="six_months"
onClick={()=>this.updateData('six_months')} className={ (this.state.selection==='six_months' ? 'active' : '')}>
6M
</button>
<button id="one_year"
onClick={()=>this.updateData('one_year')} className={ (this.state.selection==='one_year' ? 'active' : '')}>
1Y
</button>
<button id="ytd"
onClick={()=>this.updateData('ytd')} className={ (this.state.selection==='ytd' ? 'active' : '')}>
YTD
</button>
<button id="all"
onClick={()=>this.updateData('all')} className={ (this.state.selection==='all' ? 'active' : '')}>
ALL
</button>
</div>
<div id="chart-timeline">
<ReactApexChart options={this.state.options} series={this.state.series} type="area" height={350} />
</div>
</div>