Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Show message to user when Pie chart is not displayed

KMTek
Contributor
September 13, 2023

Hi,

When I am using the macro "Chart from Table" (Table Filter and Charts from Stiltsoft) to generate a Pie chart from a table, and this one contains only zeros, the chart is not being displayed.

Our intention is to display only the chart to users, not the table. Is it possible to show, at least, an message (a bit like the macro Chart does - "No data available")?

Thank you,

Vitor

1 answer

1 accepted

3 votes
Answer accepted
Stiltsoft support
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 14, 2023

Hi @KMTek ,

It is possible to customize your warning message if there is no any source table (for example, you build a chart using the Jira Issues macro and there are no suitable issues):

Thu 3-1.png

But if you just have zeros in your table, then they are treated like common numbers (null is also a value, you have valid data in your source table). So, there is no any possibility to display messages for such cases. 

Stiltsoft support
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 14, 2023

And, as an afterthought, maybe the following workaround with a Table Transformer will suit your needs:

Thu 4-1.png

We can filter the rows with zeroes out:

SELECT * FROM T*
WHERE 'Issues' NOT LIKE "0"

Thu 4-2.png

Then the Chart from Table macro "thinks" that there is no any source data, so you can use the customized message:

Thu 4-3.png

Maybe this helps your case.

KMTek
Contributor
September 14, 2023

Hi,

Thanks a lot.

I didn't have the latest version, where the "Customize no table found message" is. After updating the app, the solution presented by you works like a charm. :)

Cheers,

Vitor

Like Stiltsoft support likes this
KMTek
Contributor
September 14, 2023

And I leave here the suggestion to customise the message when a table is not found, or if all the values in a table are zeros, which is specially relevant when the table is hidden. No chart, no table, confused users. :)

An alternative could be showing the table if no chart is displayed. At least, the users will know that all values are zero.

Thanks.

Like Stiltsoft support likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
7.19.12
TAGS
AUG Leaders

Atlassian Community Events