Feature Request: Option to set logarithmic scale on Y axis #70

Closed
Racerxali opened this Issue Jul 26, 2016 · 2 comments

Comments

Projects
None yet
2 participants
@Racerxali

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.

@jmcnamara

This comment has been minimized.

Show comment
Hide comment
@jmcnamara

jmcnamara Jul 26, 2016

Owner

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

Owner

jmcnamara commented 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

@jmcnamara jmcnamara self-assigned this Jul 26, 2016

@jmcnamara jmcnamara changed the title from Option to set logarithmic scale on Y axis to Feature Request: Option to set logarithmic scale on Y axis Dec 20, 2016

@jmcnamara

This comment has been minimized.

Show comment
Hide comment
@jmcnamara

jmcnamara Jan 2, 2017

Owner

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.

Owner

jmcnamara commented 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.

@jmcnamara jmcnamara closed this Jan 2, 2017

@jmcnamara jmcnamara added the bug label Jan 2, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment