How to use the DataFlex Chart Library
Lesson 1 - Chart Library overview
Introduction
- The lesson focuses on giving an overview of the Chart Library.
What the Chart Library Is
- The Chart Library is a wrapper around existing JavaScript charting libraries.
- It supports popular libraries such as Chart.js, Syncfusion, and Highcharts.
- This abstraction lets you work with charts from DataFlex without directly handling the JavaScript implementation.
What the Chart Library Allows You to Do
- Visualize data in the form of charts.
- Easily analyze information and identify trends (e.g., seeing in which month product sales were highest).
Key Features
- Simple API:
- Creating a chart is straightforward—fill a small struct and call a procedure.
- The chart then renders in the browser with minimal effort.
- Flexible Providers & Chart Types:
- You can switch between charting libraries (Chart.js, Highcharts, Syncfusion).
- You can also change chart types (line chart, bar chart, pie chart, etc.) without major code changes.
What’s Coming Next
- The next lesson will cover how to set up a chart and populate it with data.