cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Choose Language Hide Translation Bar
lucianoa
Level I

Default Y-axis scale for multiple charts in graph builder, using page function

I am using graph builder for a data set that produces 20+ graphs.  I would like the scale & range of the Y-axis to be the same for all 20 graphs.  I tried the script below with no success

 

Graph Builder(
Variables( X( :Date ), Y( :Rate ), Page( :Category ) ),
Elements( Line( X, Y, Legend( 5 ) ) ),
SendToReport(
Dispatch(
{},
eval( column( :Rate)),
ScaleBox,
{Min( 0 ), Max( 50 ), Inc( 10 ),
Minor Ticks( 10 )}
)
));
1 REPLY 1
Jeff_Perkinson
Community Manager Community Manager

Re: Default Y-axis scale for multiple charts in graph builder, using page function

It's probably easiest to use the Axis column property on your :Rate column. That will make sure the axis is always what you want, and it's easier than trying to get to all the axes across reports to format them.

-Jeff