010-68421378
sales@cogitosoft.com
Categories
AddFlow  AmCharts JavaScript Stock Chart AmCharts 4: Charts Aspose.Total for Java Altova SchemaAgent Altova DatabaseSpy Altova MobileTogether Altova UModel  Altova MapForce Altova MapForce Server Altova Authentic Aspose.Total for .NET Altova RaptorXML Server ComponentOne Ultimate Chart FX for SharePoint Chart FX CodeCharge Studio ComponentOne Enterprise combit Report Server Combit List & Label 22 Controls for Visual C++ MFC Chart Pro for Visual C ++ MFC DbVisualizer version 12.1 DemoCharge DXperience Subscription .NET DevExpress Universal Subscription Essential Studio for ASP.NET MVC FusionCharts Suite XT FusionCharts for Flex  FusionExport V2.0 GrapeCity TX Text Control .NET for WPF GrapeCity Spread Studio Highcharts Gantt Highcharts 10.0 版 HelpNDoc Infragistics Ultimate  ImageKit9 ActiveX ImageKit.NET JetBrains--Fleet JetBrains-DataSpell JetBrains--DataGrip jQuery EasyUI jChart FX Plus OPC DA .NET Server Toolkit  OSS ASN.1/C Oxygen XML Author  OSS 4G NAS/C, C++ Encoder Decoder Library OSS ASN.1 Tools for C with 4G S1/X2 OSS ASN.1/C# OSS ASN.1/JAVA OSS ASN.1/C++ OPC HDA .NET Server Toolkit OPC DA .Net Client Development Component PowerBuilder redgate NET Developer Bundle Report Control for Visual C++ MFC  Sencha Test SPC Control Chart Tools for .Net Stimulsoft Reports.PHP Stimulsoft Reports.JS Stimulsoft Reports.Java Stimulsoft Reports. Ultimate Stimulsoft Reports.Wpf Stimulsoft Reports.Silverlight SlickEdit Source Insight Software Verify .Net Coverage Validator Toolkit Pro for VisualC++MFC TeeChart .NET Telerik DevCraft Complete Altova XMLSpy Zend Server

Chart FX-Printing the Chart

Chart FX-Printing the Chart

Another major consideration is the number of pages that are needed to print a chart. When you have a chart with a large number of points (Scrollable) and you print that chart, Chart FX will print as many pages as necessary. The Compress property forces Chart FX to print the chart in just one page by recalculating the appropriate values so that all the points can be fixed in one page. Please note the printed chart may have a different look if you use the Compress property before printing. Below is the API used to compress and print a chart:

 

When the Print method is called with no parameters, Chart FX will print the entire chart. To print selected pages of a chart, the nFrom and nTo parameters can be passed to the chart when the method is called. This will print only the specified range of pages for the chart. If the nTo parameter is configured to zero, Chart FX will print from the specified nFrom page to the end of the chart. And if both the nFrom and nTo parameters are set to –1, only the screen shown is printed (used to print a zoomed area of a chart).

 

If you would like to prompt the user with a print dialog, you may do so by calling the PrintDialog method. The print dialog allows the user to select the printer to be used, specify the print range and configure the number of copies to be printed. This property also uses a Boolean parameter called fromTo. When set to “True" users can modify the print range. When set to “False", the print range options are not available to the user. The API below will prompt the user with a print dialog:

 

Quick Navigation;

© Copyright 2000-2023  COGITO SOFTWARE CO.,LTD. All rights reserved