Report Authors / Report Controls / Report Controls in Page/RDLX Report / Chart / Plots / Radar Scatter and Radar Bubble Charts / Create Multi-Category Radar Scatter Chart
Create Multi-Category Radar Scatter Chart

This walkthrough creates a Multi-Category Radar Scatter Chart. The chart shows the average monthly temperature for three cities - Amsterdam, Paris, and Barcelona. The final chart appears like this:

Multi Category Radar Scatter Chart

Create a Report and Bind Report to Data

In the ActiveReports Designer, create a new RDLX report and follow the New Report wizard to bind the report to data. You can also perform data binding later using the Report Data Source dialog accessed from the Report Explorer.

Connect to a Data Source

  1. In the Report Data Source dialog, select the General page and enter the name of the data source.
  2. Under Type, select 'Json Provider'.
  3. Go to the Content tab under Connection and set the type of JSON data to 'Embedded'.
  4. In the Select or type the file name or URL or enter the data to be embedded field, enter the following data:

    JSON Data

    Copy Code
    [
      {
        "City": "Amsterdam",
        "Month": "January",
        "MinT": 1,
        "MaxT": 6,
        "Precipitation": 65
      },
      {
        "City": "Amsterdam",
        "Month": "February",
        "MinT": 1,
        "MaxT": 7,
        "Precipitation": 50
      },
      {
        "City": "Amsterdam",
        "Month": "March",
        "MinT": 3,
        "MaxT": 10,
        "Precipitation": 50
      },
      {
        "City": "Amsterdam",
        "Month": "April",
        "MinT": 5,
        "MaxT": 14,
        "Precipitation": 40
      },
      {
        "City": "Amsterdam",
        "Month": "May",
        "MinT": 9,
        "MaxT": 18,
        "Precipitation": 55
      },
      {
        "City": "Amsterdam",
        "Month": "June",
        "MinT": 11,
        "MaxT": 20,
        "Precipitation": 65
      },
      {
        "City": "Amsterdam",
        "Month": "July",
        "MinT": 13,
        "MaxT": 23,
        "Precipitation": 80
      },
      {
        "City": "Amsterdam",
        "Month": "August",
        "MinT": 13,
        "MaxT": 22,
        "Precipitation": 100
      },
      {
        "City": "Amsterdam",
        "Month": "September",
        "MinT": 11,
        "MaxT": 19,
        "Precipitation": 85
      },
      {
        "City": "Amsterdam",
        "Month": "October",
        "MinT": 8,
        "MaxT": 15,
        "Precipitation": 85
      },
      {
        "City": "Amsterdam",
        "Month": "November",
        "MinT": 4,
        "MaxT": 10,
        "Precipitation": 85
      },
      {
        "City": "Amsterdam",
        "Month": "December",
        "MinT": 2,
        "MaxT": 7,
        "Precipitation": 80
      },
      {
        "City": "Paris",
        "Month": "January",
        "MinT": 2,
        "MaxT": 7,
        "Precipitation": 50
      },
      {
        "City": "Paris",
        "Month": "February",
        "MinT": 2,
        "MaxT": 8,
        "Precipitation": 40
      },
      {
        "City": "Paris",
        "Month": "March",
        "MinT": 5,
        "MaxT": 12,
        "Precipitation": 50
      },
      {
        "City": "Paris",
        "Month": "April",
        "MinT": 7,
        "MaxT": 16,
        "Precipitation": 50
      },
      {
        "City": "Paris",
        "Month": "May",
        "MinT": 10,
        "MaxT": 20,
        "Precipitation": 65
      },
      {
        "City": "Paris",
        "Month": "June",
        "MinT": 13,
        "MaxT": 23,
        "Precipitation": 50
      },
      {
        "City": "Paris",
        "Month": "July",
        "MinT": 15,
        "MaxT": 25,
        "Precipitation": 60
      },
      {
        "City": "Paris",
        "Month": "August",
        "MinT": 15,
        "MaxT": 25,
        "Precipitation": 55
      },
      {
        "City": "Paris",
        "Month": "September",
        "MinT": 12,
        "MaxT": 21,
        "Precipitation": 50
      },
      {
        "City": "Paris",
        "Month": "October",
        "MinT": 9,
        "MaxT": 16,
        "Precipitation": 60
      },
      {
        "City": "Paris",
        "Month": "November",
        "MinT": 5,
        "MaxT": 11,
        "Precipitation": 50
      },
      {
        "City": "Paris",
        "Month": "December",
        "MinT": 3,
        "MaxT": 8,
        "Precipitation": 60
      },
      {
        "City": "Barcelona",
        "Month": "January",
        "MinT": 5,
        "MaxT": 14,
        "Precipitation": 40
      },
      {
        "City": "Barcelona",
        "Month": "February",
        "MinT": 5,
        "MaxT": 14,
        "Precipitation": 40
      },
      {
        "City": "Barcelona",
        "Month": "March",
        "MinT": 7,
        "MaxT": 16,
        "Precipitation": 35
      },
      {
        "City": "Barcelona",
        "Month": "April",
        "MinT": 9,
        "MaxT": 18,
        "Precipitation": 40
      },
      {
        "City": "Barcelona",
        "Month": "May",
        "MinT": 13,
        "MaxT": 21,
        "Precipitation": 55
      },
      {
        "City": "Barcelona",
        "Month": "June",
        "MinT": 17,
        "MaxT": 25,
        "Precipitation": 30
      },
      {
        "City": "Barcelona",
        "Month": "July",
        "MinT": 20,
        "MaxT": 28,
        "Precipitation": 20
      },
      {
        "City": "Barcelona",
        "Month": "August",
        "MinT": 20,
        "MaxT": 29,
        "Precipitation": 65
      },
      {
        "City": "Barcelona",
        "Month": "September",
        "MinT": 17,
        "MaxT": 26,
        "Precipitation": 85
      },
      {
        "City": "Barcelona",
        "Month": "October",
        "MinT": 14,
        "MaxT": 22,
        "Precipitation": 100
      },
      {
        "City": "Barcelona",
        "Month": "November",
        "MinT": 9,
        "MaxT": 17,
        "Precipitation": 65
      },
      {
        "City": "Barcelona",
        "Month": "December",
        "MinT": 6,
        "MaxT": 14,
        "Precipitation": 40
      }
    ]
    
    For more information, see the JSON Provider topic.
  5. Go to the Connection String tab and verify the generated connection string by clicking the Validate DataSource Validate Icon icon.
  6. Click OK to save the changes and open the DataSet dialog.

