I had the same problem when I used Flex Modules. I learnt that the fonts
and styles are not included in the modules by default and none of the
tooltips show due to this. So I had to set the moduleFactory of the module
to Application.application.systemManager to resolve that issue.
public function ClassConstructor():void
{
this.modulefactory = Application.application.systemManager;
}
Not sure if this would be of any help.
thanks!
Veena
On Wed, Mar 31, 2010 at 1:46 PM, Arulin <[email protected]> wrote:
> Ok, I know this is gonna sound really bad on me but I've learned Swiz,
> figured
> out how to simulate a Java-like Thread.wait() using a timer and check
> a object
> for data changes, I've even been able to get around Flex 4...But I am
> having a
> goose chase on where my tooltips are, I get blank tooltip bubbles.
>
>
> Ok here the case. I am using Plot chart, with the tooltips set to
> show. When I
> hover over a data point I get a blank tooltip bubble. When I set
> showAllToolTip
> to true I can see the data in the tooltip bubbles. Now I am dynamicly
> creating my series , there is a
> chance for infinite data sets so the series have to be dynamic. Is
> there
> something I am missing in the code snippet below? This controls the
> dynamic series and setting of data.
>
>
> This is where all my chart's plotting is handled (excuse the pun):
>
> public function sendDataToPlot(evt:TimerEvent):void {
> myChart.showDataTips = true;
> if(models.message != null || models.message != ""){
> var myXML:XML = models.message;
> var wholist:Array = new Array();
> for each(var property:XML in myXML.item.session) {
> // Create an Array of unique names.
> if (wholist[property] != property)
> wholist[property] = property;
> }
>
> // Iterate over names and create a new series
> // for each one.
> for (var s:String in wholist) {
> // Use all items whose name matches s.
> var localXML:XMLList = myXML.item.(session==s);
>
> // Create the new series and set its properties.
> localSeries= new PlotSeries();
> localSeries.dataProvider = localXML;
> localSeries.yField = "visits";
> localSeries.xField = "when";
> // localSeries.
> // Set values that show up in dataTips and Legend.
> localSeries.displayName = "Session " + s;
>
> // Back up the current series on the chart.
> var currentSeries:Array = myChart.series;
> // Add the new series to the current Array of series.
> currentSeries.push(localSeries);
> // Add the new Array of series to the chart.
>
> myChart.series = currentSeries;
>
> }
>
> } else {
> alrtTimer.reset();
> alrtTimer.start();
> }
>
> --
> You received this message because you are subscribed to the Google Groups
> "Flex India Community" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<flex_india%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/flex_india?hl=en.
>
>
--
You received this message because you are subscribed to the Google Groups "Flex
India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/flex_india?hl=en.