Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

producing a graph line or bar chart from a text file or a database

Posted on 2003-11-14
1
Medium Priority
?
217 Views
Last Modified: 2010-04-05
how can i produce a graph and save it to a a bmp or gif file. The graph will be either a barchart or a line chart, and possibly a combination of the 2

thanks

Ian
0
Comment
Question by:alchemy9
1 Comment
 
LVL 9

Accepted Solution

by:
tkalchev earned 2000 total points
ID: 9746879
Use the DBChart component. Design the graph and then in runtime you can save it this way :

DBChart1.SaveToBitmapFile( 'c:\chart.bmp' ) ;


If you need any help in designing the graph just ask.
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
Screencast - Getting to Know the Pipeline

824 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question