MarksTip does not seem to work with ColorGrid
Posted: Mon Feb 21, 2005 1:41 pm
When creating a ColorGrid and assigning a new MarkTips object to the series i would expect the Tip to be shown either on MouseClick or on MouseOver event. The case is that nothing happens. Am i missing something.
<snip>
namespace WindowsApplication1
{
partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private Steema.TeeChart.TChart m_chart;
private Steema.TeeChart.Styles.ColorGrid m_colorGrid;
private Steema.TeeChart.Tools.MarksTip m_marksTip;
private void Form1_Load(object sender, EventArgs e)
{
this.m_chart = new Steema.TeeChart.TChart();
this.m_colorGrid = new Steema.TeeChart.Styles.ColorGrid(this.m_chart.Chart);
this.m_marksTip = new Steema.TeeChart.Tools.MarksTip(this.m_chart.Chart);
this.m_marksTip.Series = m_colorGrid;
this.m_marksTip.MouseAction = Steema.TeeChart.Tools.MarksTipMouseAction.Click;
this.m_marksTip.Style = Steema.TeeChart.Styles.MarksStyles.Value;
m_colorGrid.FillSampleValues(10);
this.Controls.Add(this.m_chart);
}
}
}
<snap>
Versions:
* VS 2005 Whidbey
* TeeChart 1.1.1864.22788
any help would be appreciated
regards christoph
<snip>
namespace WindowsApplication1
{
partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private Steema.TeeChart.TChart m_chart;
private Steema.TeeChart.Styles.ColorGrid m_colorGrid;
private Steema.TeeChart.Tools.MarksTip m_marksTip;
private void Form1_Load(object sender, EventArgs e)
{
this.m_chart = new Steema.TeeChart.TChart();
this.m_colorGrid = new Steema.TeeChart.Styles.ColorGrid(this.m_chart.Chart);
this.m_marksTip = new Steema.TeeChart.Tools.MarksTip(this.m_chart.Chart);
this.m_marksTip.Series = m_colorGrid;
this.m_marksTip.MouseAction = Steema.TeeChart.Tools.MarksTipMouseAction.Click;
this.m_marksTip.Style = Steema.TeeChart.Styles.MarksStyles.Value;
m_colorGrid.FillSampleValues(10);
this.Controls.Add(this.m_chart);
}
}
}
<snap>
Versions:
* VS 2005 Whidbey
* TeeChart 1.1.1864.22788
any help would be appreciated
regards christoph