Search found 11 matches
- Thu Jun 28, 2007 8:21 am
- Forum: VCL
- Topic: how can I tell when a Repaint has finished?
- Replies: 1
- Views: 4675
how can I tell when a Repaint has finished?
I have a chart which I'm populating like this: Chart->AutoRepaint = false; for (many thousands of values) { lineseries->AddXY(x,y,"",clRed); } Chart->AutoRepaint = true; Chart->Repaint(); The problem is that the Repaint does not happen immediately. If I call Repaint(), and then immediatelly check th...
- Wed Jun 27, 2007 5:05 am
- Forum: VCL
- Topic: problems with TNearestTool and TLineSeries
- Replies: 2
- Views: 7761
- Tue Jun 26, 2007 8:51 am
- Forum: VCL
- Topic: problems with TNearestTool and TLineSeries
- Replies: 2
- Views: 7761
problems with TNearestTool and TLineSeries
Hi all, I'm trying to use the TNearestTool to work out the time (x value) of the point (on a TLineSeries) closest to the mouse. When the user clicks a button, a nearest tool is created: TNearestTool *nearTool = new TNearestTool(TrendChart); TrendChart->Tools->Add(nearTool); nearTool->LinePen->Color ...
- Wed Feb 21, 2007 2:23 am
- Forum: VCL
- Topic: no grid lines when printing
- Replies: 2
- Views: 5843
- Wed Feb 21, 2007 1:36 am
- Forum: VCL
- Topic: TColorLine problem
- Replies: 4
- Views: 9094
Having trouble uploading files - here's the complete chunk of code that will demonstrate the problem. All that is required is a TChart object named TrendChart on a form, and put this in form's constructor: //Definitions double dblMin = 10; double dblMax = 30; double dblInterval = 1.0/24.0/20.0; //Ad...
- Tue Feb 20, 2007 11:39 pm
- Forum: VCL
- Topic: TColorLine problem
- Replies: 4
- Views: 9094
The screenshot that I uploaded demonstrates the problem pretty clearly - if you set a TColorLineTool->Value property to a value that's outside of the vertical axis min/max, the ColorLine should not be visible...but it is. It appears in the whitespace above or below the chart grid area - this is what...
- Tue Feb 20, 2007 5:58 am
- Forum: VCL
- Topic: TColorLine problem
- Replies: 4
- Views: 9094
TColorLine problem
Hi guys, I have a small problem with the TColorLineTool. If I create a TColorLineTool and set the value to 20, but show a trend where the vertical range is between 11 and 19, the colorline appears outside of the chart area. Don't know if I'm explaining it very well - I've uploaded a screenshot using...
- Mon Feb 19, 2007 1:10 am
- Forum: VCL
- Topic: automatically adjusting the left margin on resize
- Replies: 2
- Views: 5380
- Thu Feb 08, 2007 11:13 pm
- Forum: VCL
- Topic: automatically adjusting the left margin on resize
- Replies: 2
- Views: 5380
automatically adjusting the left margin on resize
Hello, I'm experiencing problems with the left axis values whenever I resize my teechart windows. If the values being plotted are reasonably large (in the thousands), the left axis values get chopped off when I resize the window. My Chart->LeftMargin is currently set to 5, and the margin units are p...
- Wed Feb 07, 2007 4:57 am
- Forum: VCL
- Topic: no grid lines when printing
- Replies: 2
- Views: 5843
no grid lines when printing
Hello, I've got a problem where whenever I print a chart I don't get any grid lines. They're visible in the TChartPreviewer window, but they don't appear on the printout. I've tried changing the settings of the TChartPreviewer component - if I set cpoAsBitmap to true, then I do get grid lines...but ...
- Tue May 11, 2004 2:08 am
- Forum: VCL
- Topic: TLineSeries and points
- Replies: 1
- Views: 6078
TLineSeries and points
Hello,
Is there any way to turn on points for just a few values, rather than the whole series? I want a certain section of my chart to stand out. Or how about changing the line type for a particular section of points?
Cheers
Andrew
Is there any way to turn on points for just a few values, rather than the whole series? I want a certain section of my chart to stand out. Or how about changing the line type for a particular section of points?
Cheers
Andrew