Quantcast
Channel: SCN : All Content - Web Dynpro ABAP
Viewing all articles
Browse latest Browse all 3667

How can I dynamically set the height of a chart (BusinessGraphics)?

$
0
0

I have a BusinessGraphics chart (Gantt chart) in one of my views.  One of the properties of the BusinessGraphics object in my view is "height", but for some strange reason, this value doesn't have any binding associated with it.

 

So what happens is I have to put a value in the field, like "300".  This might work fine for a small number of rows to display in my Gantt chart, but if I have a large number of rows, all the data rows get crunched together into a mess, and the chart is useless.

 

Is there any way at all that I can set this property dynamically?  I was thinking I could come up with some simple formula to set the height based on the number of data rows I need to chart.  But that doesn't help me if there's no way to dynamically change the property.  I did run across the following:

 

To change the appearance of a business graphic, use the methods of interface
class IF_SALV_WD_GRAPHIC_SETTINGS (implementing class CL_SALV_WD_COLUMN

 

Unfortunately, I don't know how to establish connectivity to the BusinessGraphics that I created during design time (it's an object already on my View).

 

Can anyone tell me if it's possible to dynamically set the height for my established BusinessGraphics object, and if so, how to do it?

 

Thanks!

Dave


Viewing all articles
Browse latest Browse all 3667

Trending Articles



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