[GH-ISSUE #70] Feature Request: Option to set logarithmic scale on Y axis #58

Closed
opened 2026-05-05 11:34:47 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @Racerxali on GitHub (Jul 26, 2016).
Original GitHub issue: https://github.com/jmcnamara/libxlsxwriter/issues/70

Originally assigned to: @jmcnamara on GitHub.

Hi,

While using the chart settings, I don't find any option to set logarithmic scale. Can u please guide how can we use this feature. Also when using scatter chart, there seems to be an issue that it does not show series title in the legend (rather it shows default series title like Series1) when using chart_series_set_name(), while proper series name appears in other charts. I hope this is not a bug.

Originally created by @Racerxali on GitHub (Jul 26, 2016). Original GitHub issue: https://github.com/jmcnamara/libxlsxwriter/issues/70 Originally assigned to: @jmcnamara on GitHub. Hi, While using the chart settings, I don't find any option to set logarithmic scale. Can u please guide how can we use this feature. Also when using scatter chart, there seems to be an issue that it does not show series title in the legend (rather it shows default series title like Series1) when using chart_series_set_name(), while proper series name appears in other charts. I hope this is not a bug.
gitea-mirror 2026-05-05 11:34:47 -06:00
Author
Owner

@jmcnamara commented on GitHub (Jul 26, 2016):

Hi,,

While using the chart settings, I don't find any option to set logarithmic scale

Unfortunately, that isn't supported yet.

It is supported in the Perl/Python version of the lib so it will be ported over in time: https://xlsxwriter.readthedocs.io/chart.html?highlight=log#chart-set-x-axis

Also when using scatter chart, there seems to be an issue that it does not show series title in the legend (rather it shows default series title like Series1) when using chart_series_set_name(), while proper series name appears in other charts. I hope this is not a bug.

It should work. There are tests for it and the following example shows it: http://libxlsxwriter.github.io/chart_scatter_8c-example.html

If you think it doesn't work in some condition then open up a new issue and submit a small example program that demonstrates it.

Thanks,

John

<!-- gh-comment-id:235303484 --> @jmcnamara commented on GitHub (Jul 26, 2016): Hi,, > While using the chart settings, I don't find any option to set logarithmic scale Unfortunately, that isn't supported yet. It is supported in the Perl/Python version of the lib so it will be ported over in time: https://xlsxwriter.readthedocs.io/chart.html?highlight=log#chart-set-x-axis > Also when using scatter chart, there seems to be an issue that it does not show series title in the legend (rather it shows default series title like Series1) when using chart_series_set_name(), while proper series name appears in other charts. I hope this is not a bug. It should work. There are tests for it and the following example shows it: http://libxlsxwriter.github.io/chart_scatter_8c-example.html If you think it doesn't work in some condition then open up a new issue and submit a small example program that demonstrates it. Thanks, John
Author
Owner

@jmcnamara commented on GitHub (Jan 2, 2017):

Log scale added in version 0.4.7: http://libxlsxwriter.github.io/chart_8h.html#ac27a9a20daf4f0a6be8595fbd7f41151

Also fixed the issue with chart titles in Scatter charts. Thanks for the report.

<!-- gh-comment-id:269928762 --> @jmcnamara commented on GitHub (Jan 2, 2017): Log scale added in version 0.4.7: http://libxlsxwriter.github.io/chart_8h.html#ac27a9a20daf4f0a6be8595fbd7f41151 Also fixed the issue with chart titles in Scatter charts. Thanks for the report.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/libxlsxwriter#58
No description provided.