Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

1

Show a graph view where the x axis is a time or date attribute

By
Walid Berrad
on 5/19/15, 2:33 PM 630 views

I'd like to have a graph where I show my data (production rate for example) in the vertical axis(y ), and in the horizontal axis (x) the create_date.

I declared this last one in my object attributes, so I can use it, when I tried to get it from the DB in the [module_view.xml] file it does show up in the graph and I get a direct line (horizontal line) instead of a graph.

I tried with another field of mine 'date' of type datetime, and give it the default value of the current system date (datetime.today() ), but it didn't work either.

Is something wrong with what I did ? How can I do this ?

Later I'd like to show this data in realtime, how is this possible ?

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 5/19/15, 2:33 PM
Seen: 630 times
Last updated: 11/9/16, 6:43 AM