Search found 10 matches

by Tero
Tue Jan 07, 2020 1:05 pm
Forum: ActiveX
Topic: Custom legend items: how can I set Text 2 & Text 3 values?
Replies: 1
Views: 18053

Custom legend items: how can I set Text 2 & Text 3 values?

TeeChart editor has Text 2 & Text 3 for legend custom items:

Legend custom items.jpg
Legend custom items.jpg (101.67 KiB) Viewed 18053 times

How can I set these values using C++ API? Cannot seem to find a method or property which allows this.
by Tero
Wed Nov 13, 2019 5:34 am
Forum: ActiveX
Topic: TeeChart crash with Japanese date/number/currency settings
Replies: 10
Views: 41147

Re: TeeChart crash with Japanese date/number/currency settings

The creation and destruction of charts is controlled by the user i.e. user creates data views and closes them at will so it is not possible to implement a system like in the example above (which is very simplistic example just to recreate the exception).

BR,

Tero M.
by Tero
Mon Nov 11, 2019 8:34 am
Forum: ActiveX
Topic: TeeChart crash with Japanese date/number/currency settings
Replies: 10
Views: 41147

Re: TeeChart crash with Japanese date/number/currency settings

Our app uses GDI+ rendering elsewhere even before TeeChart2019.ocx is loaded or any TeeChart objects have been created so we call GDIPlusStartup and GDIPlusShutdown. We call GDIPlusStartup in InitInstance method and GDIPlusShutdown in ExitInstance. From Microsoft Dev Center documentation: Do not cal...
by Tero
Mon Oct 28, 2019 9:13 am
Forum: ActiveX
Topic: TeeChart crash with Japanese date/number/currency settings
Replies: 10
Views: 41147

Re: TeeChart crash with Japanese date/number/currency settings

I get the crash using latest TeeChart version (2019.00.7.23) using the test application I included earlier. Compiled both release and debug versions with VS2019 version 16.3.5. Both versions throw an exception from ntdll.dll when run as "Local Windows Debugger" from VS2019 IDE: void CTeeGDIPlus::GDI...
by Tero
Wed Oct 16, 2019 8:58 am
Forum: ActiveX
Topic: TeeChart crash with Japanese date/number/currency settings
Replies: 10
Views: 41147

Re: TeeChart crash with Japanese date/number/currency settings

I tested this today because we have to consider switching back to GDI rendering because of area series drawing bugs with GDI+ rendering.

Unfortunately this did not fix the crash.
by Tero
Wed Oct 16, 2019 6:28 am
Forum: ActiveX
Topic: Area series Draw style problem (TeeChart2019.ocx)
Replies: 9
Views: 34972

Re: Area series Draw style problem (TeeChart2019.ocx)

Sorry, but we do not want this effect. Other series are almost impossible to see through area series (depending on the data frequency) when those darker areas are visible. Also we really (I mean really) do not want to change back to GDI because we just recently changed from GDI to GDI+ because of GD...
by Tero
Mon Oct 14, 2019 8:05 am
Forum: ActiveX
Topic: Area series Draw style problem (TeeChart2019.ocx)
Replies: 9
Views: 34972

Re: Area series Draw style problem (TeeChart2019.ocx)

Try your example with "Area": Stairs like in my example and report back. You should see same behaviour. If I disable "Stairs" in our code extra vertical lines are not drawn like in your example code above.

My guess is area is drawn as polygon vs. rectangles (No Stairs vs. Stairs).
by Tero
Mon Oct 14, 2019 6:23 am
Forum: ActiveX
Topic: Area series Draw style problem (TeeChart2019.ocx)
Replies: 9
Views: 34972

Re: Area series Draw style problem (TeeChart2019.ocx)

Area lines pen is not visible in those examples. I have tried to enable them and set transparency to 100% - no change, tried to set line width to zero - no change. Those lines always appear if area series transparency is not 0%. We need to set area series transparency to other than 0% (at least 20%)...
by Tero
Thu Oct 10, 2019 8:15 am
Forum: ActiveX
Topic: Area series Draw style problem (TeeChart2019.ocx)
Replies: 9
Views: 34972

Area series Draw style problem (TeeChart2019.ocx)

TeeChart 2019 area series has a new option "Draw style" and is as default "Segments". We do not want area drawn as boxes but like it was drawn when using older TeeChart versions so we tried to change "Draw style" to "All" which at first looked like the solution we want. However we found out that if ...
by Tero
Tue May 07, 2019 7:46 am
Forum: ActiveX
Topic: TeeChart crash with Japanese date/number/currency settings
Replies: 10
Views: 41147

TeeChart crash with Japanese date/number/currency settings

Change Windows' Date & time, number and currency settings to "Japanese (Japan)": Format settings.png Create a program which uses GDIPlus (uses startup and shutdown). Create two charts with GDIPlus rendering disabled. When trying to disable GDIPlus rendering for the second chart a call to GDIPlusShut...