Skip to Content

How to hide data labels of line chart in Column line combination chart?

I need to hide the data labels of line chart and keep data labels of column chart in Column line combination chart.

I am using SAP Design Studio 1.6 SP 1 Patch 2.

Backend is BEx query.

Thanks in advance.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Apr 03, 2017 at 01:17 PM

    Pan,

    I do this using css, but the difficulty is your number of columns need to be known upfront. If the number of columns vary it is not easy to do this. Here's an example for 4 columns of data - it will display labels for four the columns but hide 5-8th label for the line.

    /* hide labels for the line part of the InfoChart, 4 dimensions */

    .myChart .v-datalabel-group .v-datalabel:nth-child(5) {visibility: hidden;}

    .myChart .v-datalabel-group .v-datalabel:nth-child(6) {visibility: hidden;}

    .myChart .v-datalabel-group .v-datalabel:nth-child(7) {visibility: hidden;}

    .myChart .v-datalabel-group .v-datalabel:nth-child(8) {visibility: hidden;}

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 03, 2017 at 12:33 PM

    At least for the InfoChart, it does not appear to be possible as the combination chart has only one checkbox for data labels for the entire chart.

    Some extensions get past this - see http://cdn.visualbi.com/wp-content/uploads/visualbi-extensions-for-sap-businessobjects-design-studio-vbx-user-guide.pdf Super Combination Chart, page 224 - there could also be other extensions at https://analytics-extensions.enter.sap

    Add comment
    10|10000 characters needed characters exceeded