Apply this patch on client will work as per your expectation. === modified file 'bin/tinygraph/__init__.py' --- bin/tinygraph/__init__.py 2009-08-20 18:06:45 +0000 +++ bin/tinygraph/__init__.py 2009-08-27 09:31:49 +0000 @@ -73,7 +73,8 @@ explode = map(lambda x: (x%4==2) and 0.06 or 0.0,range(len(value))) colors = choice_colors(len(value)) aa = subplot.pie(value, autopct='%1.1f%%', shadow=True, explode=explode, colors=colors) - labels = map(lambda x: x.split('/')[-1], labels) + labels = map(lambda x: x, labels) +# labels = map(lambda x: x.split('/')[-1], labels) subplot.legend(aa[0], labels, shadow = True, loc = 'best', prop = font_property) elif type == 'bar': @@ -118,7 +119,8 @@ if True: if len(axis_group)>1: - axis_group = map(lambda x: x.split('/')[-1], axis_group) + axis_group = map(lambda x: x, axis_group) +# axis_group = map(lambda x: x.split('/')[-1], axis_group) subplot.legend(gvalue2,axis_group,shadow=True,loc='best',prop = font_property) else: t1 = [ axis_data[x]['string'] for x in axis[1:]]
------------------------ OpenERP=Easier, Adaptable, Affordable, Modular -------------------- m2f -------------------- -- http://www.openobject.com/forum/viewtopic.php?p=42027#42027 -------------------- m2f -------------------- _______________________________________________ Tinyerp-users mailing list http://tiny.be/mailman2/listinfo/tinyerp-users
