PDA

View Full Version : Draw Bar chart in Graphic view



vinithr
31st July 2012, 18:13
Hi,

I am trying to draw bar graph in a graphic view. I have downloaded the sample program from the following link and optimized for my requirement. the source is downloaded from the below link
http://www.wysota.eu.org/?page_id=14&lang=en

And When i am running this application i am getting the graph in full window instead of view the graph in graphics view

I am attaching the code for your reference.(Full Project folder tar.gz format)

Could anyone help me to sort this out to draw this graph in graphics view


Thanks in Advance

Regards
vinithr

sonulohani
1st August 2012, 08:46
Use qwt instead. See the tvplot example...

vinithr
6th August 2012, 16:01
Hi Thanks for your reply. I tried installing using the following command

svn co https://qwt.svn.sourceforge.net/svnroot/qwt/branches/qwt-5.2

After download i run,qmake and make. Its giving error

Is there any other way tpo do the same.


Thanks
Vinithr

vinithr
7th August 2012, 11:46
Hi,

I can be able to run tvplot example and i customised as per my needs.


I have one query,how i can draw that in a graphic view that is present in my mainwindow.?

Thanks in Advance

Regards
Vinithr

vinithr
9th August 2012, 15:27
Hi,

I am trying to integrate qwt tvplot to my qt application I am not finding the way to do that.

Could you please help me out for integrating that to qtmainwindow application

My actual need is that i need to draw the tv plot into a graphicsview that in the mainwindow.ui


Thanks in advance

Regards.
Vinithr

BalaQT
10th August 2012, 09:17
can u tell ur req in detail?
Bala

vinithr
10th August 2012, 13:47
Thanks for your reply.

I have a QT application that have more than 20 windows .Out of those windows ,i have one window with a graphicsview. In that we need to draw the bargraph. I got a suggestion that tvplot from qwt can be used. so i have installed and compiled qwt and tvplot. Its running perfectly. And i customized the tv plot as per the requirement. Now the issue.

I need to integrate this plot to a mainwindow that have a graphicsview. If we need we can change that graphicsview to scrollarea or frame or whatever.

I believe now you understood my problem.


Here where i am struck.

Could you please help me to draw this or could you please suggest me any alternate method that can fulfill my requirement.

Thanks in advance
Vinithr

ThompsonJames
5th November 2013, 11:22
Recently I found a new website that is KoolChart.com which gives the flexibility to work in 3D with support of HTML5.

ThompsonJames
7th November 2013, 04:40
Click here (http://www.koolchart.com) to work with these awesome functions.