Quantcast
Channel: SCN : Discussion List - SAP BusinessObjects Design Studio
Viewing all articles
Browse latest Browse all 4041

Change values in Chart dynamically using script

$
0
0

Hi,

 

I have a problem with label in my chart

 

erro.PNG

Using RapidPrototype, I can resolve this case, but when I change my filter the year my chart back.

 

-----------------------------------------

setTimeout(function(){

if(!$('.PAN_TAB').hasClass('cima')){

$('.PAN_TAB').addClass('cima');

     var distanciaY = parseInt($('g.v-modules g.v-module g.v-markers.v-datashapesgroup g.v-m-datalabel g.v-datalabel text').attr('y'));

  var tamanhoreal = distanciaY - 20;

  $('g.v-modules g.v-module g.v-markers.v-datashapesgroup g.v-m-datalabel g.v-datalabel text').attr('y', tamanhoreal);

      };

},3000);

------------------------------------------------

 

Capturar.JPG

when I change one filter back

 

 

Capturar1.JPG

 

I searched but did not find a solution

 

Change Chart title and Axis label dynamically using script or CSS

https://scn.sap.com/thread/3771866

SAP Design Studio 1.6: Change the color of the charts with CSS

https://scn.sap.com/thread/3860882

Labels on chart vertical axis - decimals

https://scn.sap.com/thread/3715782

 

best Regards


Viewing all articles
Browse latest Browse all 4041

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>