Hi Durga,
thanks for the effort but it would only solve my issues if i could use it to have this:
|
public tooltip: TooltipSettingsModel = {
enable: true,
template: '<div id="Tooltip"></div>'
};
public tooltipRender(args : ITooltipRenderEventArgs ): void {
args.template = '<div id="Tooltip"><table style="width:100%;border: 1px solid black;" class="table-borderless">' +
'<tr><td style="height: 25px; width: 50px; background-color: #C1272D; font-size: 13px; color: #E7C554; font-weight: bold; padding-left: 5px">' +
'${x}</td><td style="height: 25px; width: 50px; background-color: #C1272D; font-size: 13px; color: #FFFFFF; font-weight: bold; padding-left: 5px">' +
'${y}</td></tr><tr><td style="height: 25px; width: 50px; background-color: #C1272D; font-size: 13px; color: #FFFFFF; font-weight: bold; padding-left: 5px">GDP ' + args.series.dataSource[args.data.pointIndex].gdp +'</td><td style="height: 25px; width: 50px; background-color: #C1272D; font-size: 13px; color: #FFFFFF; font-weight: bold; padding-left: 5px"> Lit '+ args.series.dataSource[args.data.pointIndex].literacy + '</td>' +
'</tr></table></div>';
}; |