07-25-2016 05:21 AM - last edited on 07-25-2016 05:56 AM by Bruno_SAS
I am trying to create custom tooltip (other than used in imagemap=ON) using GTL .is it possible to show tool tip data using categories other than used in boxplot.
Following is the code i am trying with:
ods graphics on/ border=off width = 1300PX HEIGHT = 650PX imagemap=on;
define statgraph boxplot;
boxplot y=mnval x=Variant/spread=true ;
referenceline y=&bin_lsl/curvelabel="LSL=&bin_lsl" ;
proc sgrender data=xyz template=boxplot;
where Plant="&Plant" and 'Shorttext'n = "&test_param"
label Variant="RM variant";
07-26-2016 01:54 AM - edited 07-26-2016 01:57 AM
thank you for suggesting this method
but do we have to provide calculated stats like mean median to y axis while defining stat= option?
it is showing ths error for me:
The boxplotparm statement will not be drawn because one or more of the required arguments were not supplied.
I replaced boxplot with boxplotparm , added stat=stat and orient=vertical in above code.
07-26-2016 03:09 AM
Have a look at the doc for the BOXPLOTPARM, it states:
|Requirements:||The input data must be precomputed. See Input Data Requirements for the BOXPLOTPARM Statement.|
So BOXPLOT and BOXPLOTPARM are not interchangeable.
07-27-2016 03:36 AM
Please also have a look at this recent Graphically Speaking blog entry http://blogs.sas.com/content/graphicallyspeaking/2016/07/25/unbox-your-box-plots-part-deux/ by @PrashantH_sas
Need further help from the community? Please ask a new question.