Skip to main content
Nintex Community Menu Bar
Question

Need help with Chart formatting: labels, export

  • July 10, 2024
  • 4 replies
  • 9 views

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
  • July 10, 2024

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
            }
        },

});



Forum|alt.badge.img+2
  • Author
  • July 10, 2024

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


Forum|alt.badge.img+2
  • Author
  • July 10, 2024

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


Forum|alt.badge.img+3
  • Nintex Employee
  • July 10, 2024

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