Search found 46 matches

by Guilz
Thu Nov 25, 2010 5:19 pm
Forum: ActiveX
Topic: Display text and symbol information on a chart
Replies: 8
Views: 12774

Re: Display text and symbol information on a chart

Hi Sandra,

It is not working fine for me -
For Candle chart type, I would like to have less Marks for readability problem.
In fact .Marks.DrawEvery property does not work fine with candle type (see my picture to understand the problem)

Regards,

Guilz
by Guilz
Thu Nov 25, 2010 2:52 pm
Forum: ActiveX
Topic: Display text and symbol information on a chart
Replies: 8
Views: 12774

Re: Display text and symbol information on a chart

I have an another issue with marks: We use marks on chart and create function to let space between marks (for readability problem) marks00.png But on Candle Chart we would like to have the same logic with only 1 mark (Open, Close, High, Low and corresponding date) and not one mark for Open one mark ...
by Guilz
Thu Nov 25, 2010 12:01 pm
Forum: ActiveX
Topic: Display text and symbol information on a chart
Replies: 8
Views: 12774

Re: Display text and symbol information on a chart

Hi Yeray,

It is working like a charm, as usual :wink:

Thanks a lot

Regards,

Guilz
by Guilz
Thu Nov 25, 2010 10:15 am
Forum: ActiveX
Topic: Display text and symbol information on a chart
Replies: 8
Views: 12774

Display text and symbol information on a chart

Hi Teechart support Team, 2 questions: 1 - How can I change Mark text without using _OnGetSeriesMark method (I would like to change mark text for 1 serie not for all my series) ? With AxTChart.Series(AxTChart.SeriesCount - 1).Marks.Item(nbMarks) End With ->but unfortunately the .Text property is rea...
by Guilz
Tue Nov 02, 2010 4:21 pm
Forum: ActiveX
Topic: Calculated serie
Replies: 5
Views: 7645

Re: Calculated serie

Hi Sandra, I am sorry but your example is not what I am looking for (I would like to work with 3 series as input and create the result serie using the function : Serie0 = (Serie1+(0.15*Serie2)-0.25*Serie3)/2 in my example TChart1.Series(1).FillSampleValues 15 TChart1.Series(2).FillSampleValues 10 TC...
by Guilz
Tue Nov 02, 2010 2:16 pm
Forum: ActiveX
Topic: Calculated serie
Replies: 5
Views: 7645

Re: Calculated serie

Hi Narcis, I am afraid the example is not very helpful - I like to do this by code and I do not find any example of creating custom function yet. In the code given as example: Private Sub TChart1_OnFunctionCalculate(ByVal SeriesIndex As Long, ByVal X As Double, Y As Double) Y = Sin(X / 10) End Sub I...
by Guilz
Tue Nov 02, 2010 1:19 pm
Forum: ActiveX
Topic: Calculated serie
Replies: 5
Views: 7645

Calculated serie

Hi, How can I chart a serie, defined by a function based on others series ? For example: I have 3 series (each serie does not have the same number of points). I would like to chart Serie4 = (Serie1+(0.15*Serie2)-0.25*Serie3)/2 If series 1 2 3 are updated (new points added), Serie4 must reflect chang...
by Guilz
Fri Oct 15, 2010 9:18 am
Forum: ActiveX
Topic: Nice Moving Average Curve
Replies: 3
Views: 6711

Re: Nice Moving Average Curve

Hi Narcis,

I try what you suggest but the result is not fantastic (not a lot difference between smooth serie based on moving average serie and the moving average serie)
changing factor of smooth serie as not a big impact...
smooth2.jpg
smooth2.jpg (104.55 KiB) Viewed 7099 times
Guilz
by Guilz
Thu Oct 14, 2010 2:49 pm
Forum: ActiveX
Topic: Nice Moving Average Curve
Replies: 3
Views: 6711

Nice Moving Average Curve

Hi, I use some Teechart function based on main serie (like Moving Average). I use the anti-aliasing tools to render. But the result on moving average is not so good, the result is not a nice curve...How can I obtain a nice moving average curve ? I hope my sample is more clear than my words :D smooth...
by Guilz
Thu Oct 14, 2010 9:16 am
Forum: ActiveX
Topic: Finding optimal Min Max Axis after zooming
Replies: 8
Views: 11037

Re: Finding optimal Min Max Axis after zooming

Hi Yeray, Thanks a lot for your reply - it is working like a charm :wink: In my case, I have added the code bellow at the begining of TChart1_OnZoom procedure If TChart1.Zoom.Direction = tzdHorizontal Then MouseDownY = TChart1.Axis.Left.IStartPos MouseUpY = TChart1.Axis.Left.IEndPos End If to ensure...
by Guilz
Wed Oct 13, 2010 1:11 pm
Forum: ActiveX
Topic: Finding optimal Min Max Axis after zooming
Replies: 8
Views: 11037

Re: Finding optimal Min Max Axis after zooming

Yeray, I'm afraid Zoomed Event does not exist in Teechart v8.... Could you give us a sample code in VB to do that because the topic is confusing... (A simple example with 2 differents axis (left and right) and 1 serie associated to right axis and another one to left axis) with the method to fit exac...
by Guilz
Wed Oct 13, 2010 9:45 am
Forum: ActiveX
Topic: Finding optimal Min Max Axis after zooming
Replies: 8
Views: 11037

Re: Finding optimal Min Max Axis after zooming

Hi Yeray, AxTChart.Environment.InternalRepaint is working fine with 1 serie but... let's consider my new example: zoom02.jpg Private Sub AxTChart_OnZoom(ByVal sender As Object, ByVal e As System.EventArgs) Handles AxTChart.OnZoom Dim Min As Double = 99999999 Dim Max As Double = -99999999 AxTChart.En...
by Guilz
Tue Oct 12, 2010 12:48 pm
Forum: ActiveX
Topic: Finding optimal Min Max Axis after zooming
Replies: 8
Views: 11037

Finding optimal Min Max Axis after zooming

Hi, How can I implement a function to find optimal min max axis after zooming ? I use SetMinMax function but it does not work, the max value of my serie (for current zoom range) is not on the top of the max axis Private Sub AxTChart_OnZoom(ByVal sender As Object, ByVal e As System.EventArgs) Handles...
by Guilz
Mon Sep 27, 2010 6:45 am
Forum: ActiveX
Topic: Changing band color
Replies: 2
Views: 5140

Re: Changing band color

Thanks Yeray, it is exactly what I was looking for :wink:

Guilz
by Guilz
Fri Sep 24, 2010 1:32 pm
Forum: ActiveX
Topic: Changing band color
Replies: 2
Views: 5140

Changing band color

hi,

I'd like to set/change color band in Fast Line Serie. How can i do that ? Where is this property in the Teechart editor ?
changing.jpg
changing.jpg (56.39 KiB) Viewed 5335 times
In my sample it is not a Fast Line serie but I would like do the same in a Fast Line serie

Thanks a lot for your help

Guilz