Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

macro #118

Open
rkhamis opened this issue Sep 10, 2015 · 1 comment
Open

macro #118

rkhamis opened this issue Sep 10, 2015 · 1 comment

Comments

@rkhamis
Copy link
Owner

rkhamis commented Sep 10, 2015

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
Copy link
Owner Author

rkhamis commented Sep 10, 2015

Fixed by Tayseer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant