Should the rendered pulse include buttons? (default: false
)
Should the rendered pulse include buttons? (default: `false`)
Should the rendered pulse include a title? (default: false
)
Should the rendered pulse include a title? (default: `false`)
The function that should be used for rendering image bytes. Defaults to render-img-data-uri
.
The function that should be used for rendering image bytes. Defaults to `render-img-data-uri`.
(count-displayed-columns cols)
Return a count of the number of columns to be included in a table display
Return a count of the number of columns to be included in a table display
(detect-pulse-card-type card data)
Determine the pulse (visualization) type of a CARD, e.g. :scalar
or :bar
.
Determine the pulse (visualization) type of a CARD, e.g. `:scalar` or `:bar`.
(include-csv-attachment? card {:keys [cols rows] :as result-data})
Returns true if this card and resultset should include a CSV attachment
Returns true if this card and resultset should include a CSV attachment
(render-pulse-card-for-display timezone card results)
Same as render-pulse-card
but isn't intended for an email, rather for previewing so there is no need for
attachments
Same as `render-pulse-card` but isn't intended for an email, rather for previewing so there is no need for attachments
(render-pulse-card-to-png timezone pulse-card result)
Render a pulse-card
as a PNG. data
is the :data
from a QP result (I think...)
Render a `pulse-card` as a PNG. `data` is the `:data` from a QP result (I think...)
(render-pulse-section timezone {card :card {:keys [data] :as result} :result})
Inputs: [timezone {card :card, {:keys [data], :as result} :result}] Returns: RenderedPulseCard
Render a specific section of a Pulse, i.e. a single Card, to Hiccup HTML.
Inputs: [timezone {card :card, {:keys [data], :as result} :result}] Returns: RenderedPulseCard Render a specific section of a Pulse, i.e. a single Card, to Hiccup HTML.
(section-style)
CSS style for a Pulse section.
CSS style for a Pulse section.
(style & style-maps)
Compile one or more CSS style maps into a string.
(style {:font-weight 400, :color "white"}) -> "font-weight: 400; color: white;"
Compile one or more CSS style maps into a string. (style {:font-weight 400, :color "white"}) -> "font-weight: 400; color: white;"
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close