Search found 14 matches

by Test Always
Thu Jan 05, 2017 6:06 pm
Forum: VCL
Topic: Control 'chartTest' has no parent window
Replies: 10
Views: 17249

Re: Control 'chartTest' has no parent window

Like I said this is a simple demo of a much more complex situation. I really don't want to chase down every little item to show you that I really need to call the .draw command. I do--because the positioning of the legend needs more than just a margin begin set. To set the position of the legend, I ...
by Test Always
Wed Jan 04, 2017 4:31 pm
Forum: VCL
Topic: Control 'chartTest' has no parent window
Replies: 10
Views: 17249

Re: Control 'chartTest' has no parent window

Sigh. If I remove the .Draw command the custom positioned legend does not work. (This was told to do this by Steema's support).

Please let me know how to move forward.

Ed Dressel
by Test Always
Fri Dec 30, 2016 6:02 pm
Forum: VCL
Topic: Control 'chartTest' has no parent window
Replies: 10
Views: 17249

Re: Control 'chartTest' has no parent window

I hope you have (or had as your probably wont' get to this in 2016) an wonderful New Years and that 2017 is a great year for your. I appreciate your attention to this issue. After reviewing my code I didn't t understand what is happening--you are correct (as you know) that the demo does not work in ...
by Test Always
Wed Dec 28, 2016 7:12 pm
Forum: VCL
Topic: Control 'chartTest' has no parent window
Replies: 10
Views: 17249

Re: Control 'chartTest' has no parent window

This was only a demo. The actual chart is created in a data module (so "self" does not work) and I also use this in a online service and would prefer not have to create a TForm.

This wasn't this way in 2015.x.

Can this be fixed?

Ed Dressel
by Test Always
Tue Dec 27, 2016 3:25 pm
Forum: VCL
Topic: Control 'chartTest' has no parent window
Replies: 10
Views: 17249

Re: Control 'chartTest' has no parent window

Attached is a demo that creates the problem. (I just tested 2016.18 and it worked fine. It only seems to occur in .19).
by Test Always
Tue Dec 27, 2016 3:17 pm
Forum: VCL
Topic: Control 'chartTest' has no parent window
Replies: 10
Views: 17249

Control 'chartTest' has no parent window

I just upgraded to 2016.19.161025 and I get an exception (Control 'chartTest' has no parent window) for a chart I create fully in code. It occurs when I call the .Draw method. I will post an example here soon but I sure would like to have a fix to this ASAP.

Ed Dressel
by Test Always
Tue Dec 13, 2016 8:48 pm
Forum: VCL
Topic: Create a specific chart
Replies: 3
Views: 8188

Re: Create a specific chart

Couple items: 1.The donut example doesn't look like it gets very close (does it do 180 degrees, support in-series labels?), and the gauges example is lacking as well (no labels). 2. I do not have an "examples" directory. I installed the source code version. I also searched your website and did not s...
by Test Always
Mon Dec 05, 2016 9:35 pm
Forum: VCL
Topic: Create a specific chart
Replies: 3
Views: 8188

Create a specific chart

I need to create a chart that looks something like this:

Image

The pointer on at ~2 o'clock indicates their position (117 out of 150).

Can that be done with a TChart series? If so, how?

Much appreciated,

Ed Dressel
by Test Always
Fri Dec 02, 2016 12:49 am
Forum: VCL
Topic: Bands don't display in grid
Replies: 1
Views: 4841

Bands don't display in grid

In the attached (very simplified) demo of a project I am working on, I add bands to the chart when I load the data to the grid. Problem is, I don't know when I can add the bands: when I add the bands, I need value for Chart1.BottomAxis.Maximum. If I add the bands in OnBeforeDrawChart, Maximum is 0, ...
by Test Always
Tue Nov 29, 2016 6:14 pm
Forum: VCL
Topic: FYI: Compiler warnings and runtime exception with 2016.19
Replies: 1
Views: 5021

FYI: Compiler warnings and runtime exception with 2016.19

FYI: I just installed 2016.19 for Seattle (wanting to move my project to Berlin update 2 but have a bit of work to do to get there). When I compile my project, I get the following warnings: [dcc32 Hint] H2161 Warning: Duplicate resource: Type 2 (BITMAP), ID TANNOTATIONTOOL; File D:\DelphiComps\TeeCh...
by Test Always
Mon Sep 19, 2016 11:13 pm
Forum: VCL
Topic: Adding a TColorBandTool, resizing immediately
Replies: 1
Views: 4791

Adding a TColorBandTool, resizing immediately

I am adding a band to a chart as soon as the user clicks on the chart--and I want to start resizing the band as soon as it is added. Can that be done?

Thanks
Ed Dressel
by Test Always
Sat Sep 17, 2016 5:23 pm
Forum: VCL
Topic: Get Axis Value from Mouse Cursor
Replies: 1
Views: 5095

Get Axis Value from Mouse Cursor

When the mouse is moving over a chart, I want to get the corresponding value of the axis--the opposite of CalcXPosValue.

How do I do that?

Thanks,
Ed Dressel
by Test Always
Mon Jun 27, 2016 11:07 pm
Forum: VCL
Topic: 1 decimal place for legend.texttyle = ltsLeftPercent
Replies: 1
Views: 4689

1 decimal place for legend.texttyle = ltsLeftPercent

Is there an easy way to make the legend only show one decimal point when the TextStyle = ltsLeftPercent? By default, it shows 2.

Thank you,

Ed Dressel
by Test Always
Thu Jun 02, 2016 7:39 pm
Forum: VCL
Topic: Creating a custom legend
Replies: 6
Views: 14081

Creating a custom legend

Delphi Seattle, TChart Pro 2015.16 I need to create a custom legend. The chart only has one bar series, but negative values are displayed in red (additional lump savings needed for today) and represent a different value than positive value (cash balance at life expectancy). How can I in code create ...