diff --git a/File-Formats-toc.html b/File-Formats-toc.html index 8be491b44..3b9141560 100644 --- a/File-Formats-toc.html +++ b/File-Formats-toc.html @@ -1675,6 +1675,7 @@
  • How to set rounded corner for chart in Excel document
  • How to find and replace text in hyperlinks
  • How to fix the ArgumentOutOfRangeException when accessing a large number of rows and columns?
  • +
  • How to set Logarithmic axis for chart in Excel document?
  • diff --git a/File-Formats/PDF/Convert-HTML-To-PDF/troubleshooting.md b/File-Formats/PDF/Convert-HTML-To-PDF/troubleshooting.md index f03701a6a..89c10b9a1 100644 --- a/File-Formats/PDF/Convert-HTML-To-PDF/troubleshooting.md +++ b/File-Formats/PDF/Convert-HTML-To-PDF/troubleshooting.md @@ -690,4 +690,28 @@ You can downloaded a complete working sample from [GitHub](https://github.com/Sy - \ No newline at end of file + + +## Zombie process are not closed by default from chrome headless in Linux platform + + The zombie process are not closed by default from chrome headless in Linux. However, We can resolve the zombie process issue by using the below commandline arguments in converter settings. + +{% tabs %} + +{% highlight %} + + //Set command line arguments to run without the sandbox. + + settings.CommandLineArguments.Add("--no-sandbox"); + + settings.CommandLineArguments.Add("--disable-setuid-sandbox"); + + settings.CommandLineArguments.Add("--no-zygote"); + + settings.CommandLineArguments.Add("--disable-dev-shm-usage"); + + settings.CommandLineArguments.Add("--single-process"); + +{% endhighlight %} + +{% endtabs %} \ No newline at end of file diff --git a/File-Formats/PDF/Working-with-PDF-Conformance.md b/File-Formats/PDF/Working-with-PDF-Conformance.md index 031388663..b3f3e2a6e 100644 --- a/File-Formats/PDF/Working-with-PDF-Conformance.md +++ b/File-Formats/PDF/Working-with-PDF-Conformance.md @@ -25,7 +25,7 @@ The Essential PDF currently supports the following PDF conformances: N> 1. To know more details about PDF/A standard refer [https://en.wikipedia.org/wiki/PDF/A#Description](https://en.wikipedia.org/wiki/PDF/A#Description ) N> 2. To know more details about PDF/X standard refer [https://en.wikipedia.org/wiki/PDF/X](https://en.wikipedia.org/wiki/PDF/X) -N> Essential PDF supports PDF conformances only in Windows Forms, WPF, ASP.NET and ASP.NET MVC platforms. +N> Essential PDF supports PDF conformances only in Windows Forms, WPF, ASP.NET Core, ASP.NET MVC and Xamarin platforms. ## PDF/A-1b conformance diff --git a/File-Formats/XlsIO/FAQ.md b/File-Formats/XlsIO/FAQ.md index b7f8315c7..87104604d 100644 --- a/File-Formats/XlsIO/FAQ.md +++ b/File-Formats/XlsIO/FAQ.md @@ -80,4 +80,5 @@ The frequently asked questions in Essential XlsIO are listed below. * [How to vary colors by point for line and column chart?](faqs/how-to-vary-colors-by-point-for-line-and-column-chart) * [How to upload a file to Azure blob and download as stream?](faqs/how-to-upload-a-file-to-azure-blob-and-download-as-stream) * [How to find and replace text in hyperlinks](faqs/how-to-find-and-replace-text-in-hyperlinks) -* [How to fix the ArgumentOutOfRangeException when accessing a large number of rows and columns?](faqs/how-to-fix-the-argument-out-of-range-exception-when-accessing-a-large-number-of-rows-and-columns) \ No newline at end of file +* [How to fix the ArgumentOutOfRangeException when accessing a large number of rows and columns?](faqs/how-to-fix-the-argument-out-of-range-exception-when-accessing-a-large-number-of-rows-and-columns) +* [How to set Logarithmic axis for chart in Excel document](faqs/how-to-set-logarithmic-axis-for-chart-in-excel-document) \ No newline at end of file diff --git a/File-Formats/XlsIO/faqs/how-to-set-logarithmic-axis-for-chart-in-excel-document.md b/File-Formats/XlsIO/faqs/how-to-set-logarithmic-axis-for-chart-in-excel-document.md new file mode 100644 index 000000000..480968fba --- /dev/null +++ b/File-Formats/XlsIO/faqs/how-to-set-logarithmic-axis-for-chart-in-excel-document.md @@ -0,0 +1,106 @@ +--- +title: How to set Logarithmic axis for chart in Excel document | Syncfusion +description: Code example to set Logarithmic axis for chart in Excel document using Syncfusion .NET Excel library (XlsIO). +platform: file-formats +control: XlsIO +documentation: UG +--- + +# How to set Logarithmic axis for chart in Excel document? + +The following code snippet shows how to set Logarithmic axis for chart in Excel document. + +{% tabs %} +{% highlight c# tabtitle="C# [Cross-platform]" %} +using (ExcelEngine excelEngine = new ExcelEngine()) +{ + IApplication application = excelEngine.Excel; + application.DefaultVersion = ExcelVersion.Xlsx; + FileStream inputStream = new FileStream("InputTemplate.xlsx", FileMode.Open, FileAccess.Read); + IWorkbook workbook = application.Workbooks.Open(inputStream, ExcelOpenType.Automatic); + IWorksheet sheet = workbook.Worksheets[0]; + + //Create a Chart + IChartShape chart = sheet.Charts.Add(); + + //Set Chart Type + chart.ChartType = ExcelChartType.Column_Clustered; + + //Set data range in the worksheet + chart.DataRange = sheet.Range["A1:C6"]; + + //Set chart value axis + IChartValueAxis valueAxis = chart.PrimaryValueAxis; + + //Set IsLogScale and log base + valueAxis.IsLogScale = true; + valueAxis.LogBase = 10; + + //Saving the workbook + FileStream outputStream = new FileStream("Chart.xlsx", FileMode.Create, FileAccess.Write); + workbook.SaveAs(outputStream); + + //Dispose streams + outputStream.Dispose(); + inputStream.Dispose(); +} +{% endhighlight %} + +{% highlight c# tabtitle="C# [Windows-specific]" %} +using (ExcelEngine excelEngine = new ExcelEngine()) +{ + IApplication application = excelEngine.Excel; + application.DefaultVersion = ExcelVersion.Excel2013; + IWorkbook workbook = application.Workbooks.Open("InputTemplate.xlsx", ExcelOpenType.Automatic); + IWorksheet sheet = workbook.Worksheets[0]; + + //Create a Chart + IChartShape chart = sheet.Charts.Add(); + + //Set Chart Type + chart.ChartType = ExcelChartType.Column_Clustered; + + //Set data range in the worksheet + chart.DataRange = sheet.Range["A1:C6"]; + + //Set chart value axis + IChartValueAxis valueAxis = chart.PrimaryValueAxis; + + //Set IsLogScale and log base + valueAxis.IsLogScale = true; + valueAxis.LogBase = 10; + + //Saving the workbook + workbook.SaveAs("Chart.xlsx"); +} +{% endhighlight %} + +{% highlight vb.net tabtitle="VB.NET [Windows-specific]" %} +Using excelEngine As New ExcelEngine() + Dim application As IApplication = excelEngine.Excel + application.DefaultVersion = ExcelVersion.Xlsx + Dim workbook As IWorkbook = application.Workbooks.Open(InputTemplate.xlsx", ExcelOpenType.Automatic) + Dim sheet As IWorksheet = workbook.Worksheets(0) + + ' Create a Chart + Dim chart As IChartShape = sheet.Charts.Add() + + ' Set Chart Type + chart.ChartType = ExcelChartType.Column_Clustered + + ' Set data range in the worksheet + chart.DataRange = sheet.Range("A1:C6") + + ' Set chart value axis + Dim valueAxis As IChartValueAxis = chart.PrimaryValueAxis + + ' Set IsLogScale and log base + valueAxis.IsLogScale = True + valueAxis.LogBase = 10 + + ' Saving the workbook + workbook.SaveAs(outputStream) + +End Using +{% endhighlight %} +{% endtabs %} \ No newline at end of file