Add a Dataset   

  1. In the Dataset dialog, select the General page and enter the name of the dataset, 'Climate'.
  2. Go to the Query page and enter the following query to fetch the required fields:
    Query
    Copy Code
    $.[*]
  3. Go to the Fields page to view the available fields. On the same page, add one calculated field:
    Name Value
    AvgT =([MinT] + [MaxT]) / 2
  4. Click OK to save the changes.

 

Create Basic Structure of Chart

We will use the Chart Wizard dialog to configure chart data values and basic customization. If you have a dataset added to your report, on Chart's drag-drop operation, the wizard appears. See the topic on Chart Wizard for more information. You can make further adjustments to the chart after you exit the wizard by accessing the properties of chart elements through dialogs, property panels, and adorners.

  1. Drag-drop Chart data region onto the design area. The New Chart dialog appears with an option to select the query and the plot type.
  2. Select the Query as the dataset name (Stats)  and the Plot Type as 'Radar Scatter'.
  3. Click Next to configure data values.   
  4. Under Configure Chart Data Values, add the Y value from the drop-down (since we will be specifying Category group, we need to specify only Y value; the value of X will be ignored) as shown and click Next.    
    Field Caption
    AvgT Y
  5. In the Configure Chart Data Groupings, set the Categories > Group By to [Month].
  6. Set Series > Group By to [City].
  7. Click Next and Choose Report Colors from Theme and Style, and preview your chart.
    Radar Scatter Chart

   Now that the basic structure of your chart is ready, let us add more meaning to the chart using the properties via the Chart Panels, Adorners, and Property Panel.

Add Customizations to Chart

Y-Axis

  1. To open the smart panel, right-click 'Y Axis' on the Report Explorer and choose Property Dialog.
  2. Go to the Title page and set the following properties:
    • Title: °C
    • Font > Size: 12pt
    • Font > Color: Gray
    • Font > Weight: SemiBold
  3. Go to the Labels page > Appearance tab and set the following properties:
    • Font > Size: 10pt
    • Font > Color: Gray
  4. Go to the Line page and set the following properties:
    • Show Line: Check-on
    • Color: #3c3c3c
    • Width: 0.5pt
    • Style: Solid
       
  5. Go to the Major Gridline page and set the Grid Interval to '5'.
  6. In the same page, set the following properties under Grid appearance.
    • Show Grid: Check-on
    • Width: 0.25pt
    • Color: #cccccc
    • Style: Dashed
  7. Go to the Scale page and set the following properties:
    • Scale Type: Linear
    • Maximum scale value: 30
    • Minimum scale value: 0
  8. Click OK to complete setting up the Y-axis.

X-Axis

  1. To open the smart panel, right-click 'X Axis' on the Report Explorer and choose Property Dialog.
  2. Go to the Title page and remove the text from the Title field to hide the X-axis title in the chart.
  3. Go to the Labels page and set the following properties:
    • Font > Size: 10pt
    • Font > Color: Gray
  4. Go to the Major Gridline page and uncheck the Show Grid option to hide the gridlines.
  5. Click OK to complete setting up the X-axis.

Chart Palette

  1. To open the smart panel, right-click 'Chart' on the Report Explorer and choose Property Dialog.
  2. Go to the Palette page and select Custom from the drop-down and add the following colors.
    • #f26324
    • #1fd537
    • #e40010
  3. Click OK to complete setting up the custom palette.

Legend

  1. In the Legend Data area, right-click Color and from the adorner, click Edit.
  2. Go to the General page and select SeriesGroups as Legend Mode.
  3. Go to the Layout page and set the following properties.
    • Position: Top
    • Orientation: Horizontal
  4. Go to the Appearance page and set the following properties.
    • Font > Size: 10pt
    • Font > Color: Gray
  5. Click OK to complete setting up the Legend.

Header

  1. To open the smart panel for the chart header, right-click 'Header' on the Report Explorer and choose Property Dialog.
  2. Go to the General page and set Title to 'Average Monthly Temperature'.
  3. Go to the Font page and set the properties as below.
    • Size: 24pt
    • Color: #3da7a8
  4. Click OK to complete setting up the chart header.
    You may want to resize the chart, change the chart palette, and customize other chart elements. Once you are done, press F5 to preview the report.
    Note: We use stub data at design time and not real data. So to view the actual final chart, you need to view the chart on the preview.