Bar charts using Graphical Framework.
Posted on
16th Feb 2014 07:03 pm by
admin
I am using Graphical Frameworks(GFW) to create a chart Graphic . There is no problem with the data displayed on the bar graph .The problem is that Y-axis of the chart resizes in function to the maximum bar value.
For example, if I execute the report and click on the link to view the Bar Graph, it shows Y-axis up to 120 as the maximum bar value was 100. However, if I change the maximum bar value from 100 to 80 the Y-Axis resizes to 100.
I need to know if it's possible to fix the Y-Axis size to 100 irrespective of the value being displayed. I have disabled the automatic Maximum column value calculation using the method IF_CUSTOMIZING~SET of Class CL_CU_AXIS. The attribute I am passing is CO_MAX_VALUE_AUTO and the value is space(To disable). Then I set the maximum column value to 100 using the same method and class with the attribute passed being CO_MAX_VALUE. But this is not working.
Am in a support project and the object has already been developed using GFW by creating graphics proxy using interface IF_GRAPHIC_PROXY and various attributes in it . Customizing for Bar charts is also done using attributes and methods of class CL_CU_DISPLAY_CONTEXT. Now the client wants the Y axis displayed to be fixed to 100 irrespective of the data . So for this purpose am using attributes of the class CL_CU_AXIS which contains all attributes of an axis .But unfortunately it’s not working . So can you provide any insight for the method that we have used . I can’t be using the Function module ‘'GRAPH_MATRIX_3D’. I have checked the sample SAP program ‘GFW_PROG_TUTORIAL’ but didn’t get any solution.
Help needed urgently.
Thanks
No comments posted yet
Your Answer:
Login to answer
96
9
Other forums
Multi language - seo links
Im trying to figure out the best method to have a multi language website that will function with seo
need to add "sizes" to shopping cart
Hey guys, I am trying to figure out a way to add a "size" selector on to this bit of code.
storing video files into mysql in php
hi
i have my video files in my folder ,
i have to store the path of the videos into db an
weird problem
last time, i did post a topic concerning why my page sometime will load as blank page when using IE.
how to remove in php string display
My code is
$message="We're looking at developing our website.";
$body= "My mess
Adding Outlook 2007 items via file upload
I am looking for a way to be able to attach an Outlook item (an email message) in an ASP.NET 3.5 app
New to mysqli library - Multiple query problem
Greetings,
I am writing a batch program that executes 3 queries on a single page. Using mysql
Retrieving innerHTML with cURL?
Hey all (sorry I know I'm a leecher, but I soon won't be. This is my first PHP project, but not my l
How to Detect it is public_html or httpdocs?
How to check whether it is cPanel or Plesk?
If it found public_html perform <?php incl
Multiple submit forms inside a mysql array page
Hi all,
Im having trouble to get the beneath script to work the thing i can't seem to get wor