1 Reply Latest reply on May 14, 2008 5:00 AM by marcbc

    Position custom datatips in Graph

    marcbc Level 1
      Hi there,
      I'm working with a BarChart in which I'm displaying datatips with a custom DataTipRenderer. The problem I've got is that the rightmost DataTips, hide outside my flash movie, instead of aligning to the right border... can I control somehow the position where this datatip is appearing?

      thanks in advance,

      Marc
        • 1. Re: Position custom datatips in Graph
          marcbc Level 1
          Got it!
          just got a solution that seems to be working.

          hope it helps someone:

          override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void{
          super.updateDisplayList(unscaledWidth,unscaledHeight);
          if((this.width + this.x)>this.parent.width - 10)
          this.x = this.parent.width - this.width - 10;
          }