youcef92 / flotr

Automatically exported from code.google.com/p/flotr
0 stars 0 forks source link

Custom Tick Label #158

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
like in issue 80 i want to label my x data in a non mumeric way.

I have used this type of data {data: [[2, 18, "The biggest bar"]]} but i can 
use only on markerFormatter and trackFormatter not in tickFormatter.

another possible enhancement is optionized this feature so i havent to use 
obj.series.data[obj.index][2]

Original issue reported on code.google.com by mil...@gmail.com on 9 Dec 2010 at 10:43

GoogleCodeExporter commented 8 years ago
You have to use the "ticks" attribute of the xaxis/yaxis options, like it is 
done here for the min and the max Y values :

http://flotr.googlecode.com/svn/trunk/flotr/examples/prototype/advanced-titles.h
tml

Original comment by fabien.menager on 14 Dec 2010 at 7:20