Hi,
I am not able to customize syncfusion chart in Typescript code. It was working earlier. I am using typescript version 2.2.0. My code is below,
$("#perfTrndChart").ejChart({
series: [{
dataSource: this.chartData,
xName: this.xAxisDataName,
yName: this.yAxisDataName,
fill: this.chartSeriesColor,
type: 'line',
marker: {
shape: 'circle',
visible: "true",
border:
{
color: "green"
}
},
tooltip:
{
visible: true,
format: " #series.name# <br/>Date Time : #point.x# <br/> Value : #point.y# ",
fill: "red"
}
}]
});
Is it because of typescript version? Its working if I declare this customization in html itself. For eg, declaring series type in
<e-series name="Trend Data" [dataSource]="chartData" xName="dateX" yName="valueY" type="line" ></e-series>
Please help me out.
Note:
In attached image, you can see that, I have formatted my tooltip in typescript code. but its not shown in UI.
Attachment:
Syncfusion_chart_issue_2832404.zip