默认情况下,flot 会生成这样的图例块(表)([#] - 颜色框):
_________________
|_[#]_|_label_1_|
|_[#]_|_label_2_|
|_..._|_......._|
我想要这样的横向传说:
______________________________.______________________________
|_[#]_|_My_long_label_1_______|_[#]_|_My_another_label_2____|
|_[#]_|_Trololo_label_here____|_[#]_|_hell,_yeah!___________|
.............................................................
我已经尝试使用 labelFormatter() 但失败了 =(
我为每个系列元素添加了订单号,并且可以在 labelFormatter() 中使用它(例如 ...if(series.num % 2 == 0) { ...next row... }