Filter by tags:
June 7, 2021
Video Tutorial #024 | BI - Jaspersoft Reports | Crosstab component in Jaspersoft Design Studio
( JasperSoft BI Suite Tutorials - Sadakar Pochampalli )
Hi, In this video, you will learn the ins and outs of a Crosstab component in Jaspersoft Design Studio Professional.
Download the example file from https://drive.google.com/file/d/1kVXSnaAsoxOHY73sv2tjuLVa3jWUCvhm/view?usp=sharing
Thank you for watching this video, I hope this helped you a little on understanding the basic of Table component in Jaspersoft Design Studio Professional.
If you enjoyed watching it, please do subscribe, click on bell icon for more interesting topics on Jaspersoft Reports.
Let's help save time for community folks.
June 7, 2021
June 6, 2021
Video Tutorial #023 | BI - Jaspersoft Reports | Table component in Jaspersoft Design Studio
( JasperSoft BI Suite Tutorials - Sadakar Pochampalli )
In this video, you will learn the basic usage of Table component in Jaspersoft Design Studio Professional.
Download the example file from
https://drive.google.com/file/d/1gtJihNHgSrDYVNeZCqqvClNpCPXHXzXH/view?usp=sharing
Thank you for watching this video, I hope this helped you a little on understanding the basic of Table component in Jaspersoft Design Studio Professional.
If you enjoyed watching it, please do subscribe, click on bell icon for more interesting topics on Jaspersoft Reports.
Let's help save time for community folks.
June 6, 2021
June 2, 2021
Video Tutorial #22 | BI - Jaspersoft Reports | Understanding Datasets and Sub datasets in Jaspersof…
( JasperSoft BI Suite Tutorials - Sadakar Pochampalli )
In this video, you will learn the basics of Datasets and Sub datasets in Jaspersoft Design Studio Professional.
Download the example file from https://drive.google.com/file/d/1TPpbjYE0-FiBijlPZXFxf9Tjbt2d2vlt/view?usp=sharing
Thank you for watching this video, I hope this helped you a little on understanding the basic of Datasets and Subdatasets in Jaspersoft Design Studio Professional.
If you enjoyed watching it, please do subscribe, click on bell icon for more interesting topics on Jaspersoft Reports.
Let's help save time for community folks.
June 2, 2021
June 1, 2021
Video Tutorial #21 | BI - Jaspersoft Reports | Groups & finding sub-totals by grouping data in …
( JasperSoft BI Suite Tutorials - Sadakar Pochampalli )
Hi,
In this video, you will learn the basics of Groups and how to calculate sub-totals for each group in a Product Detail Report using Jaspersoft Design Studio Professional.
Download the example file from https://drive.google.com/file/d/1B_SPsPDnalSMMCFCar1z1slkQtIjqXpu/view?usp=sharing
Thank you for watching this video, I hope this helped you a little on understanding the basic of Groups in Jaspersoft Design Studio Professional.
If you enjoyed watching it, please do subscribe, click on bell icon for more interesting topics on Jaspersoft Reports.
Let's help save time for community folks.
June 1, 2021
May 31, 2021
Video Tutorial #020 | BI - Jaspersoft Reports | Variables Introduction and How to sum-up a column …
( JasperSoft BI Suite Tutorials - Sadakar Pochampalli )
Hi, Welcome to the series of Jaspersoft Reports.
In this video, you will learn the basics of variables and how to create and use a variable in Product Detail Report using Jaspersoft Design Studio Professional.
Download the example file from https://drive.google.com/file/d/1B_SPsPDnalSMMCFCar1z1slkQtIjqXpu/view?usp=sharing
Thank you for watching this video, I hope this helped you a little on understanding the basic of variables in Jaspersoft Design Studio Professional.
If you enjoyed watching it, please do subscribe, click on bell icon for more interesting topics on Jaspersoft Reports.
Let's help save time for community folks.
May 31, 2021
May 29, 2021
Video Tutorial #019 | BI - Jaspersoft Reports | Parameters & Single Select Parameter in Jaspers…
( JasperSoft BI Suite Tutorials - Sadakar Pochampalli )
Hi, Welcome to the series of Jaspersoft Reports.
In this video, you will learn the basics of parameter(s) and how to create and use a single select parameter in a Product Detail Report using Jaspersoft Design Studio Professional.
Download the example file from https://drive.google.com/file/d/1B_SPsPDnalSMMCFCar1z1slkQtIjqXpu/view?usp=sharing
Thank you for watching this video, I hope this helped you a little on understanding the basic of parameter and single select parameter usage in Jaspersoft Design Studio Professional.
If you enjoyed watching it, please do subscribe and click on bell icon for more interesting topics on Jaspersoft Reports.
May 29, 2021
March 1, 2021
Revisit Tip : Multi Select Parameter Example in Jaspersoft Design Studio Reports | How to give defa…
( JasperSoft BI Suite Tutorials - Sadakar Pochampalli )
java.util.Arrays.asList(new String[]{"99993","99962","99949"})
<?xml version="1.0" encoding="UTF-8"?>
<!-- Created with Jaspersoft Studio version 6.4.21.final using JasperReports Library version 6.4.1 -->
<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="MultiSelectParameterDefaultValue" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="0a843e05-bf78-488a-bb0d-44f948a799f6">
<property name="com.jaspersoft.studio.data.sql.tables" value=""/>
<property name="com.jaspersoft.studio.data.defaultdataadapter" value="foodmart"/>
<property name="ireport.jasperserver.url" value="http://localhost:8080/jasperserver-pro/"/>
<property name="ireport.jasperserver.user" value="superuser"/>
<property name="ireport.jasperserver.report.resource" value="/EarthlySystems/Multi_Select_Parameter_Demo/Multi_Select_Parameter_Default_Value_files/main_jrxml"/>
<property name="ireport.jasperserver.reportUnit" value="/EarthlySystems/Multi_Select_Parameter_Demo/Multi_Select_Parameter_Default_Value"/>
<parameter name="paramPostalCode" class="java.util.Collection" nestedType="java.lang.String">
<defaultValueExpression><![CDATA[java.util.Arrays.asList(new String[]{"99993","99962","99949"})
]]></defaultValueExpression>
</parameter>
<queryString language="SQL">
<![CDATA[select * from customer where $X{IN, postal_code, paramPostalCode}]]>
</queryString>
<field name="customer_id" class="java.lang.Integer"/>
<field name="account_num" class="java.lang.Long"/>
<field name="lname" class="java.lang.String"/>
<field name="fname" class="java.lang.String"/>
<field name="mi" class="java.lang.String"/>
<field name="address1" class="java.lang.String"/>
<field name="address2" class="java.lang.String"/>
<field name="address3" class="java.lang.String"/>
<field name="address4" class="java.lang.String"/>
<field name="city" class="java.lang.String"/>
<field name="state_province" class="java.lang.String"/>
<field name="postal_code" class="java.lang.String"/>
<field name="country" class="java.lang.String"/>
<field name="customer_region_id" class="java.lang.Integer"/>
<field name="phone1" class="java.lang.String"/>
<field name="phone2" class="java.lang.String"/>
<field name="birthdate" class="java.sql.Date"/>
<field name="marital_status" class="java.lang.String"/>
<field name="yearly_income" class="java.lang.String"/>
<field name="gender" class="java.lang.String"/>
<field name="total_children" class="java.lang.Integer"/>
<field name="num_children_at_home" class="java.lang.Integer"/>
<field name="education" class="java.lang.String"/>
<field name="date_accnt_opened" class="java.sql.Date"/>
<field name="member_card" class="java.lang.String"/>
<field name="occupation" class="java.lang.String"/>
<field name="houseowner" class="java.lang.String"/>
<field name="num_cars_owned" class="java.lang.Integer"/>
<field name="fullname" class="java.lang.String"/>
<background>
<band splitType="Stretch"/>
</background>
<title>
<band height="36" splitType="Stretch">
<textField>
<reportElement mode="Opaque" x="0" y="0" width="555" height="36" backcolor="#ECE0FF" uuid="f4bc67c0-499c-48cd-af15-6703eb08f358">
<property name="com.jaspersoft.studio.unit.y" value="pixel"/>
</reportElement>
<box>
<pen lineColor="#D6D0D0"/>
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#D6D0D0"/>
<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#D6D0D0"/>
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#D6D0D0"/>
<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#D6D0D0"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="12" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA["Customer Detail Report By Postal Code"]]></textFieldExpression>
</textField>
</band>
</title>
<columnHeader>
<band height="30" splitType="Stretch">
<staticText>
<reportElement x="0" y="0" width="81" height="30" uuid="950cfd64-6561-445f-aa06-df9d92402d33"/>
<box>
<pen lineColor="#D6D0D0"/>
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#D6D0D0"/>
<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#D6D0D0"/>
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#D6D0D0"/>
<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#D6D0D0"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Middle"/>
<text><![CDATA[customer_id]]></text>
</staticText>
<staticText>
<reportElement x="81" y="0" width="79" height="30" uuid="60014d13-d4e3-49e1-85f7-cec9b3860db2"/>
<box>
<pen lineColor="#D6D0D0"/>
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#D6D0D0"/>
<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#D6D0D0"/>
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#D6D0D0"/>
<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#D6D0D0"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Middle"/>
<text><![CDATA[account_num]]></text>
</staticText>
<staticText>
<reportElement x="160" y="0" width="79" height="30" uuid="8298d207-c566-4c62-96af-7c5ec3438111"/>
<box>
<pen lineColor="#D6D0D0"/>
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#D6D0D0"/>
<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#D6D0D0"/>
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#D6D0D0"/>
<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#D6D0D0"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Middle"/>
<text><![CDATA[lname]]></text>
</staticText>
<staticText>
<reportElement x="239" y="0" width="79" height="30" uuid="1f425d7f-2817-4cda-b688-42c48dc72ee5"/>
<box>
<pen lineColor="#D6D0D0"/>
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#D6D0D0"/>
<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#D6D0D0"/>
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#D6D0D0"/>
<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#D6D0D0"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Middle"/>
<text><![CDATA[city]]></text>
</staticText>
<staticText>
<reportElement x="318" y="0" width="79" height="30" uuid="cc44460f-c5ea-4c7f-b24c-9f1313ffaa13"/>
<box>
<pen lineColor="#D6D0D0"/>
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#D6D0D0"/>
<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#D6D0D0"/>
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#D6D0D0"/>
<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#D6D0D0"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Middle"/>
<text><![CDATA[state_province]]></text>
</staticText>
<staticText>
<reportElement x="397" y="0" width="79" height="30" uuid="2f6d5fe4-8130-40c5-8f65-e3845b818625"/>
<box>
<pen lineColor="#D6D0D0"/>
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#D6D0D0"/>
<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#D6D0D0"/>
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#D6D0D0"/>
<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#D6D0D0"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Middle"/>
<text><![CDATA[postal_code]]></text>
</staticText>
<staticText>
<reportElement x="476" y="0" width="79" height="30" uuid="3381d500-9086-431c-9678-cef469425d11"/>
<box>
<pen lineColor="#D6D0D0"/>
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#D6D0D0"/>
<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#D6D0D0"/>
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#D6D0D0"/>
<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#D6D0D0"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Middle"/>
<text><![CDATA[country]]></text>
</staticText>
</band>
</columnHeader>
<detail>
<band height="30" splitType="Stretch">
<textField>
<reportElement x="0" y="0" width="81" height="30" uuid="d9d71552-8c5d-4f5f-adc5-f688e7d1b26e">
<property name="com.jaspersoft.studio.unit.y" value="pixel"/>
</reportElement>
<box>
<pen lineColor="#D6D0D0"/>
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#D6D0D0"/>
<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#D6D0D0"/>
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#D6D0D0"/>
<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#D6D0D0"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Middle"/>
<textFieldExpression><![CDATA[$F{customer_id}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="81" y="0" width="79" height="30" uuid="5bc3525d-9b53-479e-bc3f-b6f78898c4a0"/>
<box>
<pen lineColor="#D6D0D0"/>
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#D6D0D0"/>
<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#D6D0D0"/>
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#D6D0D0"/>
<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#D6D0D0"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Middle"/>
<textFieldExpression><![CDATA[$F{account_num}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="160" y="0" width="79" height="30" uuid="8f4c3632-b891-470f-8c6b-e7ad7d7b45d5"/>
<box>
<pen lineColor="#D6D0D0"/>
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#D6D0D0"/>
<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#D6D0D0"/>
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#D6D0D0"/>
<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#D6D0D0"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Middle"/>
<textFieldExpression><![CDATA[$F{lname}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="239" y="0" width="79" height="30" uuid="e288ef3a-54ad-4832-99c6-d5cdcea3c8cb"/>
<box>
<pen lineColor="#D6D0D0"/>
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#D6D0D0"/>
<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#D6D0D0"/>
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#D6D0D0"/>
<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#D6D0D0"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Middle"/>
<textFieldExpression><![CDATA[$F{city}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="318" y="0" width="79" height="30" uuid="ec922197-b510-4504-ac83-39bb76c4c252"/>
<box>
<pen lineColor="#D6D0D0"/>
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#D6D0D0"/>
<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#D6D0D0"/>
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#D6D0D0"/>
<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#D6D0D0"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Middle"/>
<textFieldExpression><![CDATA[$F{state_province}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="397" y="0" width="79" height="30" uuid="6ed97799-b8d8-4398-9714-475844cc536f"/>
<box>
<pen lineColor="#D6D0D0"/>
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#D6D0D0"/>
<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#D6D0D0"/>
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#D6D0D0"/>
<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#D6D0D0"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Middle"/>
<textFieldExpression><![CDATA[$F{postal_code}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="476" y="0" width="79" height="30" uuid="4f6b9312-5caf-4b7a-8596-5a6891ce97f1"/>
<box>
<pen lineColor="#D6D0D0"/>
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#D6D0D0"/>
<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#D6D0D0"/>
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#D6D0D0"/>
<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#D6D0D0"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Middle"/>
<textFieldExpression><![CDATA[$F{country}]]></textFieldExpression>
</textField>
</band>
</detail>
</jasperReport>
March 1, 2021
February 4, 2021
Tip : Fusion bar chart title and legend advanced properties in jasper reports
( JasperSoft BI Suite Tutorials - Sadakar Pochampalli )
Fusion Chart
Chart title properties
{ "chart": { "captionFont": "Arial", "captionFontSize": "18", "captionFontColor": "#993300", "captionFontBold": "1" }}
https://www.fusioncharts.com/dev/chart-guide/chart-configurations/caption-and-sub-caption
Legend properties
{ "chart": { "legendItemFontBold": "0", "legendItemFont": "Arial", "legendItemFontSize": "11", "legendItemFontColor": "#666666" }}
https://www.fusioncharts.com/dev/chart-guide/chart-configurations/legend
February 4, 2021
November 29, 2020
Display Base64 content as image in Jaspersoft Reports
( JasperSoft BI Suite Tutorials - Sadakar Pochampalli )
Problem statement:
Display Base64 database field as an image in Jasper Reports.
As on writing this page , test results showed me that byte[] data type is supported in studio to display image but not in server and eventually ended up with byte[] unsupported errors messages on jasper console.
Software's used:
Studio professional 7.8, "PostgreSQL 9.3.20, compiled by Visual C++ build 1600, 64-bit"
Studio design:
Output in Studio:
SQL for creating a sample table containing Base64 image data.
CREATE TABLE public.base64image (
id serial PRIMARY KEY,
image_base64 varchar(5000000) NULL
);
INSERT INTO base64image
(id,image_base64)
VALUES(1, '/9j/4AAQSkZJRgABAQAAAQABAAD/4gKgSUNDX1BST0ZJTEUAAQEAAAKQbGNtcwQwAABtbnRyUkdCIFhZWiAH4gABAA8ACAAxADhhY3NwQVBQTAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA9tYAAQAAAADTLWxjbXMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAtkZXNjAAABCAAAADhjcHJ0AAABQAAAAE53dHB0AAABkAAAABRjaGFkAAABpAAAACxyWFlaAAAB0AAAABRiWFlaAAAB5AAAABRnWFlaAAAB+AAAABRyVFJDAAACDAAAACBnVFJDAAACLAAAACBiVFJDAAACTAAAACBjaHJtAAACbAAAACRtb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LHSpxk8RGziIJQAnaEAoyB08kFgKIdeB8wfboCBY4N4KhpIQBhqB3YF3ndZuC2IwbZutbOvMy7OOD5j729Fl/q17TShT8EzdOZRZshcwmAI5lXZKsG05iGzMSpZuG5OnKxyHE4SHSuYDycMuFsxGjG44iWEBw4iWREprfMdC86gPAIS7OT6nT1bylW2zB53Ar3pcjDvdsMMbQbdlOr3+4YxK2blLlHgXd+1xYO4DouPqFxuMKLu45Rvq6mE2HI1MSCIUYlEtuNXSGRbmsuot1KZVMrOhhhTSlRmLyZITFoYfMbMUiSG9zDOGq4FuNq6iFlwVCrBbPcgA0NgcRwS7zCCPM05Vz1+pclVopBGyroVrmBpAyd5o7fJ2dRRZUZvrEq+0o1witYJZTVR4jt7QVRBCA8icVHDEILqUuGjcUfEMMQFDDmsCkAu8zAXeOYrca4gpt0g5jC9+dZ+ozmWKZSS5SHzLHNutZ2iHIXJ0iwdHCaq1L6l46QflPWFOPaqlfjX2pT3MWdNxJ28wWbu4YwYsLZGXO2BOiaVKzmaYn/2Q==');
select * from base64image where id=1
Design Steps:
1. Drag and drop image component from Palette.
2. In the properties, open Expression Editor on Image tab and write below expression.
net.sf.jasperreports.engine.util.JRImageLoader.getInstance(new SimpleJasperReportsContext()).loadAwtImageFromBytes(Base64.getDecoder().decode($F{image_base64}))
3. Save the report and Preview in Studio or Publish and run the report in JasperServer.
JRXML: Works in 7.8 Pro Studio or later
<?xml version="1.0" encoding="UTF-8"?>
<!-- Created with Jaspersoft Studio version 6.4.21.final using JasperReports Library version 6.4.1 -->
<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="Base64ImageSadakar" pageWidth="595" pageHeight="842" whenNoDataType="AllSectionsNoDetail" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="35e03267-2cbe-4840-a4ed-41342e5a701c">
<property name="com.jaspersoft.studio.data.sql.tables" value=""/>
<property name="com.jaspersoft.studio.data.defaultdataadapter" value="foodmart"/>
<property name="ireport.jasperserver.url" value="http://localhost:8080/jasperserver-pro/"/>
<property name="ireport.jasperserver.user" value="superuser"/>
<property name="ireport.jasperserver.reportUnit" value="/Explore/Base64ImageSadakar"/>
<property name="com.jaspersoft.studio.property.dataset.dialog.DatasetDialog.sash.w1" value="420"/>
<property name="com.jaspersoft.studio.property.dataset.dialog.DatasetDialog.sash.w2" value="566"/>
<property name="ireport.jasperserver.report.resource" value="/Explore/Base64ImageSadakar_files/main_jrxml"/>
<queryString language="SQL">
<![CDATA[select * from base64image where id=1]]>
</queryString>
<field name="id" class="java.lang.Integer"/>
<field name="image_base64" class="java.lang.String"/>
<background>
<band splitType="Stretch"/>
</background>
<summary>
<band height="288">
<image scaleImage="FillFrame" isUsingCache="false" evaluationTime="Report">
<reportElement x="0" y="0" width="230" height="250" uuid="66f3d413-a9e1-4510-986b-7b66e323355a"/>
<box>
<pen lineColor="#BBBFBD"/>
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#BBBFBD"/>
<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#BBBFBD"/>
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#BBBFBD"/>
<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#BBBFBD"/>
</box>
<graphicElement fill="Solid"/>
<imageExpression><![CDATA[net.sf.jasperreports.engine.util.JRImageLoader.getInstance(new SimpleJasperReportsContext()).loadAwtImageFromBytes(Base64.getDecoder().decode($F{image_base64}))]]></imageExpression>
</image>
</band>
</summary>
</jasperReport>
Get Base64 encoding @ https://base64.guru/converter/encode/image
November 29, 2020
November 23, 2020
Fusion Angular Gauge Chart example as ArcGauge in Jasper Reports | How to remove dial, pointer and …
( JasperSoft BI Suite Tutorials - Sadakar Pochampalli )
In this post, you would learn how to implement a ArcGuage with value displayed with percentage (%) using Fusion Widget Pro - Angular Gauge chart.
Problem Statement :
Convert fusion widget "Angular Gauge" chart as "Arc Gauge" with percentage(%) value displayed OR say ArcGauge with progress from 1 to 100%.
NOTE : Tap on to the images to get the original view of screenshots taken.
Report Design:
Sample outputKey Implementations:
1) Max and min values : 1 to 100
Once the color ranges applied the graph auto takes the range from 1 to 100 scale
Pointer : Give everything white colored as below to get rid of circular pointer
Show value: In the advaned properties add showValue=true (although you would have checkbox in the widget general properites.
Percentage Symbol:
All Advanced properties:
JRXML : Developed using 7.8.0 professional version of Studio, it should work in same or higher versions.
<?xml version="1.0" encoding="UTF-8"?>
<!-- Created with Jaspersoft Studio version 7.8.0.final using JasperReports Library version 6.14.0-2ab0d8625be255bf609c78e1181801213e51db8f -->
<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="Angular Gauge Fusion Widget New" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="dcd1c309-22a0-4406-a92a-fcadefb6187c">
<property name="com.jaspersoft.studio.data.sql.tables" value=""/>
<property name="com.jaspersoft.studio.data.defaultdataadapter" value="foodmart"/>
<property name="ireport.jasperserver.url" value="http://localhost:8080/jasperserver-pro/"/>
<property name="ireport.jasperserver.user" value="superuser"/>
<property name="ireport.jasperserver.report.resource" value="/EarthlySystemsReports/Test/Angular_Gauge_Fusion_Widget_New_files/main_jrxml"/>
<property name="ireport.jasperserver.reportUnit" value="/EarthlySystemsReports/Test/Angular_Gauge_Fusion_Widget_New"/>
<queryString language="SQL">
<![CDATA[select 75 as value from customer limit 1]]>
</queryString>
<field name="value" class="java.lang.Integer">
<property name="com.jaspersoft.studio.field.name" value="value"/>
<property name="com.jaspersoft.studio.field.label" value="value"/>
</field>
<background>
<band splitType="Stretch"/>
</background>
<summary>
<band height="320" splitType="Stretch">
<componentElement>
<reportElement x="0" y="50" width="268" height="270" uuid="88e7e1c6-5a3a-4830-849e-3b4632885f18"/>
<fw:angularGauge xmlns:fw="http://jaspersoft.com/fusion" xsi:schemaLocation="http://jaspersoft.com/fusion http://jaspersoft.com/schema/fusion.xsd">
<dataset resetType="Report"/>
<fw:dial>
<fw:valueExpression><![CDATA[$F{value}]]></fw:valueExpression>
</fw:dial>
</fw:angularGauge>
</componentElement>
<componentElement>
<reportElement x="290" y="50" width="268" height="270" uuid="8c9b13f3-f9ed-4c98-8962-d9583baac1dd"/>
<fw:angularGauge xmlns:fw="http://jaspersoft.com/fusion" xsi:schemaLocation="http://jaspersoft.com/fusion http://jaspersoft.com/schema/fusion.xsd">
<fw:widgetProperty name="showShadow">
<fw:propertyExpression><![CDATA[Boolean.FALSE]]></fw:propertyExpression>
</fw:widgetProperty>
<fw:widgetProperty name="setAdaptiveMin">
<fw:propertyExpression><![CDATA[Boolean.FALSE]]></fw:propertyExpression>
</fw:widgetProperty>
<fw:widgetProperty name="showTickMarks">
<fw:propertyExpression><![CDATA[Boolean.FALSE]]></fw:propertyExpression>
</fw:widgetProperty>
<fw:widgetProperty name="showLimits">
<fw:propertyExpression><![CDATA[Boolean.FALSE]]></fw:propertyExpression>
</fw:widgetProperty>
<fw:widgetProperty name="showTickValues">
<fw:propertyExpression><![CDATA[Boolean.FALSE]]></fw:propertyExpression>
</fw:widgetProperty>
<fw:widgetProperty name="pivotFillColor">
<fw:propertyExpression><![CDATA[new java.awt.Color(-1)]]></fw:propertyExpression>
</fw:widgetProperty>
<fw:widgetProperty name="pivotBorderColor">
<fw:propertyExpression><![CDATA[new java.awt.Color(-1)]]></fw:propertyExpression>
</fw:widgetProperty>
<fw:widgetProperty name="showGaugeBorder">
<fw:propertyExpression><![CDATA[Boolean.FALSE]]></fw:propertyExpression>
</fw:widgetProperty>
<fw:widgetProperty name="pivotFillAlpha">
<fw:propertyExpression><![CDATA[new Integer(0)]]></fw:propertyExpression>
</fw:widgetProperty>
<fw:widgetProperty name="pivotFillAngle">
<fw:propertyExpression><![CDATA[new Integer(0)]]></fw:propertyExpression>
</fw:widgetProperty>
<fw:widgetProperty name="pivotBorderAlpha">
<fw:propertyExpression><![CDATA[new Integer(0)]]></fw:propertyExpression>
</fw:widgetProperty>
<fw:widgetProperty name="gaugeBorderColor">
<fw:propertyExpression><![CDATA[new java.awt.Color(-1)]]></fw:propertyExpression>
</fw:widgetProperty>
<fw:widgetProperty name="animation">
<fw:propertyExpression><![CDATA[Boolean.FALSE]]></fw:propertyExpression>
</fw:widgetProperty>
<fw:widgetProperty name="borderColor">
<fw:propertyExpression><![CDATA[new java.awt.Color(-1)]]></fw:propertyExpression>
</fw:widgetProperty>
<fw:widgetProperty name="baseFontSize">
<fw:propertyExpression><![CDATA[new Integer(35)]]></fw:propertyExpression>
</fw:widgetProperty>
<fw:widgetProperty name="baseFont">
<fw:propertyExpression><![CDATA["Arial Black"]]></fw:propertyExpression>
</fw:widgetProperty>
<fw:widgetProperty name="baseFontColor">
<fw:propertyExpression><![CDATA[new java.awt.Color(-16777216)]]></fw:propertyExpression>
</fw:widgetProperty>
<fw:widgetProperty name="bgColor">
<fw:propertyExpression><![CDATA[new java.awt.Color(-1)]]></fw:propertyExpression>
</fw:widgetProperty>
<fw:widgetProperty name="showValue">
<fw:propertyExpression><![CDATA[true]]></fw:propertyExpression>
</fw:widgetProperty>
<fw:widgetProperty name="numberSuffix">
<fw:propertyExpression><![CDATA["%"]]></fw:propertyExpression>
</fw:widgetProperty>
<fw:widgetProperty name="gaugeInnerRadius">
<fw:propertyExpression><![CDATA[90]]></fw:propertyExpression>
</fw:widgetProperty>
<fw:widgetProperty name="gaugeBorderAlpha">
<fw:propertyExpression><![CDATA[new Integer(0)]]></fw:propertyExpression>
</fw:widgetProperty>
<fw:widgetProperty name="paletteThemeColor">
<fw:propertyExpression><![CDATA[new java.awt.Color(-1)]]></fw:propertyExpression>
</fw:widgetProperty>
<fw:colorRange color="#8CBD2A">
<fw:minValueExpression><![CDATA[new Integer(0)]]></fw:minValueExpression>
<fw:maxValueExpression><![CDATA[$F{value}]]></fw:maxValueExpression>
<fw:labelExpression><![CDATA["green"]]></fw:labelExpression>
</fw:colorRange>
<fw:colorRange color="#E6E6E6">
<fw:minValueExpression><![CDATA[$F{value}]]></fw:minValueExpression>
<fw:maxValueExpression><![CDATA[new Integer(100)]]></fw:maxValueExpression>
<fw:labelExpression><![CDATA["ash"]]></fw:labelExpression>
</fw:colorRange>
<dataset resetType="Report"/>
<fw:dial>
<fw:dialProperty name="borderColor">
<fw:propertyExpression><![CDATA[new java.awt.Color(-1)]]></fw:propertyExpression>
</fw:dialProperty>
<fw:dialProperty name="bgColor">
<fw:propertyExpression><![CDATA[new java.awt.Color(-1)]]></fw:propertyExpression>
</fw:dialProperty>
<fw:valueExpression><![CDATA[$F{value}]]></fw:valueExpression>
</fw:dial>
</fw:angularGauge>
</componentElement>
<textField>
<reportElement x="0" y="10" width="270" height="30" uuid="086f3b75-085a-4088-9c29-5a0f7837ccc8"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="12" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA["Default Angular Gauge"]]></textFieldExpression>
</textField>
<textField>
<reportElement x="290" y="10" width="270" height="30" uuid="3db4bc99-9491-4f9e-b23e-5fcfb90038ac"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="12" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA["Angular Gauge As Progress Guage"]]></textFieldExpression>
</textField>
</band>
</summary>
</jasperReport>
November 23, 2020
Pages
About
Planet Jaspersoft aggregates blog posts from our community. If you would like your blog to be included in the Planet, please follow this help guide. Or just click this link to go straight to your Planet Feeds.
Feed Sources
- JasperSoft BI Suite Tutorials - Sadakar Pochampalli (273) Apply JasperSoft BI Suite Tutorials - Sadakar Pochampalli filter
- Technology Blog (50) Apply Technology Blog filter
- Jaspersoft Tech Talks (41) Apply Jaspersoft Tech Talks filter
- Jaspersoft Tutorials (30) Apply Jaspersoft Tutorials filter
- The Open Book on BI (26) Apply The Open Book on BI filter
- Rajesh Sirsikar (22) Apply Rajesh Sirsikar filter
- Bekwam Data as a Service (21) Apply Bekwam Data as a Service filter
- AgileTech - Ankur Gupta (19) Apply AgileTech - Ankur Gupta filter
- Ankur Gupta - Youtube (17) Apply Ankur Gupta - Youtube filter
- Digital Gene (15) Apply Digital Gene filter
- Tech Poet (13) Apply Tech Poet filter
- iTransparent - Jaspersoft Blog (9) Apply iTransparent - Jaspersoft Blog filter
- Paco Saucedo's blog » JasperReports (6) Apply Paco Saucedo's blog » JasperReports filter
- David Hoppmann's JasperServer Posts (2) Apply David Hoppmann's JasperServer Posts filter
- Jasper Related Posts from Wedjaa (1) Apply Jasper Related Posts from Wedjaa filter