2 Replies Latest reply on Apr 12, 2011 12:22 AM by Touqeer kashmiri

    Line chart showdatatips property

    Touqeer kashmiri

      i draw a line chart of employee it display time in of employee against the day that it arrive i use property of showdatatips is set true

      when code is run and display a chart when we move a mouse  for a point a data tip window is display with black background and i cannot see the data inside

      the tip window

        • 1. Re: Line chart showdatatips property
          HenrySeng-CH

          Hi Touqeer, did you try to use a dataTipFunction?

           

          It works like that :

           

          <mx:LineChart dataTipFunction="myDataTipFunction">

           

          </mx:LineChart>

           

           

          <fx:Script>

               <![CDATA[

                    public function myDataTipFunction(hitData:HitData):String{

                         var dataTip:String = "";

           

                         dataTip = "whatever";

           

                         return dataTip;

                    }

               ]]>

          </fx:Script>

           

           

          There will be your employees informations in hitData.

          • 2. Re: Line chart showdatatips property
            Touqeer kashmiri Level 1

            i checked this code

            but the problem is still

            the tooi tip is display in my project but the problem is

            it display with black background colo

            r