Liking cljdoc? Tell your friends :D

metabase.pulse.render


*include-buttons*clj

Should the rendered pulse include buttons? (default: false)

Should the rendered pulse include buttons? (default: `false`)
sourceraw docstring

*include-title*clj

Should the rendered pulse include a title? (default: false)

Should the rendered pulse include a title? (default: `false`)
sourceraw docstring

*render-img-fn*clj

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`.
sourceraw docstring

color-gray-4clj

A ~25% Gray color.

A ~25% Gray color.
sourceraw docstring

count-displayed-columnsclj

(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
sourceraw docstring

detect-pulse-card-typeclj

(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`.
sourceraw docstring

include-csv-attachment?clj

(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
sourceraw docstring

render-pulse-card-for-displayclj

(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
sourceraw docstring

render-pulse-card-to-pngclj

(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...)
sourceraw docstring

render-pulse-sectionclj

(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.
sourceraw docstring

section-styleclj

(section-style)

CSS style for a Pulse section.

CSS style for a Pulse section.
sourceraw docstring

styleclj

(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;"
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close