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

Javascript to update Chart Min/Max value

Started by sanjuking, 27 Jul 2011 03:08:18 AM

Previous topic - Next topic

sanjuking

Friends,

         I'm having problem with bar chart. When data points to be plotted is less that 4, Cognos starts duplicating Y-axis labels. This is because I have not set SCALE VALUE explicitly in my report. The reason behind doing so is that with hardcoded value, automatic scale selection will not work which creates problem if data to be rendered is too high.

Is it possible to update SCALE VALUE using javascript based on # of datapoints to plot?

Any other mechanism by which this can be achieved.

Thanks,
Sanju

KLeonard1

I'm looking to do something similar. I want the Y1-Axis MIN and MAX values to be based on columns in my query, not hardcoded.

Any ideas?