We have learned how to make chart. As we know, chart data in data visualization can be directly from data set and from cell data.

Then, for chart, how to bind data set or the data field chart in the cell or how to display the data in data set.

The chart defines chart data by binding the fields in data set or cells to the category axis, Series name and Series value of chart.

We will give a detailed introduction about different data sources and setting methods of chart data about FineReport reporting tool.

Field Name as SeriesValue

1. Description
If chart data can be directly extracted from dataset and chart’s seriesname is field name, chart series value corresponds to field value, we can define chart through “data source of dataset-field name as SeriesValue”.

Like the regional salesvolume chart:

2.Chart Data Source

Chart data comes from dataset

As known from desired effect

Category axis Area Area field
Series name Sales volume Sales volume field name
Series value Sales volume value Sales volume field value and SUM

3.Define Chart Data

After affirming Category, SeriesName and SeriesValue, now we set chart data source as shown below:

Field Value as SeriesValue

1.Description

If chart data can be directly extracted from dataset and chart’s seriesname comes from one data column, we can define chart through “data source of dataset-field value” as SeriesValue like the template Chart.cpt made in chapter “Introduction—Chart Making Procedure”.

2.Chart Data Source

Chart data comes from dataset and seriesname is field value.

As known from desired effect

Category axis Area Area field
Series name Product name Product type field
Series value Sales volume value Sales volume fields and SUM

3.Define Chart Data

After affirming Category, SeriesName and SeriesValue, now we set chart data source as shown below: