当前位置:网站首页>Jimureport building block report - table linkage chart topic

Jimureport building block report - table linkage chart topic

2022-06-24 00:05:00 JEECG

Linkage refers to clicking a row of a table or an area of a chart in a report , Re render the linked chart according to the click data . Building block report linkage is divided into table linkage chart and chart linkage chart , Let's take a look at how table data links with charts !

# Effect of the sample

Example : Click the class in the class list id, Linkage display of student achievement charts under the class .

# Linkage configuration steps

1. Design report

First prepare two reports , A data list “ Class list ”、 A graphical report “ Class student score chart ”. Space is limited. Please take a closer look at Getting started video

2. Add dataset

Prepare step 1 above , Data sets required for two reports

  • “ Class list ” — Data sets Query all class information
  • “ Class student score chart ” — Detail data set According to the class classid Query student score information

3. The key is coming. — Configure hyperlinks

3.1 Add links
  • Click on “ Class list ” Medium "#{ty.id}" Cell , Set the right panel “ Add links ” +, Select chart linkage ; Here's the picture :
3.2 Linkage parameter configuration
  • Link name : Fill in the link name ( Feel free to fill in )
  • Link chart : Select link chart —“ Class student score chart ”

Parameter setting description : Click on “ Class list ” Through “ class id” To linkage “ Class student score chart ”, Therefore, the linkage parameters are as follows

  • “ Original parameters —id” by “ Class list ” Classes in id
  • “ Mapping parameters —classid” For transmission to “ Class student score chart ” Parameters in classid

Configuration complete , After the save , Click preview to view the linkage effect .

appendix :

原网站

版权声明
本文为[JEECG]所创,转载请带上原文链接,感谢
https://yzsam.com/2021/11/20211123184357914k.html