Display Text Values Diagonally in Japser Reports
Here we will discuss how to display the Text Values Diagonally in Jasper Reports with a simple Example,
Make data easy with Helical Insight.
Helical Insight is the world’s best open source business intelligence tool.
Prerequisites:: Ireport 5.6 ,Jasper server 5.6
DataBase : Foodmart
In this Example ,we will display the column headers diagonally by using a Table Component
Step 1:Create a sample report contains Table Component
Step 2: Next Increase the Column Height and do the below changes
After the above changes the Report looks like
Step 3:Assign the below property for the column headers :
Step 4:Then Deploy the Report in Jasper Server,then the output will be
Make data easy with Helical Insight.
Helical Insight is the world’s best open source business intelligence tool.
We need to use overrides_custom.css to see Text field as Diagonally ,in overrides_custom.css file include the below code and make it as a default theme
.table_header span
{
transform:rotate(-150deg);
display:inline-block;
}
After making the Theme as Default Theme,re-run the Report ,Output :
Best Open Source Business Intelligence Software Helical Insight is Here
A Business Intelligence Framework
Thanks,
Satya Gopi Parisa,
BI Developer.