SigmaKit.Components.Charts (sigma_kit v0.0.2)

Summary

Functions

Attributes

  • chart_id (:string) (required)
  • class (:any) - Defaults to "".

Attributes

  • chart_id (:string) (required)
  • options (:map) (required)
  • class (:any) - Defaults to "".
  • autocolor (:boolean) - Defaults to false.
  • canvas_width (:string) - Defaults to "100%".
  • canvas_height (:string) - Defaults to "100%".
  • y_label_format (:any) - Defaults to nil.

Functions

bar_chart(assigns)

Attributes

  • chart_id (:string) (required)
  • class (:any) - Defaults to "".

chart(assigns)

Attributes

  • chart_id (:string) (required)
  • options (:map) (required)
  • class (:any) - Defaults to "".
  • autocolor (:boolean) - Defaults to false.
  • canvas_width (:string) - Defaults to "100%".
  • canvas_height (:string) - Defaults to "100%".
  • y_label_format (:any) - Defaults to nil.