Noob Chart Question

Hello Once again.
I have a request to show datatips/labels in a second chart
when a user rollsover a complimentary datatip in the first chart is
this possible??
If so how can it be done or where can I read about it?
Thank you in advance.

Mush,
So, you'll want to do two things:
1) Set datatips to show on your chart
2) Create a custom data tip function
1) <mx:ColumnChart id="myChart"
dataProvider="{myprovider}"
showDataTips="true" dataTipFunction="formatDataTip">
2)
private function formatDataTip(hitData:HitData):String{
return "Total: "+ hitData.item.NameOfSeriesHere;
Now, I'll warn you ahead of time, that the name of the
"NameOfSeriesHere" item you want to display - that actual value,
works a little depending on the type of series you are using -
specifically, pie chart vs. all the others. So, debug your app,
watch the "hitData" variable and determine what variables you want
to use.
The Flex 2 developers guide is a great resource also.
Cheers,
David

Similar Messages

  • I am using pages designing a flow chart, question "I seem to have an issue with the arrows that you can add text to, it appears I can not move the point of the arrows up or down they only switch from left to right.

    I am using pages designing a flow chart, question "I seem to have an issue with the arrows that you can add text to, it appears I can not move the point of the arrows up or down they only switch from left to right.

    Last point...who archives? On my regular email page I now have the Archive icon to the left of my Delete icon which I would prefer was to the left, first in the line as this is the icon I use mostly. With Folders, my Sent and Trash lists, who needs to archive?
    I can help you only with the placement of the icon placement -- if you right-mouse click on the toolbar, then select Customize Toolbar, you can move an icon to where you want it to be.

  • 2D Line Chart question

    I have Apex 3.1 . I have created a 2D Line chart with for different series (so there are 4 lines on one chart). I also have a Legend on the left side next to the chart to label whatr each line is for. In my query for those lines I have the Name for the Legend as all CAPS but it shows up as first letter capital and the rest lower case. Is there a way to force it to all upper case?
    The second question I have is that underneath the legend I would like to have some type of text box were I can write a couple lines to help explain what is going on in the graph. Is there a way to do that?

    You basically have only a couple of options here:
    First, turn off the labels and possibly turn them into Hints. They wouldn't show on the chart, but when the user held over the data point, a tool tip would appear showing them the valuable.
    Second, adjust elements of the chart. What you are really looking at here is that your data set is causing this specific issue and not the charting engine or anything like that. You could try to manually change the axis max and min to get more spacing, or you could adjust the height of the chart to get more spacing, but this may not be a viable option. You could have one set of labels above the plotted line and another set of labels below the plotted line that way the values do not overlap with anything. However, from a conceptual standpoint, it will be difficult to determine in code which line should have values above and which should have values below. When your data set changes, you may end up with labels in the wrong place if you hard code where they are at.
    The current XML reference can be found at: http://www.anychart.com/products/anychart/docs/xmlReference/index.html however, that is for anychart 5. I'm looking for the link to the earlier versions...
    You can use this to create custom xml where you can adjust the position of the labels.
    Finally, you do not want expand the height of the chart between two points on the Y axis. That would change the structure of the chart and the visual properties of the chart and the shape of the data would be askew. You cannot do this for good reason. You can though use a logrithmic scale. In most cases though, this is not a practical solution. Data sets need to have very specific characteristics in order to be able to merit a logrithmic scale. Most queries require a simple linear scale.
    Austin

  • Chart question with, I'm sure, a simple answer (That I can't seem to figure out). Fixed 'time frame' on time axis.

    Hello all.
    I'm using charts to record data coming from vibration sensors on a bearing testing rig.
    The problem I have (or rather the users have) is that the chart seems to only show a minute or so 'window' of data and it moves along through the day that way.  Adding a scrollbar on the axis helps, but doesn't give a real 'picture' of a specified time range.
    We'd like to have the time range of the chart be about 12 hours.  Is there a simple way in properties that you can set the chart to show 'last X amount of time'?  Or at least something greater than a minute!
    Thanks for bearing with me.  There seemed to be several posts sorta similar to this, but none really addressing the exact issue.
    Still confused after 8 years.

    Hi Ralph,
    > I'm really, really confused.
    Don't feel alone, this was not obvious to me either.
    Here is an example in LV 8.5
    You can set the log interval and the number of hours to be displayed.
    steve
    Help the forum when you get help. Click the "Solution?" icon on the reply that answers your
    question. Give "Kudos" to replies that help.
    Attachments:
    chart time.vi ‏20 KB

  • CFCHART - Line Chart Questions - CF7

    Hi Folks -
    I have a few questions about CFCHART in CF 7 and I am hoping
    that maybe different users can answer them:
    The following questions relate to creating a line chart.
    1) Is there a way to control the gridlines yourself, and not
    use the values for the lines that CFCHART presents?
    1A) If you have to accept the values that CFCHART gives you,
    is there a way to control the actual rounding of the values? Right
    now I am getting 3 decimal places, and I would prefer whole
    numbers.
    2) Is there an issue with displaying negative values? I have
    a chart that ranges from -255 to 100,000 and has 10 grid lines. But
    the -255 does not display. I get 0, the rest of the lines, except
    for the 9th line.
    <cfchart chartheight="300" chartwidth="450" font="@Arial
    Unicode MS" scalefrom="-255" scaleto="100000"
    gridlines="10" xaxistitle="Month" yaxistitle="Total"
    format="png" labelformat="number">
    <cfchartseries type="line" serieslabel="Review">
    <cfchartdata item="Jan" value="2569">
    <cfchartdata item="Feb" value="65535">
    <cfchartdata item="March" value="-57">
    <cfchartdata item="April" value="75778">
    <cfchartdata item="May" value="89955">
    <cfchartdata item="June" value="39898">
    <cfchartdata item="July" value="0">
    <cfchartdata item="August" value="12560">
    <cfchartdata item="Sept" value="-255">
    <cfchartdata item="Oct" value="767">
    <cfchartdata item="Nov" value="6868">
    <cfchartdata item="Dec" value="37352">
    </cfchartseries>
    </cfchart>
    Any and all questions and answers are appreciated.
    Thanks,
    Doug

    You can specify scaleFrom and scaleTo by hardoced values or
    dynamic variables and number of gridlines. If you not specified
    first two attributes, then by default, the minimum is 0 or the
    lowest negative chart data value, and the maximum is the largest
    data value.
    To avoid decimals in your case empirically find good
    combination for your scale, for example from - 500 to 10 000 and
    number of gridlines = 12.

  • Simple Flex Chart question - Plot Chart labels

    I'm playing around with displaying data from WDA as charts in Flex 3.
    I'm able to bind my internal table, which has 3 fields, to the plot chart.
    The table looks like this
    ext_id      type string    " bound to prjname in Flex
    cost         type string    " bound to prjcost in Flex
    benefit     type string    " bound to prjbenefit in Flex
    These are all bound to my island's DataSource.
    I have bound these in Flex and the Cost and Benefits are showing up as points on my chart. However, I can't seem to get the Project Name to display on the plot points. All I see when I mouse over the point is EXT_ID, and the values for cost and benefits.
    The cost/benefit values are coming across correctly, just not the project name (ext_id) value. any ideas?
    here's the Flex code for the chart
         [Bindable]
         public var dataSource:ArrayCollection;
         [Bindable]
         public var prjcost:String;
         [Bindable]
         public var prjbenefit:String;
         [Bindable]
         public var prjname:String;.
        <mx:PlotChart id="plotchart1" dataProvider="{dataSource}" showDataTips="true">
           <mx:series>
                <mx:PlotSeries displayName="{prjname}" yField="{prjcost}" xField="{prjbenefit}" dataProvider="/>
            </mx:series>
        </mx:PlotChart>

    This is really a Flex question not an Islands specific one.  I don't think the displayName properity is what you want to use here.  This is the name for the entire series as it will be displayed in the legend. I think what you want is a dataTip.  You register a callback for the dataTip rendering and then fill the custom dataTip quick info.
    This is an example from a bar chart, but the theory is the same:
    <mx:BarChart id="barChart" dataTipFunction="dtFunc" xmlns:mx="http://www.adobe.com/2006/mxml" type="clustered" width="100%" showDataTips="true" height="100%">
         <mx:verticalAxis>
              <mx:CategoryAxis categoryField="{SalesOrd}" dataProvider="{dataSource}" />
         </mx:verticalAxis>
         <mx:series>
              <mx:BarSeries id="bsGross" xField="{grossAmt}" displayName="Gross Amount" dataProvider="{dataSource}" fill="{otdFill}" showDataEffect="{slideIn}"  />
              <mx:BarSeries id="bsNet" xField="{netAmt}" displayName="Net Amount" dataProvider="{dataSource}" fill="{rtyFill}" showDataEffect="{zoomIn}"  />          
         </mx:series>
    </mx:BarChart>
    private function dtFunc(hd:HitData):String {
                  switch(BarSeries(hd.element).id){
                       case "bsGross":
                             return "Sales Order #: " +  hd.item.SO_ID + "\n" + FlashIsland.formatNumber(hd.item.TTL_GROSS_AMOUNT) + " " + hd.item.CURRENCY_CODE;                        
                             break;
                       case "bsNet":
                             return "Sales Order #: " +  hd.item.SO_ID + "\n " + FlashIsland.formatNumber(hd.item.TTL_NET_AMOUNT) + " " + hd.item.CURRENCY_CODE;
                             break;                   
                  return "Amount";

  • Charts question / limitation?

    I have been tasked with pulling together a chart that conveys results of a customer satisfaction survey that contains 6 questions.  Each question has a measurement score on each of 1 to 5.
    What I am trying to do is for each question, I want to stack the bars, and show all questions.
    The chart above is only an example. What I need the chart to look like is outlined below.
    Title  - Survey Results - I know how to change titles and labels.
    X - Axis - want each question to be a stacked bar, I know how to add the label value for each color and change the label.
    I can get as far as showing the correct scores for one set of survey results, but it appears that CR has a limit of two items for the top "On Change Of"
    items.  I am only needing to use the items that are numbered 1-3
    Can what I am attempting be done in CR 2011?
    Glen

    Hi Rudolf,
    What you could do is pass the array which you feed to the graph via the array subset function and control the index and length to limit the number of stacked displays.
    Regards
    Ray Farmer
    Regards
    Ray Farmer

  • Tricky Stacked Bar Chart Question

    This question is written as clearly as I could think to write it. It's a bit bewildering, but I'd really appreciate if you could take the time to think about how I can do this!
    I have data like so:
    Column 1: X-axis labels (People's names),
    Column 2: Units Type 1,
    Column 3: $Amount Type 1,
    Column 4: Units Type 2,
    Column 5: $Amount Type 2
    3 Rows each start with a person's name (the X-axis label), followed by their data corresponding to the above columns.
    I want to make a total of 6 stacked bars:
    Units Type 1 and $Amount Type 1, for each of the three people. Then,
    Stacked on top, Type 2 Units on Type 1 Units and Type 2 $Amount on Type 1 $Amount (for their respective people).
    Units are between 0 and 100 and $Amounts are between $0 and $1,000,000.
    Is it possible to set 2 y-axis scales on the same chart?
    How can I set which columns are stacked on what?
    If it's impossible, just say so. That will help too!
    Thanks again,
    Mike

    Here is a suggestion.
    It requires three superposed charts.
    Chart 2 and Chart 3 have a transparent background.
    Only Chart 2 display X axis values.
    Only chart 1 display Y axis values
    The Y axis values for Units are inserted by hand in a text block.
    Yvan KOENIG (from FRANCE vendredi 5 décembre 2008 10:53:07)

  • Charting question

    Post Author: elooto
    CA Forum: Charts and Graphs
    I've only just started using Crystal Reports and I have a question on charting.
    I want to chart sales data. The Crystal Reports Wizard allows me to chart total company sales and then drill down to division, region etc.
    The problem I have is that I don't want to chart absolute sales values, but YoY%. Unfortunately although I can see how you set up formulae in Crystal I cannot see how I can set up a drill down report on this!
    Any help on this would be greatly appreciated.

    Post Author: V361
    CA Forum: Charts and Graphs
    Could you provide an example, ie... what you are getting, what you would like to get, or some sample data, and the setup of your chart.

  • Noob Flex Questions - Run Application

    Hi All
       I am trying to learn Flex 4 and having a question.
    When I download the sample files from Adobe website, I tried to open the files in Flex but it told me that I have to select
    New -> Flex Proejct -> Assign the file folder location to create a new Flex project. Then I created one with my own project name.
    Flex then created a new src folder with my new project name.mxml file. "THE FILE I WANT TO OPEN IS ON THEIR ORIGINAL FOLDER NAME." like
    Flex src or whatever the author created. I tried to run their mxml file, but the "Run Application" is grey out??!!. Why? I have to moved the mxml to my src folder? It seems dumb to me that I have to do this to open an existing project. Besides, if there is a subfolder with another subfolder under Flex src folder, when I moved them to my src folder, it created subfoldername.anothersubfoldername under my src (instead of subfolder/anothersubfolder that the original author created).  I know it might be a noob question, but what is going on here? I cant' even get the existing project running.........Thanks for any helps...

    Hi,
    Your question is a bit confusing but here is a fundimental principle in Eclipse.
    Every project has;
    MyProject
      - bin
      - src
        - MyApplication.mxml
      - html-template
      - libs
    The 'src' folder holds all runable/compilable code actionscript classes and mxml components/applications.
    The only thing Flash Builder will run is a mxml file that subclasses s:Application or mx:Application or any subclass of them.
    Flash Builder will not 'just' run an mxml file. So if you get application samples from Adobe, you need to have them in the src folder and there needs to be a little green arrow in the top left corner. This means it's a registered application that you can run. The little blue dot in the top right corner means it's the default application that will run when you hit ctr-F11 or F11 or Run..
    If you paste a file that IS an Application and cannot get it to run, you need to;
    - make sure it's in your src folder
    - right click an select Run As
    - select Web Application
    This will run the app baring no compiler errors. If the mxml file is not registered as an application, this action will also register it.
    Hope that helps,
    Mike

  • Noobie Finder question?

    Have searched without success in the forums.....How do you "move" a file or folder.
    I need to move my iphoto folder to the /user/shared directory so I can make all the photos available to all my mac users.
    I'm a noobie at Macs so forgive my ignorance. I only see a copy option?
    Thx for all help:P

    This is one of those seemingly simple questions... that isn't.
    Moving a folder in OS X is simple enough - you drag it from one place to another. You can move your iPhoto library to a different location quite simply like this.
    You can get iPhoto to find a library in a non-standard location (such as /Users/shared) by holding down the Option key while launching iPhoto.
    The problem comes with granting the sufficient permissions to let both users read and write to the shared library.
    In the older version of OS X it was fairly simple - Got Info on the library folder and changed permission (to give group Everyone read-write, if you were feeling a bit sloppy). With Leopard, Access Control Lists (ACLs) are also used for determining permissions and frankly, I'm not up to snuff on how these work with iPhoto. Perhaps someone with a bigger brain can help, or this may be useful:
    http://www.macosxhints.com/article.php?story=20050904072808460
    FWIW, Apple recommends avoiding permissions problems by moving the shared library to a shared disk ( which ignores permissions)
    http://support.apple.com/kb/HT1198

  • Pie chart question

    HI,
    I am trying to create a Pie chart report for the first time. How does one go about creating such report? I have looked everywhere, but have found no documentation on Pie charts.
    Also, will the following query work in pie chart:
    select null,
    resolution_type label,
    count(resolution_type) value
    from ht_issues
    where category = 'Help Desk Issue'
    group by null, resolution_type
    order by resolution_type
    Thanks,
    Wally

    Hi Vitaly,
    Yes, my problem is the query reurns a zero in the valur coumn and therefore displays in the chart as 0%
    Thanks,
    Wally

  • Stacked Bar Chart Question

    Hi, I am creating a stacked bar chart, and I am encountering 3 issues I hope you can help me with:
    1)  The chart has positive and negative values.  I have zero based centerline checked, but I do not see 0 on the Y axis.
    2)  The applet width is 900 pixels.  The chart can have a variable number of bars.  When it has a small number of bars, they fill the entire chart.  Is there a way to set the width to a fixed amount?
    3)  Is there a way to set a logical interval amount?  Currently the numbering is not intuitive.
    Thanks
    p.s.  We are using 11.5.3
    Edited by: Richard Keegan on Jun 13, 2008 5:18 PM

    Depending upon your query structure, you can force a zero based centerline by setting the Y-axis ranges dynamically.  I am not working in 11.5.3 currently, but ran into a problem with line charts in 12.0.2.  The zero centerline flag did not work, so I dynamically generated the ranges and linked them in.
    You can probably do the same with a little extra BLS coding.
    Mike

  • FR Chart Question: How to display % next to numbers?

    Hi FRville residents,
    I am building a report that is mapped to the Actual/Budget column. In the Grid, I added % sign through FR formatting. When I map this column in my chart, and display the value, the chart shows values only. For example let say for Region 1, Actual/Budget is 50%. My chart is showing 50.
    Is there any way to add the % sign in front of the numbers in charts?
    Thanks,
    A

    Hello!
    I know how to set headers and subheaders for charts and I did it.
    I want to show values of "DATA FIELDS" in pie chart. And also want to hide text "Sum ORDERS.ORDER_AMOUNT" which has been created automatically.
    P.S. I'm working with CR4Eclipse 2.0
    regards, Lev

  • Line chart question

    I have AW 6. I want to make a color line graph (chart) of some temperature data. The Y axis will be the temperature and the X axis will be the date for a month. So it is a simple temperature vs. date line graph. There will be two sets of data placed on this graph - the maximum temperature for the day and the minimum temperature for that same day for each of the days of the month. Therefore two lines will appear on the chart - Max line and Min line. I have been doing this for years and somehow must have formatted to show the Max line in red and the Min line in blue which makes sense. The data for the graph have been taken from a table showing three columns in the order date, max temp, min temp. However, recently most weather data has been reversed showing the lowest (min) temp for the day first since this occurs in the early morning hours of the day so I have decided to go along with this new trend and now have my table in the order date, min temp, max temp. However, now that I have reversed the order, the min temp line appears in red and the max temp line appears in blue. How do I change the colors to the logical blue for min and red for max. I must be missing something very simple here and have checked all the chart options but must be a bit blind or something.

    levlvl wrote:
    How do I change the colors to the logical blue for min and red for max?
    Make sure you have displayed the legend for the chart, and that you have the Tools showing.
    Click on the coloured square for Max in the chart's legend, then click the Pen button in the Tools, then choose the pen colour from the Color palette in the Tools. Click the square for Min and again choose the new Min colour from the palette.
    To change the colour of the data points, double click the coloured square in the chart's legend, then click the coloured square beside "Symbol" in the Char Options (Series) dialogue that opens. That will open a Color palette from which you can choose the same colour as you've set for the line. Use the pop up menu "Edit series:" to switch to the Min series and repeat.
    Regards,
    Barry

