cancel
Showing results for 
Search instead for 
Did you mean: 

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

former_member354226
Participant
0 Kudos

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.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member

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

0 Kudos

Hello Experts,

In my case following css to hide the all the data labels is working fine ( to hide the data labels of all columns and lines).

.Chart1 .v-datalabel-group .v-datalabel

But to selectively hide the data labels of a particular line or column in a chart following css is not working. (I have total 7 measures in my chart- combinition chart).

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

Please help me out how to hide the particular column or line in a combinition chart.

Regards

RG

TammyPowlas
Active Contributor
0 Kudos

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... Super Combination Chart, page 224 - there could also be other extensions at https://analytics-extensions.enter.sap