Creating Graph Plot
Thursday, September 27, 2007 by GlebOBurov | Discussion: DesktopX Development
Ex.
I have a table with 2 columns and some rows. I get this data from database and put it in someone variant. Now I need to create a 2D graph plot using this data. How can I do this?
There is "Performance Meter" plugin in DX, but it works only with system information. No way to use my own datasource
Reply #2 Thursday, October 11, 2007 10:19 AM
I created what I want, but is cloning the best solution for creating charts?
Clones appear too long. What will be, if my bar chart has more that 100 bars??
I also want to create simple line graph, pie chart. I think, it will be very difficult to do it (in way of pie chart, impossible).
What about ActiveX? For example, using SVG Document.
I tried to embed ActiveX (ex. SVG Document), but in that case widget's capabilities dissapear (drag & drop, opacity & ect).
Maybe, I can embed MS Graph or same object, but I don't know how...
Maybe, I can creating chart widget without DX???
))Please login to comment and/or vote for this skin.
Welcome Guest! Please take the time to register with us.
There are many great features available to you once you register, including:
- Richer content, access to many features that are disabled for guests like commenting on the forums and downloading skins.
- Access to a great community, with a massive database of many, many areas of interest.
- Access to contests & subscription offers like exclusive emails.
- It's simple, and FREE!







Reply #1 Thursday, September 27, 2007 9:33 PM
If you're talking a simple 2D bar graph then have a look at this post I did a while back
Yes, Virginia You can script bar charts.
The code is not edit nicely but, should get you started.
Without getting overly detailed the best solution is to use cloning