Posted on Feb 19, 2015 by
Quick Horse
Hi flot devs,
I am not sure whether it is a bug or not. I am using flot to display a piechart. with a sample dataset as follows:
var data= [ {data:111, label:"test1"}, {data:222, label:"test2"}, {data:333, label:""} ];
The piechart displays 3 of them, however the Legend only displays 2 labels: test1 and test2.
I have played around with legend.labelFormatter , but even though my code runs "if label is empty then change label value to 'Blank'", the legend label is still not displayed.
Please advise
Status: New
Labels:
Type-Defect
Priority-Medium