bar_chart(EntryReference $label, References $datasets) : BarChart
Extracts
Read from various data sources.
Transforms
Shape and optimize for your needs.
Loads
Store and secure in one of many available data sinks.
Modules
DSL Functions
DSL stands for Domain Specific Language. In the case of Flow, the DSL is used to define simple functions that can be used to transform data. Most of those functions are initializing a new instance of a class under the hood since Flow is fully object-oriented. Please look at the examples below to get a better understanding of how to use the DSL functions.
HELPER
line_chart(EntryReference $label, References $datasets) : LineChart
pie_chart(EntryReference $label, References $datasets) : PieChart
LOADER
to_chartjs(Chart $type) : ChartJSLoader
/**
* @param Chart $type
* @param null|Path|string $output - @deprecated use $loader->withOutputPath() instead
* @param null|Path|string $template - @deprecated use $loader->withTemplate() instead
*/
to_chartjs_file(Chart $type, Path|string|null $output, Path|string|null $template) : ChartJSLoader
/**
* @param Chart $type
* @param array $output - @deprecated use $loader->withOutputVar() instead
*/
to_chartjs_var(Chart $type, array $output) : ChartJSLoader