Excel series

Hi All,
I'm trying to modify the series line weight of a chart on my excel sheet by using the property activex. I'm using the Graph.Chart object and the series property node return to me the error -2147352573. Where am I making mistake?
I'm using:
Labview 2014
Excel 2010
Windows 7
Thank you in advance.
Ricky
Italian Developer engineer
www.www.selt-sistemi.com
Solved!
Go to Solution.
Attachments:
s_001.png ‏45 KB

I did it by myself....
The attached file show how I did it and it works!
Thank you to all.....
Ricky
Italian Developer engineer
www.www.selt-sistemi.com
Attachments:
REPRTO-Series.vi ‏25 KB

Similar Messages

  • How to change series or line color in excel 2007 using ActiveX

    I am trying to change series color using Excel 2007 with ActiveX as below. It seems the color cannot be controlled correctly. For example, if I chosse red color, my curve will be changed to blue. Any ideas?
    Also, I googled and found a guy ran into similiar problem using VBA for Excel 2007. See the link below:
    http://help.wugnet.com/office/change-series-line-color-excel-2007-vba-ftopict1062646.html
    Set ch = Worksheets("Chart").ChartObjects(1)
    Set objSeries = ch.Chart.SeriesCollection(1)
    objSeries.Format.Line.ForeColor.RGB = RGB(255, 127, 0)
    According to the post, it need to be done as follows
    objSeries.Border.Color = RGB(255, 127, 0) . But I cannot find the border property/method in ActiveX.
    The color seems to be abitrary. and I found the 

    Xubuli,
    I looked into your question and confirmed that Border.Color is not located under the Excel.Series library. Instead, you must locate it under _Worksheet.UsedRange as seen below in the figure. I am attaching the VI file where I located the the Border.Color property node, and I am also including a SubVI on the block diagram that goes into explicitly set the cell color and border. This SubVI can be found under Programming>>Report Generation>>Excel Specific>>Excel Format>>Excel Set Cell Color and Border.vi, if you have the Report Generation Toolkit installed. I hope this helps.
    Larry H
    Applications Engineer
    National Instruments
    Attachments:
    CellBorder.vi ‏8 KB

  • How can I change the legend of a plot in an excel chart using LabView?

    Hi,
    My question is:
    I create a chart in Excel with LabView7 using ActiveX. There are 4 plots in one chart. How can I rename the legend (the name) of each plot with LabView?
    Thanks.
    Michi

    Use the SeriesCollection(1).Name function. In LV, wire up the following:
    _Chart into Method SeriesCollection (index = 1 to 4)
    Cascade into Variant to Data (wire type Excel.Series)
    Wire Series into Property Name, Write the string
    Michael Munroe
    www.abcdefirm.com
    Michael Munroe, ABCDEF
    Certified LabVIEW Developer, MCP
    Find and fix bad VI Properties with Property Inspector

  • How can I convert Appleworks files to Pages?

    I have old Power PC files, some Appleworks, some ClarisWorks.
    I have been exporting them to another Mac to convert. Is there a way to convert them on my current system?
    Mavericks? (which I regret)

    Install Snow Leopard Server into Parallels and have Appleworks operate concurrently with Mavericks:
                                  [click on image to enlarge]
    Then read Roger Wilmut's excellent series of articles on Abandoning Appleworks:
    http://www.wilmut.webspace.virginmedia.com/notes/aw/page1.html

  • How can I create a materialized view based on hierarchical cube query?

    Hi,
    database version 10gR2.
    When i try to create MV for sql below, i got error .
    I tried creating MV log in several ways, but still, keep getting the same error.
    SQL Error: ORA-12015: cannot create a fast refresh materialized view from a complex query
    12015. 00000 -  "cannot create a fast refresh materialized view from a complex query"
    *Cause:    Neither ROWIDs and nor primary key constraints are supported for
               complex queries.
    *Action:   Reissue the command with the REFRESH FORCE or REFRESH COMPLETE
               option or create a simple materialized view.So, I wonder if it is possible to create MV based on sql below?
    if yes, how should I do it?
    if no, what is the alternative?
    select
          coalesce(UP_ORG_ID_6, UP_ORG_ID_5, UP_ORG_ID_4, UP_ORG_ID_3, UP_ORG_ID_2, UP_ORG_ID_1) as ORG_ID,
          a.day_id as day_id,     
          a.TRADE_TYPE_ID as TRADE_TYPE_ID,
          a.CUST_ID,
          coalesce(UP_CODE_6, UP_CODE_5, UP_CODE_4, UP_CODE_3, UP_CODE_2, UP_CODE_1) as product_id,
          QUANTITY_UNIT,
          COST_UNIT,
          A.SOURCE_ID as SOURCE_ID,
          SUM(CONTRACT_AMOUNT) as CONTRACT_AMOUNT,
          SUM(CONTRACT_COST) as CONTRACT_COST,
          SUM(SALE_AMOUNT) as SALE_AMOUNT,
          SUM(SALE_COST) as SALE_COST,
          SUM(ACTUAL_AMOUNT) as ACTUAL_AMOUNT,
          SUM(ACTUAL_COST) as ACTUAL_COST,
          SUM(TRADE_COUNT) as TRADE_COUNT     
    from DM_F_LO_SALE_DAY a, DM_D_ALL_ORG_FLAT B, DM_D_ALL_PROD_FLAT D
    where a.ORG_ID=B.ORG_ID
          and a.PRODUCT_ID=D.CODE
          and a.day_id=20110201
    group by rollup(UP_ORG_ID_1, UP_ORG_ID_2, UP_ORG_ID_3, UP_ORG_ID_4, UP_ORG_ID_5, UP_ORG_ID_6),
          a.TRADE_TYPE_ID,
             a.day_id,
          A.CUST_ID,
          rollup(UP_CODE_1, UP_CODE_2, UP_CODE_3, UP_CODE_4, UP_CODE_5, UP_CODE_6),
          a.QUANTITY_UNIT,
          a.COST_UNIT,
          a.SOURCE_ID;Thanks in advance.

    Rob vanWjik has an excellent series of fast refresh materialized views starting here:
    http://rwijk.blogspot.com/2009/05/fast-refreshable-materialized-view.html
    Part three specifically on aggregate MVs is here:
    http://rwijk.blogspot.com/2009/06/fast-refreshable-materialized-view.html

  • I cannot access AppleWorks 6, is there a way to convert them?

    I just installed Mavericks and since I cannot access AppleWorks 6, is there a way to convert them?
    I know AppleWorks 6 is old, but I have some documents that I need. 
    My windows laptop asks what I want to convert files into and I'm hoping there is something I can do?
    Please help

    1.  Read Roger Wilmut's excellent series of articles, Abandoning Appleworks:
    http://www.wilmut.webspace.virginmedia.com/notes/aw/page1.html
    2.  If you need to run Appleworks 6 to export some data (for example a database, which cannot be opened by any other program):
    a)  (Assuming your Mac will still boot into Snow Leopard, since you said you recently "upgraded to Mavericks"), Partition your hard drive (or add an external hard drive) and install Snow Leopard (and the optional Rosetta) into it and use the "dual-boot" method to boot into Snow Leopard and run Appleworks 6; or
    b)  Install Snow Leopard Server into Parallels and run Appleworks 6 concurrently with Lion, Mt. Lion and Mavericks:
                                  [click on image to enlarge]
    More information here:
    http://forums.macrumors.com/showthread.php?t=1365439
    Installing Snow Leopard Server into Parallels for DUMMIES!:
    http://forums.macrumors.com/showpost.php?p=17285039&postcount=564

  • I have a MacBook Pro running 10.6.8 model 7.1; need to upgrade to Mavericks.  My question concerns 3 software apps:  Reunion 10, Quicken 2007, Appleworks 6.2.9.  Any recommendations?

    I have a MacBook Pro model 7.1 running 10.6.8; need to upgrade to Mavericks...question concerns 3 software apps:  Reunion 10, Quicken 2007, Appleworks 6.2.9 (word processing docs).  Any recommendations?

    Quicken Essentials is universally loathed on this forum.  Quicken 2007 updated for Lion, Mt. Lion and Mavericks for $15 is the way to go:
    http://quicken.intuit.com/personal-finance-software/quicken-2007-osx-lion.jsp
    Appleworks 6:
    Partition your hard drive or add an external drive and install Snow Leopard and use the "dual-boot" method to run Appleworks; and/or
    Install Snow Leopard Server (available by telephone order only from the Apple Store 1.800.MYAPPLE [1.800.692.7753]; part number - MC588Z/A) into Parallels and run Appleworks (and most other PowerPC apps) concurrently with Mavericks:
                                  [click on image to enlarge]
    Review Roger Wilmut's excellent series of articles, Abandoning Appleworks:
    http://www.wilmut.webspace.virginmedia.com/notes/aw/page1.html

  • How to configure ML Server to send Alert Notifications by mail?

    Is it possible to configure Mountain Lion Server to send out Alert notification by e-mail without enabling full Mail services?
    I don't want to run the Mail service on the Server. I'm quite happy with my ISP's mail service. Besides, I have a dynamic public IP address, hence no rDNS entry (so I couldn't run Mail if I wanted to).  And I don't have the expertise to configure and maintain the Mail service.  But I would like to get the Server to send me any important alert notifications by e-mail.
    I have access to an authenticated SMTP server I can use to relay the outbound alert notification emails. But I don't know how to coerce the alert service into using it.  Is it possible to do so, or does one need the full-blown Mail service to be configured (with both dovecot and postfix running) in order to get Alerts to be e-mailed?
    Thanks for any help.

    @MrHoffman,
    Thanks for the pointers and suggestions.
    The config for my ISP's SMTP server is correct. I specified the port (:465), and double-checked userid/password. It's the same as used by all our e-mail clients (a half-dozen or so on various Macs, iPhones, iPads, Linux boxes), all of which work fine from my LAN.
    As for DNS, it seems OK.  (I am indebted to you for the excellent series of articles on servers and networking  at http://labs.hoffmanlabs.com/node/1705 )
    The changeip command reports:
         The names match. There is nothing to change.
         dirserv:success = "success"
    However, I should point out that I do not have the DNS service enabled on ML Server.  I already have a local DNS running on my gateway router. (it's an instance of the dnsmasq process that is part of Tomato firmware).  It has local names defined for all the servers and hosts on my LAN, and provides rDNS for them as well.
    However, what I haven't done is enabled the Mail service.  You've (slightly) misunderstood the core of my plan.  My intent is not simply to secure the local mail server against remote access.  I don't want either remote or local users from accessing the mail server. I don't want it listening for POP or IMAP connections from anywhere (on my LAN or remotely). I don't want it receiving inbound mail from anywhere. I don't want it relaying outbound mail for any client on my LAN. All I want the ML Server to be able to do is to send me alerts (by e-mail) when it's in need of attention. Other appliances on my LAN (eg. a NetgearReadyNAS) can send me e-mails when they are unhappy, and I hope I can coerce the ML Server to do the same.
    I know I don't have the expertise to operate and maintain my own mail server, and I'm quite happy with the mail service provided by my existing network service provider. Plus, I'm behind a cable modem with a dynamic IP address, so I'm unable to establish my own rDNS record (which I understand is required to handle inbound mail).
    It looks like the next step is to turn on the Mail service. But I'm sure it's going to be unhappy since there's no MX record set-up. I was hoping there was a way that ML Server could simply send out its own outbound alerts (using my ISP's SMTP relay) without having the incoming part of the mail service active. But perhaps Apple didn't anticipate that sort of configuration.

  • How can I change the font within a chart in an ibook

    I need to change the font size in a chart that is in an iBook because it is so small I can't read any of it.  When I try pressing the larger/smaller font buttons, the text outside the chart changes but not within the chart.

    Use the SeriesCollection(1).Name function. In LV, wire up the following:
    _Chart into Method SeriesCollection (index = 1 to 4)
    Cascade into Variant to Data (wire type Excel.Series)
    Wire Series into Property Name, Write the string
    Michael Munroe
    www.abcdefirm.com
    Michael Munroe, ABCDEF
    Certified LabVIEW Developer, MCP
    Find and fix bad VI Properties with Property Inspector

  • Flex 2.0 and Flex 3.0

    Hi,
    My application was developed in Flex 2.0, But our team using
    flex 3.0.
    Can i use flex 3.0 to record scripts in QTP(Automation).
    Reddy

    Yes, QTP works with Flex 3. There is more info here:
    http://flexexamples.blogspot.com/2007/12/flex-30-installing-and-configuring-flex.html
    Remember, though, that you might need to migrate your app to
    Flex 3 before automating it with Flex 3. This means updating it to
    reflect new APIs. There is an excellent series of articles on
    migration here:
    http://butterfliesandbugs.wordpress.com/2008/03/04/understanding-flex-3-migration-issues-p art-i/
    hth,
    matt horn
    flex docs

  • How to add screen elements at run time on button click in Web Dynpro abap?

    Hello All,
    I have a requirement wherein the user wants to add the textbox dynamically at runtime on button click action. My questions is, Is it feasible to dynamically add screen elements at runtime? If yes, how?
    Please help.
    Thanks

    Hi Ajinkya,
    This is absolutely possible! Adding view elements at runtime is called "dynamic programming". There are a lot of good resources and tutorials on SCN if you do a search. To start you off, here is an excellent series by Thomas Szücs:
    Dynamic Programming in Web Dynpro ABAP - Introduction and Part I: Understanding UI Elements
    Dynamic Programming in Web Dynpro ABAP - Part II: Handling ViewElements
    Dynamic Programming in Web Dynpro ABAP - Part III: Aggregations and DDIC-Binding of ViewElements
    Another option that avoids dynamic programming is to create the view element at design time but bind its visible property to a context attribute of type WDUI_VISIBILITY. You could initially set its visibility to "none" until the user clicks the button, then you could change its visibility to "visible".
    Cheers,
    Amy

  • Question about ACL permissions

    I have a situation and i wounder how to set up the permissions to make it work.
    I have a folder (the share point) with ~200 subfolders,(called -1000,-2000, -3000, etc etc) In these folders there are tons of pictures.
    I want a group(picturesRW) to be able to Read all files/folders, change name on the files (but not on the folders) and also add new files, but not delete(files or folders) Also not to move folders in to other folders (if that is possible).
    Then i want another group to be able to just read everything, but thats the easy part.
    Hoping there is someone that knows how to set this up. Have tried with allowing "Write attributes" but they still cant rename files..
    Cheers!

    Hi
    A good place to start in my opinion in understanding ACLs is Gerrit de Witt's excellent series of posts:
    http://discussions.apple.com/thread.jspa?messageID=1535247
    If you have not already done so download the Admin Manuals:
    http://manuals.info.apple.com/en/UserManagement_Adminv10.4.pdf
    http://images.apple.com/server/macosx/docs/UserManagementv10.5.mnl.pdf
    Bear in mind that on 10.4 Server you have to enable ACLs on a volume, followed by a restart otherwise the ACLs don't take and all that is working is the standard POSIX permissions. 10.5 Server has ACLs enabled by default. If you don't want them you have use terminal to disable them. You can't have ACLs without standard POSIX. Both permissions models apply and are accumulative. You can use standard POSIX permissions without ACLs. Be careful when using both models to define an access policy as a deny using both models can easily lock you out of the server. Use WGM when applying permissions. Don't be tempted to do it using the Finder. Defining permissions using terminal - in my opinion - is better but it is not to everyone's taste. ACLs should take precedence over standard POSIX permissions.
    Hope this helps, Tony

  • Change colors of columns on horizonal axis

    Hello,I don't work with Excel a lot, usually when I get a request for something a couple times a year.Anything is possible, right? I've automated the creation of a pivot table and then the addition of the pivot chart. The problem I have is, I can't figure out how to change the column colors on the horizontal axis. Simple I know... I've been playing with properties in Excel to see where I'm missing code, but I can't make it work manually.Excel.Shape myChart = detailWS.Shapes.AddChart();
    closl

    This is the full method. First a chart is created that contains all the series.Then, then a new worksheet is created and the chart on the new worksheet contains only one of the series from the original chart. That is what the picture above displays.My question would be, are there layers of "series"? I tried to do in c# what you did above, but had a problem figuring it out.Excel.Range srcrange = ws.UsedRange;
    srcrange.Copy(Type.Missing);
    //opening of the second worksheet and pasting
    Excel.Range destrange = newSheet.Cells[1, 1];
    destrange.Select();
    newSheet.Paste(Type.Missing, Type.Missing);
    Excel.Shape myChart = newSheet.Shapes.AddChart();
    Excel.SeriesCollection seriesCollection = myChart.Chart.SeriesCollection();
    int index = 1;
    myChart.Chart.SetSourceData(newSheet.UsedRange, Type.Missing);
    myChart.Select();
    myChart.Height = 450;
    myChart.Width = 1500;
    //myChart.Name = sheetNumber.ToString();
    Excel.Series chartCategory = null;
    while(seriesCollection.Count > 1)
        chartCategory = seriesCollection.Item(index);               
        if (chartCategory.Name.Contains(name))
            chartCategory.IsFiltered = false;
            index = 2;
        else
            chartCategory.IsFiltered = true;
    if (chartCategory != null) Marshal.ReleaseComObject(chartCategory);
    closl

  • Ipod will load only a few songs of my library

    I have about 341 songs (1.6GB)in my library. When I try to copy all the songs to my 20GB Ipod only 24 (85MB) will load into the Ipod then I get a windows error message that says "Attempting to copy to disk "Ipod" failed. An unknown error occured". I have run check disk on the Ipod in disk mode and have reformated it and restored it. When I look at the Ipod disk in system manager it says the disk is 'healthy' and almost all of it unused. Does anyone have any ideas?
    thanks!

    hi Walter!
    Thanks for your help. I have run CDcheck on all the songs and it says there are no errors. Also I have set the ipod to manual update and have selceted different groups of songs and no matter which shongs I select the update always fails with a -69 error after 22-24 songs; seems to be realted to size and not number of songs.
    good man! that's an excellent series of experiments.
    ... well, it looks like our best bet now is trying to swap out your Belkin for an Adaptec 4300. Get one from a store with a good money-back guarantee (like a Best Buy), so if it doesn't work there's no harm and no foul (except for time and effort opportunity costs).
    post back to let us know if you get any joy.
    love, b

  • Vary Chart Bar Graphs Color

    Hello folks!
    I am creating an Excel chart using Excel Interop (please find below code and output for the code given below). I need to vary the colors of same-series chart bar graphs (The graphs only now in orange). This line of code doesn't do the trick:
    series1.Interior.ColorIndex = XlColorIndex.xlColorIndexAutomatic;
     How can I achieve my goal? Any advice will be appreciated!
    Excel.ChartObjects xlCharts = (Excel.ChartObjects)_sheet.ChartObjects(Type.Missing);
    Excel.ChartObject myChart = (Excel.ChartObject)xlCharts.Add(236, 241, 224, 268);
    Excel.Chart chartPage = myChart.Chart;
    chartPage.HasLegend = false;
    chartPage.ChartType = Excel.XlChartType.xlColumnClustered;
    chartPage.ChartStyle = 4;
    Excel.SeriesCollection seriesCollection = chartPage.SeriesCollection();
    Excel.Series series1 = seriesCollection.NewSeries();
    series1.Name = "My Title";
    series1.XValues = xValues;
    series1.Values = yValues;
    series1.Interior.ColorIndex = XlColorIndex.xlColorIndexAutomatic;
    Excel.Axis axis = (Excel.Axis)chartPage.Axes(
    Excel.XlAxisType.xlValue,
    Excel.XlAxisGroup.xlPrimary);
    axis.HasTitle = true;
    axis.AxisTitle.Text = "My Chart";
    series1.ApplyDataLabels(
    Excel.XlDataLabelsType.xlDataLabelsShowLabel,
    true, true, true, false, false, true, true,
    true, true);

    Hi hokushin,
    The series1.Interior.ColorIndex property can only set the color for the whole series. If you want to vary the color of the bar graphs in the same series, one way is to vary the color by the Point.  For example:
    int pointsCount = series1.Points().Count;
    for (int i = 1; i <= pointsCount; i++)
    series1.Points(i).Interior.Color = Color.FromArgb(0, 30*i, 0);
    You can set the color as you want for every Point of the series, the series1.Points([point number]) method will return the whole Points collection or just one Point of them.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

Maybe you are looking for

  • How to Delete the Digital signature in Acrobat 8.1.0 ?

    Hi Now  I need to delete the signature which I made last year But the software tell me that it can only be deleted when the signature found by adobe reader or higher edition acorbat So what should do ? My OS is Windwos Professional SP3 Need your help

  • Using the "java" command in Java 1.4.1

    Hello.. I don't seem to be able to run any application that should run with the "java" command in Java 1.4.1. Everytime I use "java" I get the "java.lang.NoClassDefinitionError" Even running this simple program doesn't work:( package chapter10; publi

  • Formatting a date string

    I thought this would be easy enough, but I am having so much trouble doing this. I have a time stamp constant, which I have adjusted so that it is in the following format: %m/%d/%y Since I can't save files with " / " character, I am goint to use " .

  • Running subreport from within a subreport

    Hello, I have Crystal report 14. I'm trying to run a subreport from within another subreport.   When the 1st subreport loads, the subreport that was within this one is not visible.  Is there a way to run a subreport from within a subreport? Thanks

  • Resize pdf document to send in email

    How do I make a PDF report to smaller in order to send through an email?