// add your additional code here
<ejs-chart style='display:block;'[chartArea]='chartArea' align='center' id='chartcontainer' [primaryXAxis]='primaryXAxis' [primaryYAxis]='primaryYAxis'
[title]='title' [tooltip]='tooltip' (textRender)='textRender($event)' (pointRender)='pointRender($event)' (load)='load($event)'(loaded)='loaded($event)'>
<e-series-collection>
<e-series [dataSource]='data4' type='Line' xName='x' yName='y' fill = 'blue' [marker]='marker' width=2> </e-series>
</e-series-collection>
</ejs-chart>
// add your additional code here
public pointRender(args: IPointRenderEventArgs): void {
if (args.point.index == 1) {
args.series.marker.imageUrl = 'https://ej2.syncfusion.com/demos/src/tab/images/employees/8.png';
} else if (args.point.index == 2) {
args.series.marker.imageUrl = 'https://ej2.syncfusion.com/demos/src/tab/images/employees/1.png';
}
} |
// add your additional code here
public pointRender(args: IPointRenderEventArgs): void {
if (args.point.index === 1) {
args.point.marker.imageUrl =
'https://ej2.syncfusion.com/demos/src/tab/images/employees/8.png';
} else if (args.point.index === 2) {
args.point.marker.imageUrl =
'https://ej2.syncfusion.com/demos/src/tab/images/employees/1.png';
}
}
// add your additional code here
|
Hi Scott,
Most welcome.
We will let you know, once this fix had been included in our weekly release as promised. We appreciate your patience until then.
Thanks,
Srihari