Search found 11 matches

by ix07
Mon Jan 04, 2016 7:08 pm
Forum: VCL
Topic: Direct Access to Color Grid Values
Replies: 1
Views: 4064

Direct Access to Color Grid Values

Hi. We are trying to optimize the performance of TColorGrid and are wondering about the usage of the "Values" property. Internally it always seems to call AddXYZ - regardless if the value already existed. Is there no way to only update the color values of a grid? Example: const double xStepWidth = 1...
by ix07
Fri Dec 18, 2015 1:44 pm
Forum: VCL
Topic: Hide Grid Lines in ColorGrid?
Replies: 1
Views: 4325

Hide Grid Lines in ColorGrid?

Hi. How can I hide the grid in a TColorGridSeries at runtime? I can easily hide it using the designer, selecting the series and then "Format/Format/Grid/Visible". But I found no way to access the "Format" property for a series at runtime. This is how I create the series: --- snip --- std::unique_ptr...
by ix07
Fri Jun 12, 2015 5:23 pm
Forum: VCL
Topic: Dual Axis Labeling?
Replies: 2
Views: 5311

Re: Dual Axis Labeling?

That's exactly what I was looking for. Thank you!
by ix07
Fri Jun 12, 2015 12:11 pm
Forum: VCL
Topic: Dual Axis Labeling?
Replies: 2
Views: 5311

Dual Axis Labeling?

Hi.

Is it possible to use two sets of labels (e.g. to display two different units) for the same axis or achieve this by some other feature? I attached a picture to illustrate the desired effect.

Thanks!
by ix07
Fri May 29, 2015 10:27 am
Forum: VCL
Topic: Dynamic LinePen
Replies: 12
Views: 15930

Re: Dynamic LinePen

You are absolutely right - i didn't see that.

Thank you very much for your help. Much appreciated!
by ix07
Thu May 28, 2015 1:59 pm
Forum: VCL
Topic: Dynamic LinePen
Replies: 12
Views: 15930

Re: Dynamic LinePen

I simplified the example project and removed all unnecessary code.
by ix07
Thu May 28, 2015 1:16 pm
Forum: VCL
Topic: Dynamic LinePen
Replies: 12
Views: 15930

Re: Dynamic LinePen

Hi. I made an example project where you can (hopefully) see the problem. If you start the resulting application and make sure that the mouse cursor is not above the diagram when starting the application you will see a correctly drawn diagram. If you move the mouse cursor over the diagram window the ...
by ix07
Wed May 27, 2015 10:37 am
Forum: VCL
Topic: Dynamic LinePen
Replies: 12
Views: 15930

Re: Dynamic LinePen

Sigh. I appreciate your efforts, but did you read my last posting? I have everything working *except* that the changed "LineStyle" reverts when you move the mouse cursor over the diagram window (you don't even have to click or interact, just moving the cursor is enough). I even posted two screenshot...
by ix07
Tue May 26, 2015 2:15 pm
Forum: VCL
Topic: Dynamic LinePen
Replies: 12
Views: 15930

Re: Dynamic LinePen

Hi Yeray. Thank you for your example. In your example you are using 'GetPointerStyle' too (as I do), and unfortunately you do not change the LineStyle in that example. Here is my current code: -- snip -- Teengine::TSeriesPointerStyle __fastcall ResultDiagramCompositeView::OnGetPointerStyle(Teengine:...
by ix07
Fri May 22, 2015 3:43 pm
Forum: VCL
Topic: Dynamic LinePen
Replies: 12
Views: 15930

Re: Dynamic LinePen

Uhm. I'm not sure that's the same problem. I need to change the LineStyle (psSolid, psDash etc.) - not the color. Or did I miss something? Can you provide me with a actual example (Delphi or C++) in which you change the line style for each x/y value?
by ix07
Wed May 20, 2015 4:57 pm
Forum: VCL
Topic: Dynamic LinePen
Replies: 12
Views: 15930

Dynamic LinePen

Hi. I am using TLineSeries to display a series of X/Y values. My customer wants the LineStyle for the connecting lines between values for all x-values below a certain threshold value to be drawn in the "dotted" style. In my first attempts I tried to "misuse" the "OnGetPointerStyle" event like this: ...