Customizing Chart DataTip position

Hi,
I am using Flex 3 Column Chart with Stacked property
I use two column series
On mouseOver the column bars, the dataTip appears near the bar.
I use a dataTip function to provide the contents for the DataTip & it might take 4 - 5 lines.
I would like to have the DataTip box always appear on the top left corner of the chart.
So, I create a DataTip renderer as shown below by shifting the DataTip to x:20 & y:15
import flash.display.*;
import flash.display.Graphics;
import mx.charts.chartClasses.DataTip;
public class MyDataTip extends DataTip
     public function MyDataTip()
          super();
     override protected function createChildren():void
          super.createChildren();
     override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
          super.updateDisplayList(unscaledWidth, unscaledHeight);
            this.x = 20;
            this.y = 15;
I apply this to the chart like (during application creationComplete() event:
myChart.setStyle("dataTipRenderer",MyDataTip);
But even when I do this, I do get a flickering when I mouseOver the chart bar and the DataTip box appears near the bar, then in the top left position
and When I mouseOver the bars the display refresh problem takes place
How to override this so that the box always appear the top left corner without any flickering
- Sen

Since DataTip inherits from UIComponent, you should use the move method to position it. Also use the setActualSize method in the override.
super.updateDisplayList(unscaledWidth, unscaledHeight);
this.move(20, 15);
this.setActualSize(unscaledWidth, unscaledHeight);

Similar Messages

  • How to create the custom charts?

    how to create a custom charts? for example the donut shapes, but for the data can be automatically adjust (like a available charts on keynote)

    Keynote and Numbers do not have a tool for making Donut Graphs. There are ways to make them using HTML, but I prefer to cheat:
    1 Create your first graph as a pie chart and add a circle of solid color to the center
    2. If you need more, take a screenshot of the pie chart with the center fill  and drag the screenshot into Preview - in Preview > Select Tool (pulldown from Toolbar) > Instant Alpha and remove the inner filled circle and outer fill then Save As > PNG with Alpha
    3. Drag your new hollow shape into Keynote. This chart can be placed over another pie chart with a filled center (the fill should match the background)
    Not as graceful as a special tool but can get the job done quickly - changing the data requires starting it over since at least one of your donuts my be an image rather than a pie chart with variable data.
    Try it. If you need more specific tools, Google Donut Shaped Charts for starts.
    Good luck

  • X-axis values on Custom charts

    Hi,
    I have a Custom chart with the Pen Type as Line.
    If I plot a numerical values as the X-axis, the X-axis ranges do not come as expected.
    e.g. If my data comes as shown below and I am plotting column A on the X-axis, then the
    X-axis labels would read as 6,8,5,4,3.
    Column A 
    8
    6                       
    5           
    4           
    3           
    When I plot a Line Chart with the same data, the X-axis labels come properly in order(3,4,5,6,8).
    If I do an explicit sort on the X-axis column, then the Custom Chart gets plotted correctly, but the requirement is such that I cannot do an explicit sort on the dataset.
    Can anybody help me out on this?
    Thanks,
    Amrita

    The chart will plot them in data set order, so that is what you need to address.  If your dataset is coming from an SQLQuery then do your sorting in the query or procedure.  For non-sql results consider using the GenericSortFilter.xsl as an InlineTransform in your query template, or the sort filter action block in BLS if your chart is being fed by an XacuteQuery.
    Regards,
    Jeremy

  • Inserting Custom Charts in WAD

    Hi There,
    I want to Insert Custom charts into WAD. (BI 7.0)
    Is there a way to do this.
    Does MIME support upload of charts?
    Please give me a link to edit CSS sheets if anyone has it.
    Thank You All.
    Regards
    Joga

    Hi vasu
        chk with categories of values
    like as per query colums the category values are assign,
    chk with order and set the values and chk once for query properties and template properties also,thn chk axis values make as automatic becoz bydefault we have userdefined thr

  • Business graphics Customizing chart not found; contact administrator in MSS

    Hi All,
    We are getting error Business graphics Customizing chart not found; contact administrator in MSS-->Home Service only for one user but for remaining users it is working fine. Please find the below screenshot.
    Please provide your inputs......
    Regards,
    Rahul.

    go to t -code st01 and switch on the trace on top and tick the buttons in that and after that ....check for working  manager user id  first and do it  with this user which is not working u can know  any authorisations are missing assign them for this user ..ur issue will be solved

  • Chart Axis Position

    Hi there,
    I'm wondering how I can fix the vertical axis of a chart into
    position. I have 4 charts that are vertically aligned. When the
    chart labels of one get larger than than the rest of the labels the
    chart resizes to make more room for the label. When this happens it
    throws the charts out of alignment. This is a big problem for me as
    the 4 charts share the same X-axis and I only have labels turned on
    for the bottom chart. The chart type is a linechart and the axis
    are both of linearAxis type. I have tried the verticalAxisRatio
    property of the lineChart but this has a rendering problem and
    tends to chop of part of the labels. Im wondering if I can
    explicitly fix the position of the vertical axis so they won't
    move.
    Thanks in advance.
    Tim

    Wow, I tried so many things (even tried the Scope and Sweep chart mode) but some settings must have been different then because the scope chart mode does it this time! Thanks a lot.
    Ben64

  • HR Organisation Chart : Showing Position as Presently occupied by other

    As per our Business Practice, there are some Positions which are Vacant but occupied by some Employee as their Secondary assignment (over and above their primary assignment, which is some other position). And this position we don't want to show it as Vacant and as of now there's no plan to fill this also in near future, but as part of the Organisation Chart, we want to show this as Occupied position.
    e.g. Presently in our Org Chart, CIO Position is Vacant, but we want some existing employee to appear as "Acting CIO" and don't want Vacancy report to display such positions which is dully occupied by some Employee's.
    So how can we incorporate such Employee assignment to 2 different Positions, one Primary and other Secondary, so that such Positions are not shown as part of Vacancies.
    Thanks in Advance & Best Regards
    Harish

    Hi Harish,
    I hope you can create your Secondary Position in Planned Status and make it active after the primary Position got Obsolete.
    Good Luck
    Om
    Reward it, if u feel helpful.

  • Generating custom chart

    Hi,
    I am facing the following problem while generating charts.
    I have a tag query returning current values of two tags -  T1 and T2.
    If I am plotting the chart at 12.20,
    The X-axis points would be 11.30, 12.00, 12.30, 1.00.
    T2 should be shown as bar in the current 30 minutes range, i.e. 12.00 to 12.30
    T1 should be plotted as a straight line for the whole duration.
    I have used a Custom chart setting the pen type to Line for T1 and pen type as Bar for T2. If I set the value at 12.00 to T2 and for all all other X-axis points to 0, I get a bar at 12.00. How can I set the bar in the range from 12 to 12.30?
    If I iterate through all the points in the range 12 to 12.30 and set it to T2, then the X-axis range goes haywire!
    Can anybody help me out? Thanks.
    Edited by: Amrita Nandagopal on Jan 31, 2008 9:11 AM

    Hi,
    XML sample attached....
      <?xml version="1.0" encoding="UTF-8" ?>
    - <Rowsets DateCreated="2008-02-01T14:56:11" EndDate="2008-02-01T14:56:11" StartDate="2008-02-01T13:56:11" Version="11.5.0">
    - <Rowset>
    - <Columns>
      <Column Description="" MaxRange="1" MinRange="0" Name="MaxValue" SQLDataType="8" SourceColumn="MaxValue" />
      <Column Description="" MaxRange="1" MinRange="0" Name="AvgValue" SQLDataType="8" SourceColumn="AvgValue" />
      <Column Description="" MaxRange="1" MinRange="0" Name="Time" SQLDataType="1" SourceColumn="Time" />
      </Columns>
    - <Row>
      <MaxValue>195.054195418761</MaxValue>
      <AvgValue>0</AvgValue>
      <Time>2008-02-01T14:00:11</Time>
      </Row>
    - <Row>
      <MaxValue>195.054195418761</MaxValue>
      <AvgValue>2.41</AvgValue>
      <Time>2008-02-01T14:30:11</Time>
      </Row>
    - <Row>
      <MaxValue>195.054195418761</MaxValue>
      <AvgValue>0</AvgValue>
      <Time>2008-02-01T15:00:11</Time>
      </Row>
    - <Row>
      <MaxValue>195.054195418761</MaxValue>
      <AvgValue>0</AvgValue>
      <Time>2008-02-01T15:30:11</Time>
      </Row>
      </Rowset>
      </Rowsets>
    I am creating this xml dynamically thro a txn at the time the chart is generated. The above xml was created at 2008-02-01T14:56:11.
    AvgValue is set to 2.41 at 2008-02-01T14:30:11 and zero at other points.
    Am I going wrong in creating the xml?

  • Custom Charting Objects in OBIEE 10g

    Hi ,
    Has any one ever used their custom charting objects , meaning something other than the gauges , meaning custom images and built charts on or around them.I am using OBIEE 10.3.1.4.
    Thank you

    Hi,
    Please refer the following links.
    http://oraclebizint.wordpress.com/category/obi-ee-plus/page/20/
    http://obiee10grevisited.blogspot.in/2012/02/how-to-customize-chart-series-colors.html
    Award points it is useful.
    Thanks,
    satya

  • Interpolate lines by Pen in a Custom Chart

    I built an SPC chart as a custom chart type and have four data series plotted (process, center line, UCL, and LCL). 
    I would like to non-interpolate the UCL and LCL pens only - and leave all other data series interpolated, but noticed there is no option on the "data series detail tab" to turn off interpolation by data series; there is only a global option to have all series interpolated or non interpolated on the "chart area" tab.
    Any ideas?

    Ok, if that's the case I can go and change the transaction - but there's no way to just toggle interpolation by series on the display template? 
    It would be nice to get the UCL and LCL looking like "steps" right from the display template.  But oh well.
    Thanks,
    Justin

  • Custom Chart disappears in Powerpivot 2013

    I've created a dashboard using difference datasources in Powerpivot 2013.  I've created a reference table in which I use a slicer that has a relationship with all my pivots/charts.  Due to the changing of dates (fiscal years), there are times
    when no data would be available in the charts.  My issue is that if I select an option from my slicer, and there is no data, I lose the custom chart I created AND the formatting is lost.  For example; I am using custom charts
    (mostly a mix of bar / line with markers).  If I choose a Region with no data, the chart goes blank.  When I clear the filter from the slicer, the data comes back, but it seems to go to the first chart selected in the combo custom chart and I lose
    the line with markers.
    ANY help would be greatly appreciated!!

    Haven't heard anything yet.

  • Issues with Custom Chart

    Hi,
    I am facing some issues with custom charts.
    1. X Axis value is getting cut off. Given date as x axis parameter and last 2 digits of date is getting cut off. (format like 19-Apr-2011T00:00:00). And this value cut of happening only for custom chart.
    2. On right click of the custom chart, when i am selecting Preview, it opens a new pop up window with and error as Error: "Application error occurred during the request processing.". No preview is being generated.
    3. In Server Scaling, i checked Use global auto scaling, and many times it is showing improper y axis or mutiple y axis values with the same value or it is displaying improper global range
    kindly help
    Regards
    Muzammil

    Muzammil,
    Without seeing your data and your chart configuration, it is difficult to understand exactly the issues you are encountering.  I have the same JRE and the same version and build of MII as you.  I have no difficulty with the scaling or with Global Range, but problems displaying the date in my tests.
    I would suggest the you enter a ticket into the SAP Support System, and enclose a  copy of your data (run the query, use Browser with Content Type = text/xml) and export a copy of you display template.
    Lastly, what type of query are you using - sql, tag?
    Kind Regards,
    Diana Hoppe

  • Custom Chart Type

    <p>Hello,</p><p>We have a particular visualization need to be integrated into Webi. We were hoping to get our visualization working in a similar fashion as the built-in charts in Webi. Is it possible to define our own new ChartType and get it integrated into the Webi interface? Or do we have to build a custom webapp that integrates the Report Engine and other components, duplicating some of Webi&#39;s functionality? Has anyone done anything like that? </p><p>Thanks,</p><p>  -Benjamin DeVore<br /> </p>

    <p> </p><p>There&#39;s no way to define a custom chart type in Webi, but I&#39;m assuming that you already have a chart engine for that.  Does it create images?  One thing you can try is to create images of the chart you need using your engine, then inject the image into a database, and have Webi report off that.</p><p>TUeda </p>

  • Custom Chart / Pareto Chart

    Hello, i have two questions.
    How can i do a custom chart?, i can not find this option
    How can i do an pareto chart?
    Kind Regards, Victor

    Your best bet for information on the CustomChart (a specific type of iChart where the data series details are configured per value column into a line, bar, marker, etc) is the online help documentation:  iChart Data Series Details - Content Development - SAP Library
    For a Pareto Chart there is no dedicated chart type, but between the various iChart type options for Bar, GroupBar, and Custom Chart.  You can simply return your dataset sorted descending by count/number, so in effect you can have something like a 'Top 10' view, showing things like the most frequently occurring issues, or the largest total amounts for the given time period or associated unit.

  • Chart legend position plus ...

    Hi,
    Is it possible to specify the position of the legend of a chart ?
    We have a pie chart and would like to place the legend towards
    the top and left where there is ample "dead space". Can this be
    done ?
    Also, if the legend is not displayed (via checkbox option) there
    is no data visible on the pie chart, eg. there is no "show value"
    or "show label" option. Is there a way to do this ?
    Thanks in advance,
    sinclair

    Hello,
    There is no easy way to do this in APEX at the moment. You can do it by turning the legend off and then including a custom svg construct in the chart footer section. You'll have to study up on a bit of svg though and make sure you match your legend colors with your value colors but it is feasible.
    Carl

Maybe you are looking for

  • Do I really have to create a new account?

    When I go to login, I get a screen with my settings (all correct), implying that I have to set new settings. At the bottom of this page is an error message telling me to contact a forum person.(can't remember the exact title) Without creating a new a

  • Problem with package that create mail with PDF attachment

    Hola, I've this problem when I use the Oracle Package called "demo_mail", that I have download from this forum en september. The code of the Package, I post bottom, now I write the records of the Package, that I believe is the core of the problem: de

  • Custom date fields in Interactive Report

    Hi, I am using newly patched version of Apex - 4.0.2.00.06 What I am trying to do is to have two datepicker fields P84_DATE_FROM and P84_DATE_TO in separate HTML region, on the page that has IR / Interactive Report, that will be filter in report sour

  • Does the Slideshow in Photos Loop?

    Trying to see if the iPad can be setup as a digital picture frame when guests arrive. I found the slide show option but it doesn't appear like this function loops. Is there a setting somewhere that I'm missing?

  • How to type joint arabic letters in adobe photoshop/illustrator?

    In creative cloud i selected english (arabic enabled) as a preference. I reinstalled photoshop because I had already installed photoshop with english as a preference. I still can't type joing arabic letters. how to type joint arabic letters in adobe