Why do programmer colleagues earn 2W more than me? After reading this cockpit construction operation, I finally realized it!

The large visual screen template shared before has been well received by all friends, but there are also many private messages asking: What should I do if I want to make a large visual screen by myself? I sorted out the method of my "Super God" colleague. He can make a large visual screen from zero without writing functions and complicated codes!

It took me a long time to sort it out, which can be roughly divided into three steps:

First, conduct needs research

Before all actions are taken, user needs need to be clarified, because the visual cockpit is actually a data product, which can be understood as: Who is the cockpit for? What does he want to see? What are key data indicators?
insert image description here

If you encounter a complex management cockpit that involves multiple data indicators and the calculation process is complicated, it is recommended that you use the fishbone diagram to sort out the requirements (as shown below)
insert image description here

Secondly, it is necessary to carry out the prototype and visual design of the large screen

After determining the data indicators to be displayed, the next step is to select the corresponding chart according to the scenario analyzed by the indicator. Here is a classic chart selection guide for your reference:
insert image description here

Next is the real development link, choose a professional visualization software to do it, here is FineReport, a well-known visualization tool in China.

Open the designer and create a new decision report: the decision report adopts a canvas interface, and the chart components and controls on it can be dragged to the panel and laid out at will
insert image description here

Create a new data set, and retrieve the data set to be used through the sql statement. The data source I use is the data that comes with the software. Don’t worry about friends who don’t have SQL foundation, they are all the most basic statements used, just read it a few times and you’ll be fine.

Create a new template dataset as follows:
insert image description here

After the data is ready, drag and drop the corresponding chart components onto the canvas according to our previous layout layout:
insert image description here

Up to the previous step, our cockpit prototype came out, and then we bound the data source for each chart component, set the style and special effects, and it was almost the same. The setting of the basic chart is very simple, so I won’t show it. Let me show you the data map setting:
insert image description here

Finally, perform online debugging

Follow the above steps step by step and go online to see if the key visual elements, font size, page dynamics, graphics and charts are displayed as expected, whether there is deformation, misplacement, etc.
insert image description here

Click preview, and a cool visual cockpit will appear in front of your eyes:
insert image description here

Guess you like

Origin blog.csdn.net/yuanziok/article/details/131083362