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

how to set the padding of the labels? #6

Open
zcaudate opened this issue Apr 14, 2019 · 4 comments
Open

how to set the padding of the labels? #6

zcaudate opened this issue Apr 14, 2019 · 4 comments

Comments

@zcaudate
Copy link

zcaudate commented Apr 14, 2019

current the call

(build/add-label :top title {:font-size 20 :font-style :bold :color "#00c"}) 

adds a title to the graph, but it looks slightly cramped:

Screen Shot 2019-04-14 at 1 57 59 pm

is it possible to adjust the label (padding, align, etc?)

@genmeblog
Copy link
Contributor

try :margin (build/add-label :top title {:font-size 20 :font-style :bold :color "#00c" :margin 16})

if you want to change bar labels from keywords change formating (update-scale :x :fmt name)

@zcaudate
Copy link
Author

Is there any way of figuring out what the parameters are for each build step?

@genmeblog
Copy link
Contributor

well, most of the parameters are in the config.clj file. But not all of them. I'm rebuilding configuration to be self-documented. So you need wait a while for complete information. In the meantime just drop a message here or on Zulip

@zcaudate
Copy link
Author

great. looking forward to it.

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

No branches or pull requests

2 participants