Search found 9527 matches

by Yeray
Fri May 02, 2008 9:09 am
Forum: ActiveX
Topic: GetAsLine() -> Invalid Type Cast
Replies: 7
Views: 9962

Hi John, We think that probably the teechart wrapper classes that your project is trying to use are not up to date. So I recommend you to regenerate them. Here are the steps you should follow: - create a new dialog based project in mfc - From the VC++ v6 IDE select "Project":"Add to project":"Compon...
by Yeray
Fri May 02, 2008 8:24 am
Forum: ActiveX
Topic: Multiple Instancing of Internet Explorer
Replies: 21
Views: 26002

Hi rama,

As you say, this should be solved. Please, in order to discover what's happening, could you send us a simple example project we can run "as-is" to reproduce the problem here?

You can either post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.
by Yeray
Fri May 02, 2008 8:00 am
Forum: ActiveX
Topic: Legend box positioning
Replies: 6
Views: 9350

Hi Matt,

These properties give you the four legend corners:

Code: Select all

TChart1.Legend.ShapeBounds.Left
TChart1.Legend.ShapeBounds.Top
TChart1.Legend.ShapeBounds.Right
TChart1.Legend.ShapeBounds.Bottom
by Yeray
Tue Apr 29, 2008 8:11 am
Forum: ActiveX
Topic: custom Legend-like box
Replies: 1
Views: 3757

Hi adenin, It's strange, you should be able to use more than one annotation tool in the same chart. Here you have an example of how you could use several annotation tools and several rectangle tools aligned with the legend. Private Sub Form_Load() Dim i As Integer TChart1.AddSeries scLine TChart1.Se...
by Yeray
Tue Apr 29, 2008 7:42 am
Forum: ActiveX
Topic: Constant Y Value, large number of points
Replies: 4
Views: 8165

Hi nbp,

I'm glad to read that you solved it!
by Yeray
Mon Apr 28, 2008 9:06 am
Forum: VCL
Topic: Checking count of items in series after zoom
Replies: 3
Views: 5138

Hi guzial, Yes, there seems to be a bug for Gantt series because VisibleCount doesn't seem to return the correct value. I've added it to the wish list to be fixed in further releases (TV52013013). But here you have a workaround that works fine for me here: procedure TForm1.Chart1Zoom(Sender: TObject...
by Yeray
Mon Apr 28, 2008 8:20 am
Forum: ActiveX
Topic: Constant Y Value, large number of points
Replies: 4
Views: 8165

Hi nbp, I haven't been able to reproduce the problem here with v8.0.0.3. Please, could you send us a simple example project we can run "as-is" to reproduce it here? You can either post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page . And also, could you...
by Yeray
Mon Apr 21, 2008 11:14 am
Forum: VCL
Topic: Teechart 8 Pro and IntraWeb?
Replies: 12
Views: 17076

Hi Claus, Modifying a few lines from your project, according to my environment, it worked fine for me. And the error you get "Unit IWCompTeeChart was compiled with a different version" makes me think that you suffer some search path conflict. Please, ensure that the search path from where you instal...
by Yeray
Mon Apr 21, 2008 7:56 am
Forum: VCL
Topic: Teechart 8 Pro and IntraWeb?
Replies: 12
Views: 17076

Hi Claus,

Thank you for the project, but I think you got confused and sent us the wrong project. I only can see a QuickReport and a TQR in the form.

Could you please send it again?
by Yeray
Thu Apr 17, 2008 9:47 am
Forum: ActiveX
Topic: Don't display data when zooming
Replies: 10
Views: 13718

Hi Tuan, Thank you for the pictures. We've made a chart like yours with the following code: m_Chart1.GetAspect().SetView3D(false); long series1; series1 = m_Chart1.AddSeries(scLine); m_Chart1.Series(series1).GetXValues().SetOrder(loNone); m_Chart1.Series(series1).AddXY(1.08, 2.08, "", clTeeColor); m...
by Yeray
Thu Apr 17, 2008 8:26 am
Forum: ActiveX
Topic: Don't display data when zooming
Replies: 10
Views: 13718

Hi Tuan, We tried different ways to zoom to the point [-1.38, -2.38] and all them worked fine for us. We tried zooming with mouse and by code using SetMinMax function. And we tried also with 3D activated/deactivated, and with .pointer.visible true and false... Could you please modify the following c...
by Yeray
Thu Apr 17, 2008 8:00 am
Forum: ActiveX
Topic: function issues
Replies: 4
Views: 7224

Hi Matt,

When you have a source without repeated values, one should expect to have a NAN (Not A Number) return for mode function.

So, the best approach is to check series data if it makes sense to apply mode function before you pass it to the function.
by Yeray
Tue Apr 15, 2008 8:09 am
Forum: ActiveX
Topic: function issues
Replies: 4
Views: 7224

Hi Matt, In mathworks website, in the mode function description they say: "When there are multiple values occurring equally frequently, mode returns the smallest of those values" So, I suppose that when you have no repeated value, all frequencies are 0, and the smallest value of the series should be...
by Yeray
Mon Apr 14, 2008 9:49 am
Forum: VCL
Topic: Min / Max view in Bar Graph?
Replies: 1
Views: 5236

Hi Dominik,

I think you could use a line series to do this (with Pointer.Visible activated) with two points, for example. You could use two variables to store the global minimum and maximum, and modify XValue[0] or XValue[1] from you line series when those variables are updated.
by Yeray
Mon Apr 14, 2008 9:31 am
Forum: ActiveX
Topic: function issues
Replies: 4
Views: 7224

Hi Matt, I've tested the functions, and looking at the new features demo to see if they do what expected, and they seem to work fine. But note that some functions calculate percentages and other values really lower than source values and maybe that's why they seem to be 0. And that's why I've set th...