Search found 71 matches
- Tue Nov 08, 2005 12:07 am
- Forum: VCL
- Topic: mixing metafiles and bitmaps
- Replies: 3
- Views: 7109
Its a bit complicated, but what ended up working was putting in a fake bitmap canvas in the onBeforeDrawSeries so that when the series were being drawn, it drew to a bitmap. Then, I made a new event (changed the TChart source) to include an onAfterDrawAllSeries, where I then drew the bitmap into the...
- Mon Oct 24, 2005 11:00 pm
- Forum: VCL
- Topic: axis title overlap
- Replies: 9
- Views: 14133
Hello Narcis, As I implement this more, I realize this solution does not work. During the course of the drawing, as I keep changing the labelSize based upon the "latest" custom axis label, the chart repaints and flickers. It seems to paint once with the original labelSize and then again with the upd...
- Mon Oct 03, 2005 4:26 pm
- Forum: VCL
- Topic: axis title overlap
- Replies: 9
- Views: 14133
- Mon Oct 03, 2005 4:09 pm
- Forum: VCL
- Topic: axis title overlap
- Replies: 9
- Views: 14133
Hi Narcis, Ok, I see the theory. However, how would I account for different font sizes (my users scan switch label font size). Obviously, multiplying by 5 is not going to work in all cases. Is the labelSize equal to pixels, i.e. if I measure that canvas.textextent of the labelText then use that, wil...
- Mon Oct 03, 2005 3:34 pm
- Forum: VCL
- Topic: axis title overlap
- Replies: 9
- Views: 14133
Hello Narcis, Thank you for your prompt reply. I found the labelSize property myself of course. The question is, how do I know WHAT to make the label size. In my application, I have no idea what the data is going to be and what the axis labels are going to be displayed (its quite a complicated algor...
- Sun Oct 02, 2005 8:31 pm
- Forum: VCL
- Topic: axis title overlap
- Replies: 9
- Views: 14133
- Fri Sep 30, 2005 2:46 am
- Forum: VCL
- Topic: axis title overlap
- Replies: 9
- Views: 14133
axis title overlap
hello.
I have my axis title size set to zero, so the axis titles should not overlap the labels. However, this still happens sometimes. Is this because I set custom label text on the onGetAxisLabel event? If so, is there any way to activate automatic spacing in this case?
I have my axis title size set to zero, so the axis titles should not overlap the labels. However, this still happens sometimes. Is this because I set custom label text on the onGetAxisLabel event? If so, is there any way to activate automatic spacing in this case?
- Thu Aug 18, 2005 3:48 pm
- Forum: VCL
- Topic: mixing metafiles and bitmaps
- Replies: 3
- Views: 7109
Hi Bert, Thank you for the response, but this is not what I need. I can calling TeeCreateMetafile. however, that creates a separate drawing instruction for every dot on the plot in the metafile. Which leads to huge metafiles that take a while to render. I need to be able to call TeeCreateMetafile to...
- Wed Aug 17, 2005 10:58 pm
- Forum: VCL
- Topic: mixing metafiles and bitmaps
- Replies: 3
- Views: 7109
mixing metafiles and bitmaps
Hello, I have a small problem. I am creating a pdf file from a bunch of teecharts (about 300 of them). Each tchart has about 20000 points on them. So what is happening, is that each metafile has 20,000 instructions from the drawPointer method. Adobe takes about 20 seconds to render each page (with a...
- Fri Jun 24, 2005 9:56 pm
- Forum: VCL
- Topic: divide by zero error
- Replies: 2
- Views: 4730
To solve this becomes part of a bigger issue. The way you have implemented the code, there does not seem to be a way to ask "What size will the chartRect be given the current plot options, size etc." The draw method gets called then InternalCanvas.initWindow then adjustChartBounds So, before the cha...
- Fri Jun 24, 2005 9:35 pm
- Forum: VCL
- Topic: divide by zero error
- Replies: 2
- Views: 4730
divide by zero error
Hello,
We allow our users to resize the charts. One of them went ahead and resized the chart to 0 width.
This causes a divide by zero error in:
TTeeCanvas3D.CalcPerspective
because chartRect.right-chartRect.left=0
you may want to fix this.
We allow our users to resize the charts. One of them went ahead and resized the chart to 0 width.
This causes a divide by zero error in:
TTeeCanvas3D.CalcPerspective
because chartRect.right-chartRect.left=0
you may want to fix this.
- Tue Apr 12, 2005 9:53 pm
- Forum: VCL
- Topic: Customizing the Legend
- Replies: 2
- Views: 5326
- Tue Apr 12, 2005 9:42 pm
- Forum: VCL
- Topic: strange problem with teeCreateMetafile
- Replies: 2
- Views: 5457
The problem still exists, but I have resolved the issue by changing to a TPointSeries and using the RainbowPalette array to choose the colors. You may want to look into this for other people though. There seems to be something about how the colorgrid is generated that can cause problems with some ap...
- Tue Apr 12, 2005 7:12 pm
- Forum: VCL
- Topic: strange problem with teeCreateMetafile
- Replies: 2
- Views: 5457
I now have a clear way to reproduce this. If you create the metafile from TCHART and paste into Adobe illustrator 10, it makes a black background, even on Windows XP. Do you have any idea how to track down what in the metafile is causing this drawing error? Again, it only happens with a rainbow pale...
- Tue Apr 12, 2005 2:46 pm
- Forum: VCL
- Topic: how to make the axes the same length
- Replies: 4
- Views: 7145
Hello Narcis, I may be going crazy, but I do not see where the "isometric axis" demo includes a part about how to eliminate the parts of the longer axis that are unused. The demo just has a single button to "make axis isometric" that creates large unused areas on the X-axis. If it is in another demo...