|
Separate clickable imagemap label formats for different data sets |
Posted by Dan on Nov-05-2013 23:18 |
|
I have a scatterchart that, depending on the source data, might have as many as four
datasets rendered on it.
I'd like each dataset to have its own imagemap title format.
Is this possible? |
Re: Separate clickable imagemap label formats for different data sets |
Posted by Peter Kwan on Nov-05-2013 23:42 |
|
Hi Dan,
Yes. You may use 4 different scatter layers for the 4 data sets. In each scatter layer, you may use Layer.setHTMLImageMap to configure an image map for that scatter layer. So you may have 4 different image map formats for the 4 scatter layers. Your code can then use getHTMLImageMap to get the image map as usual. The format specified by setHTMLImageMap will override the format specified in getHTMLImageMap. In other words, the format in getHTMLImageMap is only used for layers that do not have setHTMLImageMap.
Hope this can help.
Regards
Peter Kwan |
|