Newbie: trying to add a template chart series to a new tab

I have this idea where I want to get a time series when the user clicks a button and then create a chart and add it to a new tab. Should be simple enough.
I have my simple chart below that I want to chart.
Do I
1) try to do something with templating, i am reading some code about UIComponent etc, not really understabnding it
2) write some manual code that does all the same stuff as the MXML below, and then automatically adds this as a child to a tab object
3) something else entirely.
            <mx:Canvas label="Tab 1" width="100%" height="100%">
            <mx:Panel title="TimeSeries Chart"
                height="491" width="589" layout="horizontal" x="10" y="5">
                <mx:LineChart id="linechart" height="100%" width="100%"
                    paddingLeft="5" paddingRight="5"
                    showDataTips="true" dataProvider="{tsRPC.lastResult.DataPoint}">      
                <mx:horizontalAxis>
                    <mx:CategoryAxis id="ca" categoryField="@Date" title="Date" />
                </mx:horizontalAxis>
                    <mx:series>
                        <mx:LineSeries yField="@Value" form="curve" displayName="bps" lineStroke="{s1}"/>
                    </mx:series>
                </mx:LineChart>
                <mx:Legend dataProvider="{linechart}"/>
            </mx:Panel>
            <mx:TextArea x="631" y="10" id="textarea" width="257" height="471" backgroundColor="#7D1E71"/>
        </mx:Canvas>

Just bumping this question to see if anyone had any ideas.
I would have thought there would be some standard way of doing this but found the docs rather slack in this area.

