|
Boxwhisker question |
Posted by aldy on Dec-20-2011 22:09 |
|
Hi Peter, I tried to create a boxwhisker chart that can mouseover the different values of
each part of the boxwhisker (e.g. when i hover to max portion, it only shows the value for
max, etc.). What i achieved was that i can only separate the min&max, median, and
1st&3rd quartiles. I placed them in 3 separate layers/objects, so when i hover on max part,
it shows the max but with the min value also. Tried to separate each composed of 5 layers
on separate objects, but the box was not drawn and so with the vertical line that connects
the min and max. Any idea how to achieve this? |
Re: Boxwhisker question |
Posted by Peter Kwan on Dec-20-2011 23:49 |
|
Hi aldy,
You may add the BoxWhiskerLayer as usual (just use one layer), but do not add any image map for that layer (eg. use Layer.setHTMLImageMap to disable the image map on that layer).
Then you may add 5 transparent layers for the min, max, median, 1st and 3rd quartiles. In this way, you can have 5 different image maps for the 5 values. I usually use scatter layers for the 5 layers because I can control the size of the image map by controlling the symbol size.
Hope this can help.
Regards
Peter Kwan |
|