When we create ad hoc reports in the jasper server we often opt for default design here we are going to show you how you can make ad hoc chart more presentable.
- Click on the create and choose the option ad hoc view, select the data source and then select the fields you want to show in the report.
- From the Visualization select the pie chart.
- Now click on chart format and go to advanced tab and then click on add new property.
- Now you can add this properties for pie charts to make it more presentable.
Property | Value |
---|---|
series.dataLabels.enabled | True |
plotOptions.pie.dataLabels.format | {point.percentage:.1f}%, {point.name}: {point.y} |
legend.labelFormat | Put you column value name |
plotOptions.pie.dataLabels.style.width | 120 |
plotOptions.pie.dataLabels.x | 2 |
plotOptions.pie.dataLabels.style.fontSize | 7px |
chart.marginTop | 32 |
title.style.fontSize | 15px |
title.text | Put your title text value |
plotOptions.series.dataLabels.y | -1 |
title.style.fontWeight | Bold |
plotOptions.pie.dataLabels.distance | 10 |
Thank You,
Abhishek Mishra
Best Open Source Business Intelligence Software Helical Insight is Here
A Business Intelligence Framework
Subscribe
Login
0 Comments