Printing

7 posts, 0 answers
  1. Stuart
    Stuart avatar
    102 posts
    Member since:
    Jul 2012

    Posted 03 Jul 2007 Link to this post

    Hi

    I am having some trouble with the report chart in winforms , I would like to export or print a winform chart , how would I do this ?

    ANy help would be great
  2. Chavdar
    Admin
    Chavdar avatar
    898 posts

    Posted 04 Jul 2007 Link to this post

    Hi Stuart,

    You can print the chart using the PrintChart method:

        this.radChart1.Printing.PrintChart(ChartPrintOptions.ShowPrintPreviewDialog);

    or save it to a graphics file using the Save method:

        this.radChart1.Save("C:\\RadChart.png", ImageFormat.Png);

    Hope this helps.

     
    Regards,
    Chavdar
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Stuart
    Stuart avatar
    102 posts
    Member since:
    Jul 2012

    Posted 09 Jul 2007 Link to this post

    Thank you

    It works perfectly
  5. Adonis
    Adonis avatar
    3 posts
    Member since:
    May 2009

    Posted 18 May 2009 Link to this post

    i have a question to you, Like as:
      dim chart as new Radchart
    Chart.datamanager,datasource= ds.tables(0)
    chart.dataManager.ValuesYColumns= new String() {ColumnsName)
    .
    .
    chart.databind()
    chart.updata()
    when i want to change a datasource, i write :
    chart.datamanager.cleardatesource
    chart.datamanager.datasource= ds2.tables(0)
    chart.dataManager.ValuesYColumns= new String() {otherColumnsName)
    .
    .
    chart.databind()
    chart.updata()
     but it is wrong ,the chart.datamanager.ValuesYColumns remains equal ColumnsName. why not otherColumnsName?
    Can you help me?
    thank you!i have a question to you, Like as:
      dim chart as new Radchart
    Chart.datamanager,datasource= ds.tables(0)
    chart.dataManager.ValuesYColumns= new String() {ColumnsName)
    .
    .
    chart.databind()
    chart.updata()
    when i want to change a datasource, i write :
    chart.datamanager.cleardatesource
    chart.datamanager.datasource= ds2.tables(0)
    chart.dataManager.ValuesYColumns= new String() {otherColumnsName)
    .
    .
    chart.databind()
    chart.updata()
     but it is wrong ,the chart.datamanager.ValuesYColumns remains equal ColumnsName. why not otherColumnsName?
    Can you help me?
    thank you!
  6. Adonis
    Adonis avatar
    3 posts
    Member since:
    May 2009

    Posted 18 May 2009 Link to this post

    Hello,i have a question to ask  you, Like as:
      dim chart as new Radchart
    Chart.datamanager,datasource= ds.tables(0)
    chart.dataManager.ValuesYColumns= new String() {ColumnsName)
    .
    .
    chart.databind()
    chart.updata()
    when i want to change a datasource, i write :
    chart.datamanager.cleardatesource
    chart.datamanager.datasource= ds2.tables(0)
    chart.dataManager.ValuesYColumns= new String() {otherColumnsName)
    .
    .
    chart.databind()
    chart.updata()
     but it is wrong ,the chart.datamanager.ValuesYColumns remains equal ColumnsName. why not otherColumnsName?
    Can you help me?
    thank you!
  7. Dwight
    Admin
    Dwight avatar
    475 posts

    Posted 20 May 2009 Link to this post

    Hi Adonis,

    There seems to be an issue with some caching algorithms in the RadChart. It is logged into our bug tracking system and will be resolved in a future release.

    Best wishes,
    Evtim
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  8. Dwight
    Admin
    Dwight avatar
    475 posts

    Posted 20 May 2009 Link to this post

    Hi Adonis,

    There seems to be an issue with some caching algorithms in the RadChart. It is logged into our bug tracking system and will be resolved in a future release.

    Best wishes,
    Evtim
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top
UI for WinForms is Visual Studio 2017 Ready