Template:Chart bar

From Visual Data Wiki
Revision as of 13:52, 19 March 2024 by Uschuetzenmeister (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This template prepares data for display as a Chart.js doughnut chart using the Widget:Chartjs bar.

{{#widget:Chartjs_bar
|title = Test Predicted world population (millions) in 2050
|data_labels = Africa, Asia, Europe, Latin America, North America
|data_series = 2478,5267,734,784,433
|data_identifier = Population (millions)
|colors = #3e95cd, #8e5ea2, #3cba9f, #e8c3b9, #c45850
|legend = yes/no <!-- default: yes -->
|orientation = vertical/horizontal <!-- default: vertical -->
}}