Skip to main content
Nintex Community Menu Bar
Question

Need help with Chart formatting: labels, export

  • Jul 10, 2024 6:42 PM UTC
  • 4 replies
  • 40 views
  • Translate All

Forum|alt.badge.img+2

The first picture is of the chart existing on a list page. How do I fix it?
The second picture is when I export that same chart. How do I fix it?
On a related note, how can I get “(SUM)” to not appear on every grouping?

!(https://us.v-cdn.net/6032350/uploads/attachments/RackMultipart20170221-7198-fdgg7o-chart 3 inline.png)

4 replies

Forum|alt.badge.img+3
  • Nintex Employee
  • Jul 10, 2024 7:38 PM UTC

Brandon, it looks like you are doing aggregation on the series.  If so, it will the add aggregation type to the label.

If you need to go beyond the defaults offered in the chart properties, you can use javascript to customize the charts.  For instance, you can create a snippet and add it to the ‘Before Render Snippet’ parameter on the Chart’s Advanced tab:

Here is a quick and dirty fix in a javascript snippet:

var chartObj = arguments[0],
$ = skuid.$;

    $.extend(true, chartObj,{
        plotOptions: {
            pie: {
                allowPointSelect: true,
                cursor: ‘pointer’,
                dataLabels: {
                    enabled: true,
                    formatter: function () {
                        return this.point.name.split(‘(’)[0] + ’ ’ + this.percentage.toFixed(2) + ‘%’;
                    }
                },
                showInLegend: true
            }
        },

});


Translate

Forum|alt.badge.img+2
  • Author
  • Jul 10, 2024 7:38 PM UTC

That’s great! Thank you. Is all the documentation for this on highpoint?

Translate

Forum|alt.badge.img+2
  • Author
  • Jul 10, 2024 7:38 PM UTC

Also, what about the visual corrections to the pictures above?

Translate

Forum|alt.badge.img+3
  • Nintex Employee
  • Jul 10, 2024 7:38 PM UTC

I couldn’t reproduce this exactly, however if you share your XML, I might be able to put some ideas together.

Translate