Logarithmic scale

I cannot find an option to set a value axis to use logarithmic scale. Did I miss it or does such an option not exist? In case in doesn’t exist, could it be added? Excel Charts do offer that option, so I’d hope it would a matter of exposing it via the API.

Hi,

We have added support for a logarithmic scale, please try again with this NuGet package:

Install-Package GemBox.Spreadsheet -Version 2026.2.108

Note that this is a hidden pre-released version, to install it you’ll need to run the above command on the NuGet Package Manager Console (Tools → NuGet Package Manager → Package Manager Console).

Also, try the following example:

var workbook = new ExcelFile();
var worksheet = workbook.Worksheets.Add("Logarithmic Scale");

var chart = worksheet.Charts.Add<ColumnChart>(ChartGrouping.Standard, 0, 0, 500, 500, LengthUnit.Pixel);
var series = chart.Series.Add("LogTest", [28, 3, 2, 2, 2]);
chart.SetCategoryLabels(["A", "B", "C", "D", "E"]);

var axis = chart.Axes.VerticalValue;
axis.LogBase = 10;

workbook.Save("LogarithmicScale.xlsx");

Does this solve your issue?

Regards,
Mario

Thank you for implementing this so quickly Mario! Much appreciated!!

We have updated to version 2026.2.108 and the ValueAxis.LogBase property works exactly as expected; this fully resolves my issue.

Kind regards, Markus