Thanks for the reply, Ely!  I really appreciate your input. 

> myChart.setStyle("calloutStroke",null);

This works to hide the calloutStroke... ...but the positions of the
dataTip boxes still get offset from the chartItems (in my case, far
away from the DiamondItemRenderers of my plotSeries).  In other words,
when dataTipMode="multiple", I want the dataTip boxes to position
themselves like they do when dataTipMode="single": i.e., a few pixels
to the northeast of the chartItem.  

My real end goal is to show the all the items in the plotSeries, with
their corresponding dataTips right next to them (I'm using a high
mouseSensitivity to forcibly show multiple dataTips right now, but I
know I'll eventually have to explicitly dispatch MOUSE_OVER, or else
override findDataPoints and toggle all the showDataTips value to
false/true).

If I can't force the offset-positioning of these dataTips in order to
align nicely with their chartItems, do you think I need to use a
custom ItemRenderer instead?  Your "StoplightItemRenderer" example at
qs* is quite helpful in this regard, but I can't figure out how I'd
also draw text values from the chartItem adjacent to the
DiamondItemRenderer (e.g., "Smith,John (age 30)" adjacent to the
diamond graphic).

Thanks again for any suggestions; believe me, little bumps in the road
like this don't take away from the enormous benefit this charting API
has already been for us.

Regards,
-Peter Demling
 Lexington, MA

*is quietlyScheming.com down?  I lost connection this morning...

--- In [email protected], "Ely Greenfield" <[EMAIL PROTECTED]> wrote:
>
>  
> 
>  
> 
> Peter -
> 
>  
> 
> Took a peek at the code, and that looks to be an unfortunately bug on my
> part.  Use 'calloutStroke' instead of 'dataTipCalloutStroke' style.  You
> might have to set it programmatically:
> 
>  
> 
> myChart.setStyle("calloutStroke",null);
> 
>  
> 
> That should solve the problem (and in a more performant way).
> 
>  
> 
> Ely.
> 
>  
> 
>  
> 
> From: [email protected] [mailto:[EMAIL PROTECTED] On
> Behalf Of Peter Demling
> Sent: Friday, May 18, 2007 7:19 AM
> To: [email protected]
> Subject: [flexcoders] Setting dataTipCalloutStroke="{null}" when
> dataTipMode="multiple"?
> 
>  
> 
> Hello,
> 
> I have a CartesianChart where I don't want the calloutStroke to be
> drawn (and thereby offset the positioning of the dataTips from their
> data point), so I've set dataTipCalloutStroke="{null}".
> 
> This works fine when dataTipMode="single", but it does not work when I
> set dataTipMode="multiple": the callout is still drawn and the
> dataTips are offset. Any ideas? This is kind of a deal-breaker for
> my app, since a major feature is to display my custom dataTips
> directly adjacent to all (plot) data points at the same time. I
> suppose I could go way-deep into concatenating the default
> itemRenderer and the dataTip's custom contents into a custom
> itemRenderer, but I'd rather not have to code all that internal
> plumbing if I could instead do it all with this one style setting.
> 
> Thanks for any suggestions!
> 
> -Peter Demling
> Lexington, MA
>


Reply via email to