If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

Fixed Scale in RAVE Chart

Started by russelljmunn, 06 Nov 2015 09:21:08 AM

Previous topic - Next topic

russelljmunn

Hi,

I'm currently editing a horizontal bar chart using the Visualization Customizer. When I use the chart in my report I want the x axis to always have a minimum value of 0 and a maximum value of 100 (I will be plotting percentage values in my report). Does anyone know how to force RAVE to set a fixed scale?

I see this code in the JSON file and suspect there is something I can amend:

"scale":
{
   "local":false
},
"axis":

Any help would be much appreciated.

Russell

Christian85

Hi there,

you can accomplish this by setting spans in the scale:

        "spans":
          [
                {
                    "max" : 5,
                     "min" : -5
                 }
           ],

Hope that helps!

Christian

russelljmunn

Yes it does! Thank you so much.

FYI, I had to include the spans definition inside the "scale" section of the definition to get it to work like this:

"coordinates":
         {
            "dimensions":
            [
               

               
               {
                  "scale":
                  {
                     "spans": [ {"max": 100, "min": 0} ]
                  },
                   ...