cancel
Showing results for 
Search instead for 
Did you mean: 

Showing Data Label On Charts by Using Script or Additional Properties

03-29-2016 3:33 PM
776 views 5 comments Go to solution
0 Likes
SAP Managed Tags
Subscribe

Hi,

We are using DS 1.5 SP2 and want to show data labels on the chart.

We load data by scripts for user interactivity, not using by initial view option.

I signed the Show Data Label checkbox by using Additional Properties part but my chart does not show the data labels,furthermore it locks the chart.  Normally when you click the chart it goes to detail.

I have also try by adding below code but it does not affect.

CHART1.showDataLabels(true);

Can you have any suggestion?

Regards,

Cihangir

0 Likes

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Likes

Hi,

What browser are you using to view the application?

If it is the latest version of Google Chrome then you may want to take a look at the following link.

Chrome Version 48 and Design Studio 1.5 Charts ... | SCN

We came across similar issue and figured it was working on other browsers and lower versions of Google Chrome.

Regards,

Swapnil Koti

Former Member
0 Likes

Hi Swapnil,

You are right, problem is related with compatibility of Chrome Version 48 and DS 1.5. When I open the Design Studio report with Mozilla browser, Charts show the data labels even I use script.

We will wait DS 1.6 SP2 version to solve the Chrome version.

Thank you and thanks Tammy for your responses.

Regards,

Cihangir

Answers (1)

Answers (1)

TammyPowlas
SAP Mentor
SAP Mentor
0 Likes

Hello Cihangir - closest item of help I could find for 1.5 is this SAP KBA - see https://launchpad.support.sap.com/#/notes/2188932/E

I recommend reviewing the options outlined in the KBA

Former Member
0 Likes

Hi Tammy,

I tried the steps in KBA note like below but it does not solve the issue.

I think it can not be showed data labels on the charts if you load data by script.

I mean, Data Source part on our chart is empty on the properties section like below picture.

We assigned the datasource to our chart by writing script.

I think there can be a product limit in here. If you do not fill the data source on properties you can not bring data label values, even you use script for it.

Am I true?

Regards,

Cihangir,

TammyPowlas
SAP Mentor
SAP Mentor
0 Likes

Where did you add the code to show data labels?  Maybe something is not triggering correctly?