Search found 18 matches

by yvb
Tue May 15, 2012 11:49 am
Forum: ActiveX
Topic: Calling TeeChart Pro 8 ActiveX from .NET application
Replies: 1
Views: 5583

Calling TeeChart Pro 8 ActiveX from .NET application

Hi,
I am working with TeeChart Pro 8 ActiveX. I called the TeeChart functions froman MFC appliction in VS 2008.
How do I call the TeeChart functions from .NET (WPF) application?
Is there a way to do it directly or do I need some wropper?
Thanks,
yvb
by yvb
Thu Mar 03, 2011 7:08 am
Forum: ActiveX
Topic: Legend shows wrong colors for Surface Series
Replies: 7
Views: 12483

Re: Legend shows wrong colors for Surface Series

Hi,
Thanks Sandra, everything works now in my application.

Best regards,
yvb
by yvb
Wed Feb 23, 2011 2:51 pm
Forum: ActiveX
Topic: Legend shows wrong colors for Surface Series
Replies: 7
Views: 12483

Re: Legend shows wrong colors for Surface Series

Attached is the file containing the solution in VS 2008 of my code. I switched to TeeCahrt pro v8.0.0.8. But it didn’t help. When executing to application click the “Test 3D Compact” button from the dialogue window. The code using TChart is in CTchartDisplay::test3D_Compact() and CTchartDisplay::OnA...
by yvb
Wed Feb 23, 2011 7:48 am
Forum: ActiveX
Topic: Legend shows wrong colors for Surface Series
Replies: 7
Views: 12483

Re: Legend shows wrong colors for Surface Series

Hi Sandra,
I prepared a project using TeeChart pro v8.0.0.8. The problem was not solved.
How do I send the project to you? I don't see any possibility for an attachemnt here.
Thanks,
yvb
by yvb
Tue Feb 22, 2011 7:38 am
Forum: ActiveX
Topic: Axis GetPOstion() returns 0 and more
Replies: 3
Views: 6763

Re: Axis GetPOstion() returns 0 and more

Hi Sandra,
Thanks. It works.
yvb
by yvb
Thu Feb 17, 2011 1:07 pm
Forum: ActiveX
Topic: Axis GetPOstion() returns 0 and more
Replies: 3
Views: 6763

Axis GetPOstion() returns 0 and more

Hi, I am using TeeChart pro V8.0.0.6 Version v Active x, C++. The following code draws the chart, axis and series as expected. The values of leftPos, bottomPos and topPos which use the axis GetPosition() function get 0 values. Why? chartCenter, ChartWidth and canvasLeft get 0 value as well. Why? Dra...
by yvb
Tue Feb 15, 2011 1:03 pm
Forum: ActiveX
Topic: Legend shows wrong colors for Surface Series
Replies: 7
Views: 12483

Legend shows wrong colors for Surface Series

Hi, I am using TeeChart pro V8.0.0.6 Version v Active x, C++. I am trying to use 3D Surface Series with my own pallets. as described in the code bellow. The problem is that the surface colors are correct in the plot, but the legend shows the correct values(1,11,21,31) as defined in the calls to AddP...
by yvb
Sun Feb 21, 2010 2:41 pm
Forum: ActiveX
Topic: Exception calling GetAsGauge().GetXRadius()
Replies: 1
Views: 4429

Exception calling GetAsGauge().GetXRadius()

Hi, When working with Gauge series I have the following line: long lXradius = m_Chart.Series(0).GetAsGauge().GetXRadius(); I can't get a value for lXradius. Using debugger, stepping over this call, I get an excedption in: file oledisp1.cpp, in function: CCmdTarget::CallMemberFunc(const AFX_DISPMAP_E...
by yvb
Sun Feb 21, 2010 1:37 pm
Forum: ActiveX
Topic: Getting hand pixels values using gauge series
Replies: 1
Views: 4447

Getting hand pixels values using gauge series

Hi,
I am using Guage series. After diplaying a value by using:
m_Chart.Series(m_lSeriesId).AddXY(...) I see the hand in a specific correct postion pointing to value.

I would like to get the pixels coordinates of the end point of the hand.
How can I get it?

Thanks,
yvb
by yvb
Tue Jan 12, 2010 6:05 am
Forum: ActiveX
Topic: Defining text labes in GuageSeries
Replies: 3
Views: 6085

Re: Defining text labes in GuageSeries

Hi Yeray,
Thanks for the quick respond.
I thought that here is a way to do this using the specific axis of the GaugeSeries.
I am using the scGauge.

Thanks.
by yvb
Mon Jan 11, 2010 2:05 pm
Forum: ActiveX
Topic: SetRotationAngle(150) - Member not found
Replies: 2
Views: 5017

SetRotationAngle(150) - Member not found

Hi,
When executing the code:
_Chart.Series(0).GetAsGauge().SetRotationAngle(150);
I get the error message: "Member not found"
Why?
Is there another way to get the same results?

Thank you
by yvb
Mon Jan 11, 2010 1:06 pm
Forum: ActiveX
Topic: Defining text labes in GuageSeries
Replies: 3
Views: 6085

Defining text labes in GuageSeries

When using XY type seies as line it is possible to define your own labels by something like: m_Chart.GetAxis().GetBottom().GetLabels().Clear(); m_Chart.GetAxis().GetBottom().GetLabels().Add(1.0,"A"); m_Chart.GetAxis().GetBottom().GetLabels().Add(2.0,"B"); Is there a way to do something similar when ...
by yvb
Thu Dec 17, 2009 1:44 pm
Forum: ActiveX
Topic: Coorection - Problems resizing window when SetAutomatic(fals
Replies: 1
Views: 4197

Coorection - Problems resizing window when SetAutomatic(fals

Hi,
Sorry for the mistake. Of course troword the end it is:

The only way to avoid the overlap and reduce the number of displayed labels is to set:
SetAutomatic(true)

Thanks a lot
by yvb
Thu Dec 17, 2009 1:36 pm
Forum: ActiveX
Topic: Problems resizing window when SetAutomatic(false)
Replies: 1
Views: 4526

Problems resizing window when SetAutomatic(false)

Hi, I am working with TeeChart Pro 8 ActiveX. I am setting my own labels and the increment for the left label by myself. I have 11 labels on the axis. For this to be effective so I can see in the chart the text I assigned to the labels I realized that I must have in my code: m_Chart.GetAxis().GetLef...
by yvb
Thu Dec 03, 2009 1:45 pm
Forum: ActiveX
Topic: IDownSamplingFunction for decimal x values
Replies: 2
Views: 5290

IDownSamplingFunction for decimal x values

Hi, I am using TeeChart pro V8.0.0.6 Version v Active x, underC++ I am trying to limit thenumber of points dispalyed by using IDownSamplingFunction with the dsMinMax method: m_Chart.Series(1).SetFunction(tfDownSampleFun); m_Chart.Series(1).GetFunctionType().GetAsDownSampling().SetDownSampleMethod(ds...