Size of container |
Size of chart |
<div style="width: 600px; height: 400px">
<ejs-chart style='display:block' id='chartcontainer' [title]='title' [primaryXAxis]='primaryXAxis' [primaryYAxis]='primaryYAxis'
[tooltip]='tooltip' (load)='load($event)' [chartArea]='chartArea' >
<e-series-collection>
<e-series [dataSource]='data' type='Line' xName='x' yName='y' name='Germany' width=2 [marker]='marker'> </e-series>
<e-series [dataSource]='data1' type='Line' xName='x' yName='y' name='England' width=2 [marker]='marker'> </e-series>
</e-series-collection>
</ejs-chart>
</div> |
<div style="width: 600px; height: 400px">
<ejs-chart style='display:block' id='chartcontainer' width="300" height="300" [title]='title' [primaryXAxis]='primaryXAxis' [primaryYAxis]='primaryYAxis'
[tooltip]='tooltip' (load)='load($event)' [chartArea]='chartArea'>
<e-series-collection>
<e-series [dataSource]='data' type='Line' xName='x' yName='y' name='Germany' width=2 [marker]='marker'> </e-series>
<e-series [dataSource]='data1' type='Line' xName='x' yName='y' name='England' width=2 [marker]='marker'> </e-series>
</e-series-collection>
</ejs-chart>
</div> |
While setting Size of container |
While setting Size of chart |
|
|