Search found 20 matches

by Michael Heinrich
Fri Sep 30, 2011 8:06 am
Forum: VCL
Topic: Selecting multiple shapes in TMapSeries with mouse drag
Replies: 6
Views: 9785

Re: Selecting multiple shapes in TMapSeries with mouse drag

Hello Narcís, I have attached the version of my program to this post. The problems start to form when I use the GDI plus for better image quality. Would it be possible to get the selection box shown on the chart as it shows on the non-gdi plus version. What I also see that the gdi plus version draws...
by Michael Heinrich
Wed Sep 28, 2011 2:55 pm
Forum: VCL
Topic: Selecting multiple shapes in TMapSeries with mouse drag
Replies: 6
Views: 9785

Re: Selecting multiple shapes in TMapSeries with mouse drag

I have implemented your solution into our application but when some of my customers wanted to have gradients on the shapes and gradients in the background, shadow effects and highlighted borders the redraw got exceedingly slower. Since this is done every time one shape is selected/deselected this ca...
by Michael Heinrich
Thu Sep 08, 2011 7:42 am
Forum: VCL
Topic: Showing map series on x-z plane
Replies: 4
Views: 6428

Re: Showing map series on x-z plane

Hello Yeray, Sorry for not responding sooner, had some time off. The solution you have provided will help me along the way. I am going to have to add features a normal bar series has but I think this is usable. I'll let you know once I have added your solution to my code. Thanks for the code example...
by Michael Heinrich
Fri Aug 26, 2011 8:41 am
Forum: VCL
Topic: Showing map series on x-z plane
Replies: 4
Views: 6428

Showing map series on x-z plane

Hi, Is it possible to show a map series (normally shown on the x-y plane) on the x-z plane? I want to be able to show a map in 3d and then place another series on top of it using bars to show a numerical value for that shape. Like a bar showing the population densitity of an area, the average power ...
by Michael Heinrich
Wed Aug 10, 2011 12:48 pm
Forum: VCL
Topic: Position of center of pie when showing multiple pieseries
Replies: 3
Views: 5684

Re: Position of center of pie when showing multiple pieseries

Hello Yeray,

Adding an explicit draw before positioning the textlabels did the trick. I then added your afterdraw event mechanism to place the labels which fixed the redrawing after resizing the program window.

Thanks,
Michael.
by Michael Heinrich
Wed Aug 10, 2011 9:29 am
Forum: VCL
Topic: Position of center of pie when showing multiple pieseries
Replies: 3
Views: 5684

Position of center of pie when showing multiple pieseries

Hello, I am trying to figure out how to calculate the center of a pie in a chart that holds multiple pie series. I would like to place an annotation at that position with that tells the user what pie he's looking at. What I have started is the following code. I am not sure when the CircleXCenter act...
by Michael Heinrich
Wed Aug 03, 2011 8:36 am
Forum: VCL
Topic: Selecting multiple shapes in TMapSeries with mouse drag
Replies: 6
Views: 9785

Re: Selecting multiple shapes in TMapSeries with mouse drag

Hello Yeray,

This is indeed what I was looking for. And it even works pretty well with large amounts of shapes. Thanks this will save me a lot of time and it can easily be fit into our current functions. I'll see if I can make it into a tool that you can add to a chart.

Thanks,
Michael.
by Michael Heinrich
Tue Aug 02, 2011 7:06 am
Forum: VCL
Topic: Selecting multiple shapes in TMapSeries with mouse drag
Replies: 6
Views: 9785

Selecting multiple shapes in TMapSeries with mouse drag

Hello, I would like to get some pointers to implement a feature one of our customers needs. They would like to select (using mouse drag and showing a selection box) a number of shapes in a TMapSeries. I would like to add this feature as a tool. Specific questions are: I have looked at the zoom funct...
by Michael Heinrich
Thu Mar 11, 2010 3:07 pm
Forum: VCL
Topic: How to show a picture inside a mark?
Replies: 3
Views: 5536

Re: How to show a picture inside a mark?

Yes when I am not using OpenGL the pictures are shown correctly.
by Michael Heinrich
Thu Mar 11, 2010 2:18 pm
Forum: VCL
Topic: How to show a picture inside a mark?
Replies: 3
Views: 5536

How to show a picture inside a mark?

I want to show a bitmap in a mark. When I add a picture either at runtime or design time to a series.mark.picture the picture will only be shown as a white area inside the mark. My charts have the opengl component actively linked which might account for the picture not showing. I have tried stretche...
by Michael Heinrich
Wed Mar 10, 2010 2:50 pm
Forum: VCL
Topic: How to make marks have sizes in absolute pixels?
Replies: 3
Views: 6196

Re: How to make marks have sizes in absolute pixels?

I have used most of the suggestions in the previous post but I have run into a problem with the positions of marks. Below I have added a simple click event that uses a TChart named as Chart1 on the form. A OpenGL component is linked and active to the TChart. How do I manage positions after I have ad...
by Michael Heinrich
Tue Mar 09, 2010 9:08 am
Forum: VCL
Topic: How to make marks have sizes in absolute pixels?
Replies: 3
Views: 6196

How to make marks have sizes in absolute pixels?

Hello, I want to have marks that will always be readable even if you change the zoom in the chart. Is it possible to make marks have a minimum of pixels width and height? If that is not possible would it be possible to have marks have a width to a percentage of the chart or some other absolute prope...
by Michael Heinrich
Mon Feb 22, 2010 9:43 am
Forum: VCL
Topic: Changing the label of the axis ticks in event
Replies: 15
Views: 26236

Re: Changing the label of the axis ticks in event

Hello Yeray, The only thing I had hoped for that I could have a procedure like OnDrawAxisLabel(Sender:TChartAxis; var X,Y,Z:Integer; var Text:String; var DrawLabel:Boolean) but with procedure OnDrawAxisLabel(Sender:TChartAxis; var X,Y,Z:Integer; var Text: string; const aValueOfTick: Float; var DrawL...
by Michael Heinrich
Fri Feb 19, 2010 10:16 am
Forum: VCL
Topic: Painting non-rectanglar point with Anti-Aliasing tool
Replies: 3
Views: 4946

Painting non-rectanglar point with Anti-Aliasing tool

Version: Build 8.06.60902 Hereby I send a project that contains a chart with three series. The chart has an Anti-Aliasing tool attached and is active. When you change the pointer type to anything other than rectangular shape (any non-horizontal line/non-vertical line in the pointer, example Circle o...
by Michael Heinrich
Fri Feb 19, 2010 9:57 am
Forum: VCL
Topic: Can't download from client area
Replies: 5
Views: 7446

Re: Can't download from client area

I have had similar problems and this is still under investigation. I have tried several PCs, all have the same problem. I have tried both older and newer versions of the browsers. All PCs have Windows XP and are standard corporate installations. So far I have tried 5 PCs with Firefox and Internet Ex...