generateme/cljplot

how to set the padding of the labels?

Opened this issue · 4 comments

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?)

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)

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

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

great. looking forward to it.