Bar Chart
Last updated
Was this helpful?
Last updated
Was this helpful?
In Lowcoder, the Bar Chart component enables the visualisation of categorical data through rectangular bars, making it ideal for comparing quantities across different categories.
Key Features:
Data Binding: The Bar Chart can display data from arrays of JavaScript objects, with each object representing a data point. For example:
This data structure allows for straightforward mapping of categories and values on the chart.
Chart Configuration: Drag a Bar chart from the Components panel on right side. Adjust settings such as axis types, labels, and series to tailor the chart to your data.
Dynamic Data Transformation: Utilize JavaScript within Lowcoder to transform and manipulate data before rendering. This is particularly useful when working with data from queries that may need restructuring. For instance, transforming query results into the desired format for the chart.
Styling and Theming: Apply custom styles to the Bar Chart to match your application's design. This includes modifying colors, fonts, and other visual elements. Additionally, you can integrate Apache ECharts for advanced customization by providing a JSON configuration in the chart's settings.