Hi,
Could you please let me know when the teechart will support the series type of Cubic Spline instead of function. Otherwise I have to search some other chart tool which support the drawing the smooth line. Please reply as early as possible. I am stuck with this requirement. I am happy with the other featurs of the teechart. I expecting a positive reply.
Regards,
Rama
Drawing cubic spline curve
Hi Rama,
I'm sorry, I cannot tell for sure when will be implemented. It's on our wish list but it's not a date fixed.
I'm sorry, I cannot tell for sure when will be implemented. It's on our wish list but it's not a date fixed.
Pep Jorge
http://support.steema.com
http://support.steema.com
HI,
I followed the work around adviced by you till now. It is working. But I am setting the Legend.CheckBoxes = True. So If user uncheks a series, it is hiding the smoothing line only. The data points of "Sereies0"are still visble.
Is there a event handler to capture the checking and uncking the legend checkbox.Please let me if any.
Regards,
Rama
I followed the work around adviced by you till now. It is working. But I am setting the Legend.CheckBoxes = True. So If user uncheks a series, it is hiding the smoothing line only. The data points of "Sereies0"are still visble.
Is there a event handler to capture the checking and uncking the legend checkbox.Please let me if any.
Regards,
Rama
Hi Rama,
You can know when anyone has been checked or unchecked looking if the Series are Active or not , using similar code to the following :Is there a event handler to capture the checking and uncking the legend checkbox.Please let me if any.
Code: Select all
Private Sub TChart1_OnBeforeDrawSeries()
If TChart1.Series(0).Active = False Then
MsgBox ("Series(0) is not Actived")
End If
End Sub
Pep Jorge
http://support.steema.com
http://support.steema.com
Hi,
Thanks for your reply. But It is not useful. In my case I may have 5 to 7 series. User can check or uncheck the any checkbox in the legend. For example user uncks the "Series0", "Sereies3","Series4" and then check the "Sereies3". I need to get the information which series checkbox is unchecked. I need to get the unchecked series number. I want to know the series number of a unchecked checkbox in the legend.
In the TChart1_OnBeforeDrawSeries event is not providing any information. I searched in the forum for any similar kid of question. I found two queries. But the solutions are not solving the problem. Could you please give me a example, if possible.
Regards,
Rama
Thanks for your reply. But It is not useful. In my case I may have 5 to 7 series. User can check or uncheck the any checkbox in the legend. For example user uncks the "Series0", "Sereies3","Series4" and then check the "Sereies3". I need to get the information which series checkbox is unchecked. I need to get the unchecked series number. I want to know the series number of a unchecked checkbox in the legend.
In the TChart1_OnBeforeDrawSeries event is not providing any information. I searched in the forum for any similar kid of question. I found two queries. But the solutions are not solving the problem. Could you please give me a example, if possible.
Regards,
Rama
Hi Rama,
you could know all information using similar code to the following :
And also, in case you want to know which individual Series has been checked or unchecked every time you click then you will have to save the info and compare it.
you could know all information using similar code to the following :
Code: Select all
Private Sub TChart1_OnBeforeDrawSeries()
Dim text As String
For i = 0 To TChart1.SeriesCount - 1
If TChart1.Series(i).Active = True Then
text = text & Chr(13) & TChart1.Series(i).Name & " Checked"
Else
text = text & Chr(13) & TChart1.Series(i).Name & " Unchecked"
End If
Next i
MsgBox text
End Sub
Pep Jorge
http://support.steema.com
http://support.steema.com