Save entire chart controle

Hi,
How to save full chart image after zooming chart areas in windows form application programmatically with C#.
Thanks,
Purna

Hi Purna,
In my opinion, this thread is related to chart forum. This forum is to discuss problems about C# programming. So please post thread that forum for more effective response. Thank you for understanding. Please refer to the following link.
http://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=MSWinWebChart.
To save your time, I know there is should be a “SaveImage” method in Chart class. Did you try it?
Regards,
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.

Similar Messages

  • Chart Control printing at the client side

    Hi,
    I have multiple chart controls (in VS2010) on an aspx page, which also show their relevant detaild data in a table on the same page. I could not found yet an appropriate solution for printing such a page with chart control and other data.
    In fact I was able to print the chart alone at the client side, but only by sending it directly to the printer, this method is unable to show print preview dialog to the client.
    Then i started thinking in another direction, and came with the idea to export my desired controls into a pdf file which then can be shown in the browser (which resolves browser independance), for that i used nReco (the dll which comes with dot net) pdf converter
    which can convert the whole html page into the pdf file (by passing the url of the page) and then opens/saves in the browser to print.
    But when i pass it (to one of the the funtion in nreco) a container means a div or a panel control which holds the chart control and other normal controls then it gives me the error that unable to convert to pdf.
    Tis may be due to the relative path of the chart control image.
    I am stuck in this situtation, My original requirement is to show the the print preview to the user at client side with all printing options. It would be very convenient if the desired control can be exprted to pdf.
    And I don't want to use any ohter third party control (for print preview at client side) which needs to be installed on the client machine.
    Thanks.
    Code Sample:
    using NReco.PdfGenerator;
    on Load
    Chart1.Series[0].Points.DataBind(datatbl.Rows, "ColHeading", "colName", string.Empty);
    On Print
    HtmlToPdfConverter nRecohtmltoPdfObj = new HtmlToPdfConverter();
    nRecohtmltoPdfObj.Orientation = PageOrientation.Portrait;
    StringBuilder sb = new StringBuilder();
    StringWriter tw = new StringWriter(sb);
    HtmlTextWriter hw = new HtmlTextWriter(tw);
    ChartPanel1.RenderControl(hw);
    string temp =
     "<html><head><style>td,th{line-height:20px;} tr { page-break-inside: avoid }</style><script>function subst() {var vars={};var x=document.location.search.substring(1).split('&');for(var i in x) {var z=x[i].split('=',2);vars[z[0]]
    = unescape(z[1]);}" +
                "var x=['frompage','topage','page','webpage','section','subsection','subsubsection'];for(var i in x) {var y = document.getElementsByClassName(x[i]);" +
                "for(var j=0; j<y.length; ++j) y[j].textContent = vars[x[i]];}}</script></head><body onload=\"subst()\">"
     + sb.ToString() 
     + "</body></html>";
    nRecohtmltoPdfObj.GeneratePdf(temp);
    Please suggest a batter way out.

    Is this question hard to answer? or I am going to the wrong direction since I am new about Java EE/EJB.
    Can anyone give me some answer?

  • Manual Save, Programmatic Save, and Save Entire Tab

    There’s quite a few nice features native to LabVIEW that makes image capturing easy and convenient. In this post I want to focus on Manual Save, Programmatic Save, and Save Entire Tab.  
    Manual Save
    You can manually right-click any graph or plot during runtime and select Export > Export Simplified Image.  Choose a name for your *.bmp image and directory and save an exact image of the graph to disk. 
    Programmatic Graph Save
    This save feature is also available programmatically through LabVIEW methods.  When not running, right-click on the graph you’d like to save during runtime and create a reference.  Find and select the graph method “Export Image”.  Wire the ‘Image Data’ output from the node into one of the image write VIs found in the ‘Graphics and Sound’ > ‘Graphics Formats’ palette.  Make sure to append the correct file extension to your path. 
    Save Entire Tab
    Often the graph doesn’t contain all necessary information such as user parameters governing the process.  If these setting are available near the graph on a tab control, you can take a screenshot of the open tab and save it to disk.  The method is very similar to the single graph save, but simpler since the graph colors don’t need to be altered.
    Here you can see the image “graph1 – 11Oct27.bmp” as produced by the above code.  Notice the angle cluster and graph title is also captured, giving more context to the displayed data.
    Hopefully you will find these methods useful and easy to implement.  I go into a bit more detail in my blog should you find it helpful:
    http://www.dmcinfo.com/Blog/articleType/ArticleView/articleId/969/Programmatic-Saves-of-LabVIEW-Plot...

    The only problem is that you posted to the idea exchange, whereas this is not an idea. I'll ask a moderator to move it.
    Try to take over the world!

  • Save excel chart as image (activeX)

    Hi community,
    I have to generate couple thousands xls files which have some data and a chart on the first sheet. Once the files are generated I'd like to sweep thru all of them and save the chart as an image (BMP, GIF, PNG, doesnt matter).
    I have no success though. I assume I am quite close, by using the Chart.export method, but actually nothing happens, the file is not created. (worksheet selection is good, and chart index must be one, as 0 or 2 gives me an error message while one is OK.
    Any ideas?
    thx.
    ps: i know how to export an image of a labview-chart, but I want the export to happen from excel..
    Solved!
    Go to Solution.

    Instead of getting a reference to the workbook worsheets collection you need to get a reference to the workbook charts collection (which is the collection of all the workbook chartsheets) . You select the chart sheet using its index and convert the resulting item to an Excel._Chart object (this is where you use this object). You can then export it.
    Ben64

  • How do I save a chart as a jpeg?

    How do I save a chart as a jpeg. In excel I right click, "save as picture." Not seeing anything like that in Numbers.

    Here is a script dedicated to Numbers.
    You will find explanations in French and English at the beginning.
    CAUTION :
    it requires the installation of a Unix command file which gives us the ability to check if a modifier key is depressed.
    During my tests, only shift or fn keys were correctly detected.
    Maybe it was because I did my tests in the AppleScript Editor.
    I choose the fn key which, as far as I know, is not used to define the area to save.
    --{code}
    --[SCRIPT subset_of_numbers_doc_to_jpeg]
    Télécharger getModKey.zip depuis
    http://allancraig.net/index.php?option=com_docman&Itemid=100
    Décompacter puis déplacer le fichier getModKey dans le dossier
    <VolumeDeDémarrage>:Users:<votreCompte>:UnixBins:
    Il vous faudra peut-être créer le dossier UnixBins.
    Détails complémentaires dans :
    http://macscripter.net/viewtopic.php?id=33652
    Enregistrer le script en tant que Script : subset_of_numbers_doc_to_jpeg.scpt
    déplacer le fichier ainsi créé dans le dossier
    <VolumeDeDémarrage>:Users:<votreCompte>:Library:Scripts:Applications:Numbers:
    Il vous faudra peut-être créer le dossier Numbers et peut-être même le dossier Applications.
    Ouvrir un document Numbers et afficher la feuille dont une portion doit être enregistrée dans un fichier jpeg.
    Aller au menu Scripts , choisir Numbers puis choisir “subset_of_numbers_doc_to_jpeg”
    Le script affiche la feuille au format PDF dans Aperçu.
    Sélectionnez la zone à enregistrer puis pressez la touche fn.
    Le script copie la sélection dans le Presse-papiers, ferme le PDF complet,
    crée un nouveau PDF à partir du Presse-papiers
    puis ouvre le dialogue Enregistrer au format jpeg.
    Il restera à définir le nom et la destination du fichier.
    --=====
    L’aide du Finder explique:
    L’Utilitaire AppleScript permet d’activer le Menu des scripts :
    Ouvrez l’Utilitaire AppleScript situé dans le dossier Applications/AppleScript.
    Cochez la case “Afficher le menu des scripts dans la barre de menus”.
    Sous 10.6.x,
    aller dans le panneau “Général” du dialogue Préférences de l’Éditeur Applescript
    puis cocher la case “Afficher le menu des scripts dans la barre des menus”.
    --=====
    Download getModKey.zip from
    http://allancraig.net/index.php?option=com_docman&Itemid=100
    Expand it then move the getModKey file into the folder
    <startupVolume>:Users:<yourAccount>:UnixBins:
    Maybe you would have to create the folder UnixBins.
    Details available in :
    http://macscripter.net/viewtopic.php?id=33652
    Save the script as a Script: subset_of_numbers_doc_to_jpeg.scpt
    Move the newly created file into the folder:
    <startup Volume>:Users:<yourAccount>:Library:Scripts:Applications:Numbers:
    Maybe you would have to create the folder Numbers and even the folder Applications by yourself.
    Open a Numbers document and display the sheet whose a subset must be saved in a jpeg file.
    Go to the Scripts Menu, choose Numbers, then choose “subset_of_numbers_doc_to_jpeg”
    The script display the sheet in a Preview's PDF window.
    Select the area to save then press the fn key.
    The script copy the selected area in the clipboard, close the full PDF,
    create a new PDF from the clipboard's contents
    then open a dialog to Save as jpeg.
    Define the name and the storage location.
    --=====
    The Finder’s Help explains:
    To make the Script menu appear:
    Open the AppleScript utility located in Applications/AppleScript.
    Select the “Show Script Menu in menu bar” checkbox.
    Under 10.6.x,
    go to the General panel of AppleScript Editor’s Preferences dialog box
    and check the “Show Script menu in menu bar” option.
    --=====
    Yvan KOENIG (VALLAURIS, France)
    2011/11/15
    --=====
    on run
              local nomFenetre, nbw
    Check that the Unix command file getModKey is available in the folder <startupVolume>:Users:<yourAccount>:UnixBins: *)
              set flPth to ("" & (path to home folder) & "UnixBins:")
              tell application "System Events" to set maybe to exists disk item (flPth & "getModKey")
              if not maybe then
                        if not my parleAnglais() then
                                  error "Please, install “getModKey” in the folder" & return & "“" & flPth & "” !"
                        else
                                  error "Veuillez installer « getModKey » dans le dossier « " & flPth & " » !"
                        end if
              end if
              set flPth to quoted form of POSIX path of (flPth & "getModKey")
              tell application "Numbers" to activate
              tell application "System Events" to tell application process "Numbers"
    Get the name of the frontmost standard window
    so that we will not 'speak' to an inspector or to the Find dialog *)
                        set nomFenetre to name of first window whose subrole is "AXStandardWindow"
      keystroke "p" using {command down}
    Wait the availability of the Print sheet *)
                        tell window nomFenetre
                                  repeat until exists sheet 1
                                            delay 0.2
                                  end repeat
                                  tell sheet 1
      click first menu button
      click first menu item of menu 1 of first menu button
                                  end tell -- sheet
                        end tell -- window
              end tell -- System Events
              tell application "Preview" to activate
              tell application "System Events" to tell application process "Preview"
                        set nbw to count of every window
                        repeat while nbw = (count windows)
                                  delay 0.2
                        end repeat
    Trigger the menu item Tools > Selection Tool *)
      keystroke "3" using {command down}
              end tell -- System Events
    Now, select the area which must be saved in a jpeg file *)
    Thanks to the command getModKey, loop until the fn key is depressed *)
              repeat
                        delay 0.2
                        if (do shell script flPth) = "131072" then exit repeat
              end repeat
    The fn key was depressed so we may copy the defined area to the clipboard *)
              tell application "Preview" to activate
              tell application "System Events" to tell application process "Preview"
    Empty the clipboard. So we will be able to check that the copy task is achieved *)
      set the clipboard to ""
    Copy to clipboard *)
      keystroke "c" using {command down}
    Loop waiting for the achievement of the Copy task *)
                        repeat
                                  delay 0.2
                                  try
      the clipboard as «class PDF »
                                            exit repeat (* Exit when the task is achieved *)
                                  end try
                        end repeat
                        set nbw to count windows
    Close the PDF window *)
      keystroke "w" using {command down}
    Wait the achievement of the Close task *)
                        repeat while nbw = (count windows)
                                  delay 0.2
                        end repeat
                        set nbw to count windows
    Create New PDF from the clipboard *)
      keystroke "n" using {command down}
    Wait the availability of the new PDF window *)
                        repeat while nbw = (count windows)
                                  delay 0.2
                        end repeat
    Get the name of the new window *)
                        set nomFenetre to name of window 1 --(first window whose subrole is "AXStandardWindow")
      keystroke "s" using {command down}
    Wait the availability of the Save sheet *)
                        repeat until exists sheet 1 of window nomFenetre
                                  delay 0.2
                        end repeat
                        tell sheet 1 of window nomFenetre
      -- properties of every UI elements
                                  tell group 1
      click first pop up button
                                            delay 0.2
      -- properties of every menu item of menu 1 of first pop up button
      click menu item "JPEG" of menu 1 of first pop up button
                                            delay 0.2
                                  end tell -- group
      -- click button 1  (* Click in the Save button *)
                        end tell -- sheet
              end tell -- System Events
    end run
    --=====
    on parleAnglais()
              local z
              try
                        tell application "Numbers" to set z to localized string "Cancel"
              on error
                        set z to "Cancel"
              end try
              return (z is not "Annuler")
    end parleAnglais
    --=====
    --[/SCRIPT]
    --{code}
    Of course, thanks to FastScripts, we may link a shortcut to the script.
    Yvan KOENIG (VALLAURIS, France)  mardi 15 janvier 2011 19:04:38
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community

  • Chart Control Error

    Dear all
    I have connected chart control with SQL database but while loading the chart it displays following error please help me in finding 
    a solution for the error.
    Thanks in advance
                                            Conversion from string "Incident_Type to type 'integer is not valid
    I don't know what is the mistake.
    Private Sub RadioButton3_CheckedChanged(sender As Object, e As EventArgs) Handles RadioButton3.CheckedChanged
            Try
                If RadioButton3.Checked = True Then
                    Dim reader As SqlDataReader
                    cmd = New SqlCommand("Select * from ATRAForm", cn)
                    reader = cmd.ExecuteReader
                    While reader.Read
                        SCRChart.Series("Region_VS_Incident_Type").Points.AddXY(reader.GetString("Incident_Type"),reader.GetString("Region"))
                    End While
                End If
            Catch ex As Exception
                MessageBox.Show(ex.Message)
            End Try
        End Sub
    Nadem

    Hi Mir Ahmad Raza Nadem,
    As your issue is related to Chart, I'm moving your thread to a more appropriate
    forum--Chart Forum for help. thanks for your understanding.
    Regards,
    Youjun Tang
    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.

  • 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.

  • How to use Chart control in VS2012 with 3.5 project

    Hello.
    I have 3.5 framework project with MS Chart, developed in vs 2008.
    Now im moving to VS2012 and there is no chart control on tollbox in any projects below dotNet 4.0.
    Is it possible to use MS Chart in dotNet 3.5 projects?

    I have the same problem updating 2008 project to 2013. Lots of errors loading the form.
    Created a new project and had to drag and drop 3.5 onto the toolbox to get it to load. Could not add it or reference it. Dragged the tool onto form and it worked. Closed the form and opened it back up and get the same errors as the other project.
       The variable 'ChartArea2' is either undeclared or was never assigned.     
    Instances of this error (1) 
    1.   There is no stack trace or error line information available for this error. 
    Help with this error 
    MSDN Help  
    Forum posts about this error 
    Search the MSDN Forums for posts related to this error  
       The variable 'Legend2' is either undeclared or was never assigned.    
    Instances of this error (1) 
    1.   There is no stack trace or error line information available for this error. 
    Help with this error 
    MSDN Help  
    Forum posts about this error 
    Search the MSDN Forums for posts related to this error  
       The variable 'Series2' is either undeclared or was never assigned.    
    Instances of this error (3) 
    1.   There is no stack trace or error line information available for this error. 
    2.   There is no stack trace or error line information available for this error. 
    3.   There is no stack trace or error line information available for this error. 
    Help with this error 
    MSDN Help  
    Forum posts about this error 
    Search the MSDN Forums for posts related to this error  
       Could not find type 'System.Windows.Forms.DataVisualization.Charting.ChartArea'. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the project has been successfully
    built using settings for your current platform or Any CPU.    
    Instances of this error (1) 
    1.   There is no stack trace or error line information available for this error. 
    Help with this error 
    Could not find an associated help topic for this error. Check Windows Forms Design-Time error list  
    Forum posts about this error 
    Search the MSDN Forums for posts related to this error  
       Could not find type 'System.Windows.Forms.DataVisualization.Charting.Legend'. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the project has been successfully
    built using settings for your current platform or Any CPU.    
    Instances of this error (1) 
    1.   There is no stack trace or error line information available for this error. 
    Help with this error 
    Could not find an associated help topic for this error. Check Windows Forms Design-Time error list  
    Forum posts about this error 
    Search the MSDN Forums for posts related to this error  
       Could not find type 'System.Windows.Forms.DataVisualization.Charting.Series'. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the project has been successfully
    built using settings for your current platform or Any CPU.    
    Instances of this error (1) 
    1.   There is no stack trace or error line information available for this error. 
    Help with this error 
    Could not find an associated help topic for this error. Check Windows Forms Design-Time error list  
    Forum posts about this error 
    Search the MSDN Forums for posts related to this error  
       Could not find type 'System.Windows.Forms.DataVisualization.Charting.Chart'. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the project has been successfully
    built using settings for your current platform or Any CPU.    
    Instances of this error (1) 
    1.   There is no stack trace or error line information available for this error. 
    Help with this error 
    Could not find an associated help topic for this error. Check Windows Forms Design-Time error list  
    Forum posts about this error 
    Search the MSDN Forums for posts related to this error  
       The variable 'Chart1' is either undeclared or was never assigned. 

  • How to save a chart after each iteration in a for loop?

    Hello,
    I have written code which initializes a spectrometer. Once initialized, if the "Capture" button is pushed, the spectrometer takes a new spectrum three times (see for loop) every second. This spectrum is displayed as a chart in my front panel. My code runs fine...it will update the spectrum every second.
    However, I want to be able to save each of these three iterations as separate graphs. Basically, I want to click "Capture" and have my code save three charts to a specified folder. How do I go about doing this?
    I've attached my VI.
    Thanks.
    Solved!
    Go to Solution.
    Attachments:
    Spectrometer Iteration.vi ‏444 KB

    Use Build Array to make a 2D Array of your X and Y data and use Write To Spreadsheet File to save the data.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Cursors for strip chart controls?

    I’m using a strip chart control to plot data during real-time.  I allow the operator to pause the chart to view old data.  The operators would like to be able to see a specific value when the chart is paused,  either by enabling cursors, or clicking over a point on the chart with the mouse.  I don’t see any way to do this for a strip chart control, or am I missing something? 
    Thanks!
    Angie
    Edited to add: I'm using CVI 2010.

    Some ideas have been suggested here and here, may be it's of interest

  • Does any one tried anychart to save a chart as jpg in a blob for reports

    Hi does any body used anychart through plsql to save a chart as jpg in a blob in a table to display it in oracle reports, or for another use.
    Thank you :)

    Hi,
    Have you solved this?
    I have the same problem.

  • Htmlb chart control is not working

    Hi All
    I created chart using htmlb chart control as per documents  given in pdk. but it is not displaying any thing on the browser,I am attaching code ,Please tell me where will the wrong
    Thanks in advance
    Gopal
    Java:
    create a new JCO table
            JCO.Table table = new JCO.Table("DAX");
    //       add the info/header to the table. The header is defined by the column name,
    //       data type and length (see JCO table API for details).
            table.addInfo("GROUPID", JCO.TYPE_CHAR, 50);
            table.addInfo("X", JCO.TYPE_CHAR, 50);
            table.addInfo("Y", JCO.TYPE_CHAR, 50);
            table.addInfo("Z", JCO.TYPE_CHAR, 50);
            table.addInfo("COLOR", JCO.TYPE_CHAR, 50);
            table.addInfo("EXTENSION", JCO.TYPE_CHAR, 150);
    //       append a record to the table. setValue sets the value as string. The second
    //       parameter is the column. The numbers are according to the sequence of the
    //       definition of the header (see above).
            table.appendRow();
            table.setValue("07.2001",0);
            table.setValue("SAP",1);
            table.setValue("158",2);
            table.setValue("20",3);
            table.setValue("10",4);
            table.setValue("href=\"http://www.sap-ag.de/\"",5);
    //       create a JCOChartModel and set the JCO table
           IChartModel model = new JCOChartModel();
            ((JCOChartModel) model).setDataSrc(table);
    myBean.setModel(model1);
    JSP:
    <jsp:useBean id="myBean" scope="session" class="com.sap.barchart.ModelBean" />
    <hbj:content id="myContext" >
      <hbj:page title="PageTitle">
       <hbj:form id="myFormId" >
         <hbj:chart
               id="myChart1"
               model="myBean.model"
               visible="true"
               displayObjectValues="true"
               titleCategories="Company"
               titleValues="Turnover"
               title="Washers by Companies!"
               chartType="BARS_3D"
               colorOrder="DEFAULT"
               height="200"
         />
         </hbj:form>
      </hbj:page>
    </hbj:content>

    HI,
    Check if the bean is null.
    Try displaying it using classlib in the dynpage itself .
    Regards
    Bharathwaj

  • Rogue lines appear on the 2D charting control

    I am using a the 2D charting control in a VS 6 project for plotting a barchart/histogram for a dataset. I have been developing the application without problems until I moved to a new computer. On this new development computer I get these rogue lines appearing as you can see in the attached screen capture. These lines attach the upper point of a sample back to zero as you can see in the graphic. I have never witnessed this before on the other system. Both systems are running WIndows XP Pro (SP2). Upon further investigation I have found that this problem does appear on some computers and not others which are running the same OS and configured very similarly.
    My first reaction was that this was caused by a datase
    t issue. However, running the same dataset on other computers with the same exact application does not produce this error. As well, running ANY dataset on this computer does produce the issue but not on others.
    Are there any known issues regarding this issue and certain video cards, configurations, etc.
    Attachments:
    chartcapture.JPG ‏25 KB

    I haven't been able to reproduce the problem. I suspect that my program is not similar enough to yours.
    I don't understand what you are doing with the two different plots in your example code. What is the difference between "PLOT1" and "BinCountHistogram"? Are you plotting both of these on the same graph? If so, how is "PLOT1" configured? Is it possible that the unwanted lines you are seeing are a result of plotting "PLOT1"?
    Something else you might try is using PlotXvsY for your histogram data instead of PlotY. Create an X vector of bins. Measurement Studio includes an example program that demonstrates this technique. It should be installed to MeasurementStudio\VC\Examples\Analysis\Histogram.
    If these ideas d
    on't lead us anywhere, I have attached the simple project that I was using to try to reproduce the problem. One option would be for you to modify the attached program to make it cause the problem and post the project back.
    Based on the intermittent nature of the behavior you are seeing, this does seem like a bug, so I am very interested in tracking it down.
    Attachments:
    AttemptReproUnwantedLines.zip ‏27 KB

  • Urgent - How can I save a Chart

    Hi,
    How can I save a Chart generated in forms as a BMP or JPG or other extension.
    I need to generate 12.000 Chart and I want to automatize it.
    Is there any bulti-in to save charts???
    Thanks

    Everything about using Motion, including exporting a video (and much more), is available either in the application or online:
    Help Menu> Motion 5 Help: see the Share Motion Projects chapter.
    The manual can also be found online here: http://www.apple.com/support/motion/
    Finally there is also this link to the manual: http://help.apple.com/motion/mac/5.1/

  • How to save JavaFX chart s as images

    how to save javafx charts as images. please help me in this.
    thanks in advance

    Here is my pie2D chart. how to svae it as image file
    Stage {
    title: "Pie Chart"
    scene: Scene {
    content: [
    PieChart {
    title: "What Is Your Favorite Pie?"
    titleFont: Font { size: 24 }
    data: [
    PieChart.Data {
    value: 21
    label: "Pumpkin"
    PieChart.Data {
    value: 33
    label: "Apple"
    PieChart.Data {
    value: 17
    label: "Cherry"
    PieChart.Data {
    value: 29
    label: "3.14159"
    }

Maybe you are looking for

  • CD/DVD Drive won't work - Help Please??

    I have a fairly new laptop (2 months old maybe) running windows 7 pro 64-bit. The CD/DVD drive stopped working after I upgraded from Windows 7 Home Edition and installed iTunes so I'm not sure which one is causing the problem but I'm leaning towards

  • Need help in solving Linked lists queries

    I have encountered this code part a Node head, tail; head = null; tail = null; head = new Node("Beef", head); //what does that mean?part b Node head, tail; head = null; tail = null; node  new 3 = new Node("Pork"); tail.next = new3; tail = new3;I am t

  • A weird thing in changing UDF setting

    Hi All, I had a weird thing in UDF setting. Previously I set some valid values for an UDF, now I removed them so there is no limitation for this UDF. At least I don't see any setting in valid values in UDF management tools. But the problem is when i

  • HT4356 iPad printing to file. I just want file my print image so I can email it. How?

    All I want to do is print a web page to file so I can refer to it later. (insurance quote details -impossible to recall without starting from scratch) how do I copy a web page IMAGE for later review?

  • Inconsistent ArrayIndexOutOfBoundsException using SwingWorker worker thread

    On occasions I will get the following exception thrown whenever I happen to be using SimpleBrowser.this.processor.processTask() method to run a SwingWorker<Void, Void>-based class Task worker thread (within doInBackground()) : Exception in thread "AW