Hi there,
I've just upgraded to V2 of Tchart.net. my V1 application allowed users to create series by droping a value onto the tchart listbox, However after the upgrade to V2 it appears that the dragover events for both the chart and listbox aren't being triggered. Is this a problem or am I missing something?
drag over events for Tchart.net V2 chart and list
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Adrian,
I've been able to reproduce what you reported but only for chartListBox, it worked fine for tChart. I've already added this bug (TV52010728) to our deffect list to be fixed for future releases.
I've been able to reproduce what you reported but only for chartListBox, it worked fine for tChart. I've already added this bug (TV52010728) to our deffect 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 |
Instructions - How to post in this forum |
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Adrian,
It has already been fixed for next v2 maintenance release. With this fix, the code below will work fine:
It has already been fixed for next v2 maintenance release. With this fix, the code below will work fine:
Code: Select all
private void Form1_Load(object sender, System.EventArgs e)
{
this.chartListBox1.Chart = tChart1;
}
private void button1_MouseDown(object sender, System.Windows.Forms.MouseEventArgs e)
{
button1.DoDragDrop(new Steema.TeeChart.Styles.Bar(), DragDropEffects.Move);
}
private void chartListBox1_DragEnter(object sender, System.Windows.Forms.DragEventArgs e)
{
if (e.Data.GetDataPresent(typeof(Steema.TeeChart.Styles.Bar)))
e.Effect = DragDropEffects.Move;
else
e.Effect = DragDropEffects.None;
}
private void chartListBox1_DragDrop(object sender, System.Windows.Forms.DragEventArgs e)
{
tChart1.Series.Add(e.Data.GetData(typeof(Steema.TeeChart.Styles.Bar)) as Steema.TeeChart.Styles.Bar);
tChart1[tChart1.Series.Count - 1].FillSampleValues();
}
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
drag over events for Tchart.net V2 chart and list
Thanks Narcis,
Can you give me an idea when the V2 maintenance release will be avaialble?
thanks..
Can you give me an idea when the V2 maintenance release will be avaialble?
thanks..
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Adrian,
Sorry but I can't give you a date. However, considering our policy which aproximately consists on 3 maintenance releases and a major release every year, and that v2 was released about 2 weeks ago, you may expect the next maintenance release in about 3 months.
Sorry but I can't give you a date. However, considering our policy which aproximately consists on 3 maintenance releases and a major release every year, and that v2 was released about 2 weeks ago, you may expect the next maintenance release in about 3 months.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |