IReport4.6.0 chart operation, ireport4.6.0 chart
For reports, charts are indispensable. Even if you are tired of working on Monday ,,,
Step 1: Create a new blank project and create a lot of online data from the data source.
Step 2: On the iReport page, click "window"> "component panel" and drag the Chart component to the new report.
Select the first one and create a pie chart. Click "OK". The setting Wizard will follow the wizard step by step.
The creation wizard consists of three steps:
Select a Data source:
Here, if your English is better, you can easily see that the first one is to create a unique identifier for each piece. If there are duplicates, use lable + id
The second is values, that is, the size of each block, that is, the specific value. Click Next to complete the creation.
See the results on the design page,
Click Preview to see the labels and content we have made. The effect is not very good. Go back to the design page, right-click pie chart, and select chart data for modification.
For example, Key, Value, and label have been mentioned before. You just need to fine-tune them and make them what you need.
During my work, I found that the label definition is ineffective in some charts or it will use the default label + key instead of the value you defined. This is to be studied.
References: http://blog.sina.com.cn/s/blog_3ef2a82a0100mx54.html
Done:
What are the operations for setting EXCEL Charts?
1. Select the data area for the chart;
2. Click "insert" and "chart" in the menu bar and select a chart type. For example, "column Chart"
3. Click "Next" under the "chart wizard" until it is completed.
4. If the chart is not ideal, right-click the corresponding position in the chart and select the project in the shortcut menu to adjust it.
Experiment several times over and over again, and you will soon discover patterns. Soon you will be able to make your own charts as you like.
How to insert charts in EXCEL
If you have a data table, click Insert in the toolbar-> chart-> select data area-> OK
If you modify data in a table, the chart is automatically updated.