Similar Messages

  • I am trying to add my brother printer series HL-2270DW, but I keep getting an error message that the software is currently when it tries to install it.

    I am trying to add my brother printer series HL-2270DW, but I keep getting an error message that the software is currently unavailable. How do I fix this?

    I am also having this same problem. I have updated my computer. I have downloaded the complete brother driver package from Apple as well as the drivers from Brother. As far as I can tell, all have been installed successfully. It is only when I try to ADD the printer do I get that message. Both my roomate and I have Macbook Airs so we cant use the disk which came with the printer. This is irrelivant anyway as the drivers have been successfully downloaded and installed. SO FRUSTRATING!!!!! 

  • When I try to open a new tab using the "+" on the toolbar, nothing happens. Even trying to use the cntl t to open a new tab does not work. To open a new tab, I must right click on a hyperlink. how can I correct this? Using Firefox 3.6.18

    When I try to open a new tab using the "+" on the toolbar, nothing happens. Even trying to use the cntl t to open a new tab does not work. To open a new tab, I must right click on a hyperlink. how can I correct this? Using Firefox 3.6.18

    The Ask Toolbar is causing that in the Firefox 3.6.13+ versions. Uninstall that extension.
    There are a couple of places to check for the Ask toolbar:
    * Check the Windows Control panel for the Ask Toolbar - http://about.ask.com/apn/toolbar/docs/default/faq/en/ff/index.html#na4
    * Also check your list of extensions, you may be able to uninstall it from there - https://support.mozilla.com/kb/Uninstalling+add-ons

  • I'm unable to add my bookmarks to the 9 window New Tab Page.

    I tried dragging and dropping into blank windows but it just opens the bookmark in a new tab.

    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • How can I stop the Add-on Bar from appearing everytime a new tab or window is opened?

    I close it each time, and I have also removed it by unchecking it in the toolbar (or similar) menu. However, it always reappears whenever I open a new tab or re-open Firefox. How can I get rid of it unless I choose for it to become present again?

    Right-click the "+" tab and deselect the Add-on Bar entry tick. The Add-on Bar should then disappear for the remainder of the session but will reappear when you restart Firefox. If you want to permanently remove the Add-on Bar then a different approach must be used, using a modified userChrome.css file.

  • I am trying to "Add Printer" during the install of our new HP 7520.

    When I click on "Add Printer" I receive an error message:  "The software for this printer is currently unavailable.  Please contact the printers manufacturer for the latest software"???
    This question was solved.
    View Solution.

    Hi,
    First reboot your Mac and run Software Update, next downlaod amd install the latest software for your OS:
    http://h10025.www1.hp.com/ewfrf/wc/softwareCategory?cc=us&dlc=en&lc=en&product=5199463&task=&
    If you experience further issues, please clarify your Mac OS X version by clicking the Apple icon and then About This Mac.
    Shlomi
    Say thanks by clicking the Kudos thumb up in the post.
    If my post resolve your problem please mark it as an Accepted Solution

  • Every picture on firefox has an add or a link to open a new tab, cites that wouldn't before have like two windows opened.

    This is a new computer it has Windows 8, and for some reason there are so many ads on Firefox. Every time I open up a window go go something simple like Google an ad will pop up in the corner. I'm not sure if it Firefox or Windows 8, but it is really frustrating to not be able to click a single link and have two different tabs opening.

    Hello,
    Try start Firefox in Safe Mode:
    *[https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode Firefox Safe Mode]
    You also can scan your computer, the problem can be a malware:
    Sometimes a problem with Firefox may be a result of malware installed on your computer, that you may not be aware of.
    You can try these free programs to scan for malware, which work with your existing antivirus software:
    * [http://www.microsoft.com/security/scanner/default.aspx Microsoft Safety Scanner]
    * [http://www.malwarebytes.org/products/malwarebytes_free/ MalwareBytes' Anti-Malware]
    * [http://support.kaspersky.com/faq/?qid=208283363 TDSSKiller - AntiRootkit Utility]
    * [http://www.surfright.nl/en/hitmanpro/ Hitman Pro]
    * [http://www.eset.com/us/online-scanner/ ESET Online Scanner]
    [http://windows.microsoft.com/MSE Microsoft Security Essentials] is a good permanent antivirus for Windows 7/Vista/XP if you don't already have one.
    Further information can be found in the [[Troubleshoot Firefox issues caused by malware]] article.
    Did this fix your problems? Please report back to us!

  • Change color in chart series (Chart Controls)?

    Does anyone know if it's possible to change the color within a series in Microsoft Chart Controls?  My data is X = test time and Y = response time using a column graph.  Currently when the test to collect response time fails it does not
    record a numerical value and when graphed it appears as though the response time was minimal.  I want to make it stand out when a failure occurs, for example to draw a large column and change the color to red (other values are in blue).
    I don't have much experience using Chart Controls yet.  I know you can use an alternate color with a different series of data but it doesn't appear you can change it from within. 
    This is my chart series (when a test fails, the response matches "" and not $NULL):
    [void]$chart1.Series.Add("ResponseTime")
    $chart1.Series["ResponseTime"].ChartType = "Line"
    $chart1.Series["ResponseTime"].BorderWidth  = 1
    $chart1.Series["ResponseTime"].IsVisibleInLegend = $true
    $chart1.Series["ResponseTime"].chartarea = "ChartArea1"
    $chart1.Series["ResponseTime"].color = "#0404B4"
    $DATA | ForEach-Object {
    If ($_.RESPONSE_MS -eq "") {
    $chart1.Series["ResponseTime"].Points.addxy("FAIL",9999)
    Else {
    $chart1.Series["ResponseTime"].Points.addxy( $_.TIME.Remove(5) , ($_.RESPONSE_MS)) }
    I tried changing the color within the if/else but the first .color value it picks up will be used throughout. 

    Hi Tickermcse76,
    To create a new line chart, please refer to this script:
    function New-Chart
    param ([int]$width,[int]$height,[int]$left,[int]$top,$chartTitle)
    # create chart object
    $global:Chart = New-object System.Windows.Forms.DataVisualization.Charting.Chart
    $global:Chart.Width = $width
    $global:Chart.Height = $height
    $global:Chart.Left = $left
    $global:Chart.Top = $top
    # create a chartarea to draw on and add to chart
    $chartArea = New-Object System.Windows.Forms.DataVisualization.Charting.ChartArea
    $global:chart.ChartAreas.Add($chartArea)
    [void]$global:Chart.Titles.Add($chartTitle)
    # change chart area colour
    $global:Chart.BackColor = [System.Drawing.Color]::Transparent
    } #New-Chart
    New-Chart -width $width -height $height -left $left -top $top -chartTile $chartTitle
    [void]$global:Chart.Series.Add("Data")
    # $global:Chart.Series["Data"].Points.AddXY($(get-date), $($ht.Values))
    $global:Chart.Series["Data"].Points.DataBindXY($ht.Keys,$ht.Values)
    #$global:Chart.Series["Data"].XValueType = [System.Windows.Forms.DataVisualization.Charting.ChartValueType]::Time
    #$global:Chart.chartAreas[0].AxisX.LabelStyle.Format = "hh:mm:ss"
    #$global:Chart.chartAreas[0].AxisX.LabelStyle.Interval = 1
    #$global:Chart.chartAreas[0].AxisX.LabelStyle.IntervalType = [System.Windows.Forms.DataVisualization.Charting.DateTimeIntervalType]::Seconds
    $global:Chart.Series["Data"].ChartType = [System.Windows.Forms.DataVisualization.Charting.SeriesChartType]::Line
    #$global:chart.Series["Data"].IsValueShownAsLabel = $false
    Reference from:
    http://poshcode.org/1205
    To change the chart color, please refer to this script:
    Charting with PowerShell
    I hope this helps.

  • HT5022 I'm trying to add a "new client" to my wireless network using Airport Utility, but I can't find that option in the new version.  I've downloaded all available updates of the OS and the utility..  Help!

    I'm trying to add my HP wireless printer as a "new client" to my wireless network using Airport Utility, but I can't find that option in the new version.  I've downloaded all available updates of the OS and the utility..  Help!

    Why would you need to ADD a new Client. Unless the APE sytem is completely different then any other Wireless router the printer should get an IP address from the router. That is IF the printer is setup to get an IP from the LAN DHCP server.
    Now you may want to make that IP it does get a Staticly assign IP address so it never changes, which will screw up printing if it does change. But i don't know if you can do that with APE routers.

  • Firefox start like it has just installed (checks add-ones and open whats new tab) after every windows restart

    i installed the 6.0.2 recently i am not really like this it started to be annoying every time i start firefox after reboot it start checking add-ones capability and open what's new tab as if i just installed it

    i solved it by deleting user.js file it works fine now

  • Add a window to an existing ff window as a new tab

    I love the "tear off tab" functionality and I use it all the time. I also use the "undo detach tab" extension. however, there are times when I have a window open (that was not created from a detached tab) and I want to move that window into another ff window as a new tab. I tried dragging the favicon and this did create a new tab but the old window remained and had to be closed manually (and the tab's contents were refreshed, which I didn't want either).

    Hi zarberg,
    Glad to hear that the problem has been solved.
    Thanks for your sharing .
    Best Regards,
    Elton Ji
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected] .

  • Need EXPERT's suggestion for APEX CHART SERIES

    Hello Everyone,
    I have been trying to solve an issue with my apex line chart. The scenario is as follows:
    I have a table called revenue. revenues per year are saved in it. and revenues are generated from three sources which are also saved in the same table.
    I have made a line chart on it. works well.
    Now I have to show that if the value of one of the sources had fallen, how must have it affected the total. I made a number field that takes an estimated change value, and build my sql query with it. it works but the problem is that it changes the non-affected source too. it must change the value of the affected source only and hence the total value.
    I hope I make sense and anybody can suggest something.
    bold or I will put it this way, how can I write a select statement for a chart series so that one of the rows value does not change and the other two change. ... ?
    Edited by: Samooray92 on May 30, 2013 2:41 PM

    Samooray,
    Let's work with this question since there is more detail here than in the other one. {thread:id=2543702}
    First it's always help to know:
    Full APEX version
    Full DB/version/edition/host OS
    Web server architecture (EPG, OHS or APEX listener/host OS)
    Browser(s) and version(s) used
    And sometimes this information as well.
    Theme
    Template(s)
    Region/item type(s)
    When a question goes unanswered for a while, there is no need to reply to it or to start a new question. You can edit the original question and just add "Bump" at the bottom and save the changes. This will bump it back to the top of the question list. And by that time, you might think of additional information you can add to the question.
    Say, why would a question go unanswered? Well, easy questions and frequently asked questions with well-known answers can be answered right away. Your question seems more complicated and I don't think we have all the information we need to understand exactly what the question is.
    You are doing a "series" chart. What kind of series chart: bar, column, line? What is each series? For example, components of revenue might be 1) sales, 2) licensing revenue and 3) other. Then you might have one series for sales, a second for licensing revenue and a third for other.
    Could you mock up a trivial example on apex.oracle.com http://apex.oracle.com/pls/apex/f?p=4700:1:0::::: ?
    Regards,
    Howard

  • Single Chart Series with multiple color data points

    I am developing an application using the flex chart component
    and I am binding data to 3 different chart series which is pretty
    intense processing. I was wondering can I use only one chart series
    and when I bind the data points just to change the color per data
    point which meet certain criteria?
    Here one method from my application where I am dynamically
    binding data to my series.
    private function loadSeries(data:XMLList, yAxis:String):void
    seriesAdd.yField = yAxis;
    seriesAdd.xField = "Date";
    //seriesDelete.yField = yAxis;
    //seriesDelete.xField = "Date";
    //seriesChange.yField = yAxis;
    //seriesChange.xField = "Date";
    seriesAdd.dataProvider = data.Trade.(A == 'Add');
    seriesAdd.//Can I change the color per each data point if I
    have multiple data sets?
    //seriesDelete.dataProvider = data.Trade.(A == 'Delete');
    //seriesChange.dataProvider = data.Trade.(A == 'Change');
    Thank you

    I think I found something to get me started:
    http://livedocs.adobe.com/flex/3/html/help.html?content=charts_displayingdata_09.html
    My next question is if I have the following function to fill
    my data points:\
    private function myFillFunction(element:ChartItem,
    index:Number):IFill {
    var c:SolidColor = new SolidColor(0x00CC00);
    var item:ColumnSeriesItem = ColumnSeriesItem(element);
    var sales:Number = Number(item.yValue);
    if (sales >= 50000) {
    return c;
    } else {
    // They have not met their goal.
    c.color = 0xFF0000;
    return c;
    How can I access values that pertain to the specific chart
    item, but are not plotted on the x and y axis. Something similar to
    the checking on the above function, but check if value that is not
    plotted but still exists on the data provider.
    Thanks in advance.

  • No longer able to access the "Advanced" options via the Inspector Chart Series Advanced sequence

    In iWorks9 Numbers in attempting to add trendline to a line chart I am suddenly no longer able to access the options under "Advanced" via the Click On Chart Line>Inspector>Chart>Series>Advanced sequence because the triangle button adjacent to Advanced is not highlighted and does not open up when clicked upon. Ideas?

    well ... I spent some time this afternoon repairing disk permissions, checking application preferences, etc. and don't think I found anything directly related to this problem but after a few hours I returned to Numbers and lo and behold something changed and everything is working fine ... and I have no idea what was the cause and what was the fix but I'll take it. Heisenberg was right.

  • Error  message when trying to add new user

    Hello,
    Customer is working on 2005B (2005B 7.40.252 SP00 PL39).
    They are working on this database since 2009.
    No upgrade was recently done.
    when trying to add a new user they get athe following error:
    "A user was added outsite the application. Delet it, or preform'Restore Numbering' [Message 3512-7]"
    Could you please advice.
    Regards,
    Maya

    Hi Maya......
    Go to Administration--> Utility and select the restore no. series.
    Update this and try to add User.
    But do it first in your test DB.....
    Regards,
    Rahul

Maybe you are looking for