Search found 15 matches

by nbp
Wed Mar 22, 2017 8:32 pm
Forum: ActiveX
Topic: multichart to 1 page pdf export?
Replies: 2
Views: 12393

Re: multichart to 1 page pdf export?

Thanks. I didn't have access to the View class to use the built in printing support such as the OnPrint() method so couldn't use that specific example. But I found the following link http://www.teechart.net/support/viewtopic.php?f=1&t=14210&p=62520&hilit=TeePreviewPanel+default+printer&sid=5960a6e42...
by nbp
Tue Mar 21, 2017 11:14 pm
Forum: ActiveX
Topic: multichart to 1 page pdf export?
Replies: 2
Views: 12393

multichart to 1 page pdf export?

I tried something similar to the example above and it works. I'm using TChart 2015 ocx, ActiveX. I added a TeePreviewPanel at Design time to a blank CDialog. I then added N charts onto the PreviewPanel at runtime and placed them relative to each other. How can I give the user the option to select a ...
by nbp
Thu Mar 09, 2017 4:49 pm
Forum: ActiveX
Topic: Exporting selected series to Excel
Replies: 8
Views: 29339

Re: Exporting selected series to Excel

Thanks for the reply.

So I just want to confirm that the 2017.20 build will include the feature to export only selected series to Excel?
by nbp
Wed Mar 08, 2017 10:52 pm
Forum: ActiveX
Topic: Exporting selected series to Excel
Replies: 8
Views: 29339

Re: Exporting selected series to Excel

Has the above bug been fixed? The link above says it has been fixed on 10-28? If so, what release contains the fix?
by nbp
Wed Mar 08, 2017 8:33 pm
Forum: ActiveX
Topic: Axis Maximum Value must be >= Minimum
Replies: 1
Views: 10415

Axis Maximum Value must be >= Minimum

I'm using TChart 2015 ocx. I'm using the following piece of code to set the maximum and minimum values for the left axis but I get an exception "Axis Maximum Value must be >= Minimum" double fIncr; double fMax, fMin; fMax = -0.6; fMin = -0.35 fIncr = (fMax - fMin)/10; CurrentAxis.SetAutomatic(false)...
by nbp
Thu Feb 23, 2017 9:47 pm
Forum: ActiveX
Topic: Exporting selected series to Excel
Replies: 8
Views: 29339

Re: Exporting selected series to Excel

I have several series on a chart. They all share the same X values, only differ in their Y values. Can I export them to Excel so that I only have a single column for the X values and multiple columns for the Y values? I'm using TChart ActiveX 2015 ocx component.
by nbp
Thu Feb 23, 2017 9:07 pm
Forum: ActiveX
Topic: Application still running in Task Manager after exiting
Replies: 3
Views: 12491

Re: Application still running in Task Manager after exiting

I fixed this issue on my side finally by adding an AfxOleTerm(FALSE) statement in my ExitInstance(). So I don't have a locked process anymore and I'm good for now but I'm still curious to know what was happening and what was being locked up by the TChart ocx.
by nbp
Thu Feb 23, 2017 9:05 pm
Forum: .NET
Topic: multichart to 1 page pdf export?
Replies: 6
Views: 16120

Re: multichart to 1 page pdf export?

Has this feature been added in a recent release, i.e TChart 2015 or 2016? Or do we still need to use the method described above with the PrintPreviewer?
by nbp
Wed Feb 08, 2017 5:39 pm
Forum: ActiveX
Topic: Application process is not terminated
Replies: 18
Views: 49690

Re: Application process is not terminated

Any news on this? I'm using TeeChart 2014 and seeing the same issue. My application process doesn't terminate on exit. We are using the correct sequence of GDIPlus startup and shutdown

Unfortunately when I build a simple app in order to send it to you the problem doesn't occur.
by nbp
Wed Dec 07, 2016 10:46 pm
Forum: VCL
Topic: GDI+ Just won't die
Replies: 8
Views: 21185

Re: GDI+ Just won't die

What is the snippet of code to use the GDI renderer for C++ ActiveX component? (instead of GDIPlus).

i.e. I want to set Chart canvas to GDI instead of the default which is GDIPlus in TChart2016 ActiveX

Regards
--nbp
by nbp
Wed Dec 07, 2016 10:32 pm
Forum: ActiveX
Topic: Application process is not terminated
Replies: 18
Views: 49690

Re: Application process is not terminated

Has this issue been fixed in v2016 (the latest release)?

--nbp.
by nbp
Wed Nov 30, 2016 12:42 am
Forum: ActiveX
Topic: Application still running in Task Manager after exiting
Replies: 3
Views: 12491

Application still running in Task Manager after exiting

We are experiencing a problem with TChart2015.ocx that we did not experience with our previous version TChart7.ocx We create charts dynamically at runtime with the following piece of code: CTChart* pChart = new CTChart(); We are using Visual Studio 2013, C++. When our application exits, we find that...
by nbp
Thu Oct 27, 2016 8:19 pm
Forum: ActiveX
Topic: Exporting selected series to Excel
Replies: 8
Views: 29339

Exporting selected series to Excel

I'm using TChart2015.ocx with C++ interface.

I want to export only a few of the line series on my chart to excel, not all of them. Is that possible? Also, I want to have just 1 column for X and multiple columns for my Y values. Is there an example that I can see to do this?

Regards
nbp.
by nbp
Tue Oct 18, 2016 9:32 pm
Forum: ActiveX
Topic: TChart Canvas: Adding a line with an arrow
Replies: 1
Views: 8996

TChart Canvas: Adding a line with an arrow

Is there a method to add a line with an arrow to the TChart Canvas? I'm adding a line with the Canvas.MoveTo() and Canvas.LineTo() calls but how do I add a line with an arrow?
by nbp
Tue Oct 18, 2016 8:44 pm
Forum: ActiveX
Topic: Dispatch IDs for events generated by TChart
Replies: 6
Views: 20877

Re: Dispatch IDs for events generated by TChart

How can I add an event for the OnSeriesClick Event? i.e. I need the Dispatch ID for this event and the line to add for the event handler inside of the BEGIN_EVENTSINK_MAP and END_EVENTSINK_MAP with the reference to my earlier post in this thread. i.e. what would be the line for the OnSeriesClick eve...