Bug 1778451: Show legend in charts
Use correct variable in template when creating the legend for charts. In Chart.js legendTemplate uses var 'datasets' or 'segments' depending on the type of charts type Doughnut/PolarArea/Pie use segments type Line/Radar/Bar use datasets We have to check which one is defined in the Chart object before modifying the legend template Also delayed the updating of page by .5 secs so not to clash with chart jsons stuff behatnotneeded Change-Id: Id3ef35a5037ac2c30d342279e0af7052584f7d16
-
mentioned in commit c0715612
-
mentioned in commit 7b9303eb875ed46b8f9d32c80aac032ef30d88b2
Please register or sign in to comment