Maybe you are looking for

  • Payment in Alternative Currency

    Hi All, We have posted the document with local currency. Afterwards the user wants to change the payment currency for the line item for other currency. That time, the user by mistake enterd wrong value and saved it. Then once cleared, the system post

  • Upload files with swedish characters NS 4.7

    Hi, I can upload files with swedish characters in the file name with IE 5, but not with Netscape 4.7. iFS presents an error message that the file doesn't exist or is empty. Is there a solution for this problem? /Elin null

  • Icon instead of images

    No matter what I do I can not see images in catalyst. I only see icons of the stuff that should be images. The beta 1 was fine so I am confused. I just want to import everything I see in photoshop and finish working. Do I need to reinstall or I am si

  • Insufficient privileges wirh JDBC & somet. with name/pass@db

    SuseLinux 5.3 & Oracle 8.0.5: code-statement in a package (within the package is important!) cid := DBMS_SQL.OPEN_CURSOR; DBMS_SQL.PARSE('some statement'); DBMS_SQL.CLOSE_CUSOR(cid); works alwyas with sqlplus name/pass works sometimes with sqlplus na

  • 443 projects after iphoto library import - what the hey?

    I recently imported 9500+ images to A3 via file->import->iphoto library and while all the images are in the A3 library, they are randomly split into a total of 443 projects (yes, I counted them thank you very much). Is it possible to import the iphot