Coder Social home page Coder Social logo

Comments (6)

aa4re avatar aa4re commented on June 16, 2024

imagen

from libxlsxwriter.

jmcnamara avatar jmcnamara commented on June 16, 2024

That isn't currently supported in the C version. It is supported in the Python version:

https://xlsxwriter.readthedocs.io/chart.html?highlight=text_axis#chart-set-x-axis

I could look at adding it to the C version however it is a feature that is rarely used in practice and I don't know if it will actually fix any real world problem that you have. In addition it is easily replicated with the existing APIs by setting a text format on the data the chart is graphed from.

But let's take a step back. What is the issue that you are having. the doc you linked to talks about setting millisecond precision. Is that what you are trying to do?

from libxlsxwriter.

aa4re avatar aa4re commented on June 16, 2024

Thank you very much for your reply,
I have made a mistake when putting the link of the problem that I have, the correct link is:
https://www.extendoffice.com/documents/excel/4203-excel-chart-with-date-and-time-on-x-axis.html

The library generates this graph, where the X axis type is set to automatic.

imagen

The correct graph that I want to show is the following, the only thing that changes is that now I have manually changed the type of the x-axis to Text.

imagen

It is very important to be able to change the type of axis since anyone who works with time data will encounter this problem.
it's possible?

from libxlsxwriter.

jmcnamara avatar jmcnamara commented on June 16, 2024

Ok. Could you add a small working example (to avoid confusion) and I will look at adding the feature.

from libxlsxwriter.

jmcnamara avatar jmcnamara commented on June 16, 2024

Just a reminder that without a small working example I cannot evaluate this issue and will close it after a week.

from libxlsxwriter.

jmcnamara avatar jmcnamara commented on June 16, 2024

Closing due to lack of response.

from libxlsxwriter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.