Solved

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

Posted on 2003-11-14
1
210 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 500 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

820 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