rkhamis / testmigration

0 stars 0 forks source link

macro #118

Open rkhamis opened 9 years ago

rkhamis commented 9 years ago

http://localhost:82/system/edit?space=doc_jumpscale_portal&page=BarChart

barchart macro is very ugly

{{barchart:"Test"[[55, 20, 13, 32, 5, 1, 2, 10],[60, 3, 2, 9, 10, 20, 20, 10]]| ["HEADER 1", "HEADER 2", "HEADER 3", "HEADER 4", "HEADER 5", "HEADER 6", "HEADER 7", "HEADER 8"]| 900| 400| [55, 20, 13, 32, 5, 1, 2, 10, 60, 3, 2, 9, 10, 20, 20, 10]| {20: 'a', 13: 'b'}|

should be cleanly formatted using the full text field in hrd format {{barchart: name=Test height=900 size=400 header =HEADER 1,HEADER 2,HEADER 3,HEADER 4,HEADER 5,HEADER 6,HEADER 7,HEADER 8 data.1.legend=nr of accidents data.1.data= 55, 20, 13, 32, 5, 1, 2, 10 data.2.legend=nr of death data.2.data= 60, 3, 2, 9, 10, 20, 20, 10 }}

rkhamis commented 9 years ago

Fixed by Tayseer