Topic: About Chart

Hello Dmitry

I've made a project to record monitoring for a diabetic.
Please, look at the attachment.

1 - As you can see, there are 6 records (left part) and only five points on Chart. Any idea about that ?
2 - Is it possible to rid off dates other than the left grid and keep only those readings ?
3 - is it possible to vertically align these dates (to save space) on chart ?

Thanks for your help

JB

Post's attachments

Attachment icon Diabet.zip 65.76 kb, 436 downloads since 2016-09-26 

Re: About Chart

Hello,


1. Just scroll chart using right mouse button to see last value on the chart. It happened because you have same date for two latest records.


2. Unfortunately no.


3.

ChartLine.BottomAxis.LabelsAngle := 90; 


Also I noticed that you used type TEXT for database field "Taux" instead REAL.

Dmitry.

Re: About Chart

Hello Dmitry

Thanks for your help ! Great !

In fact, since posting my project, I've seen I've chosen bad type for field Taux and I changed it fromText into Real.

Thanks again, Dmitry

JB.

Re: About Chart

Hello Dmitry

Would it be possible to implement three functions to component TChart ?

- SaveToBmpFile
- CopyToClipboardBitmap
-  Print

Many Thanks

JB

Re: About Chart

jean.brezhonek wrote:

Hello Dmitry

Would it be possible to implement three functions to component TChart ?

- SaveToBmpFile
- CopyToClipboardBitmap
-  Print

Many Thanks

JB

Hello,


Please download latest beta version 2.8
https://www.dropbox.com/s/k1wd8mqe3qb35 … a.zip?dl=0


I added some procedures:

Chart.SaveToBitmapFile(const FileName: string);
Chart.SaveToMetaFile(const FileName: string);
Chart.SaveToMetaFileEnh(const FileName: string);
Chart.CopyToClipboardBitmap;
Chart.CopyToClipboardMetafile(Enhanced: Boolean);
Chart.Print;
Chart.Preview;
Dmitry.

Re: About Chart

Hello Dmitry

Really great !

Thank you four adding thoise functions !
Verily you are a good corespondant !

Thanks again

JB