Axis, Legend and series editors

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Adrian
Advanced
Posts: 116
Joined: Thu Jun 23, 2005 4:00 am

Axis, Legend and series editors

Post by Adrian » Fri Oct 14, 2005 8:44 am

There seems to be some inconsistency with these editors. I use the click events to pop the editors. For Series I use the following code

Code: Select all

Private Sub tc_ClickSeries(ByVal sender As System.Object, ByVal s As Steema.TeeChart.Styles.Series, ByVal valueIndex As Integer, ByVal e As System.Windows.Forms.MouseEventArgs) Handles tc.ClickSeries
      Try
        Dim edt As New Steema.TeeChart.Editors.SeriesEditor
         edt.ShowModal(s)
      Catch ex As Exception
         m_control.Log.LogMsg(ex.Message, True, Constants.LOG_MESSAGE_TYPES.Error)
      End Try
   End Sub
This works fine and the editor is nice and compact. However; for the Axis and Legend editors there appears not to be a SHOWMODAL method so I have to use the following

Code: Select all

 Private Sub tc_ClickAxis(ByVal sender As System.Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles tc.ClickAxis
      Try
         Dim axis As Steema.TeeChart.Axis = sender
         Dim edt As New Steema.TeeChart.Editors.AxisEditor(axis, Me)
         Steema.TeeChart.Editors.EditorUtils.ShowFormModal(edt)
      Catch ex As Exception
         m_control.Log.LogMsg(ex.Message, True, Constants.LOG_MESSAGE_TYPES.Error)
      End Try
   End Sub
This also works correctly providing the AXIS editor however this editor seems to take on the size of the parent window and can't be resized. Can this be considered for correction in a not to distant release.

Ta.

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Fri Oct 14, 2005 9:34 am

Hi Adrian,

Yes, I've been able to reproduce it and have added this issue (TF02011010) to our defect list to be fixed for future releases.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply