Hi,
Can you please let me know if there is any way to add tool tips to the chart subheader.
Thanks And Regards,
Mahadevan
Tooltip for chart subheader
Hello Mahadevan,
I suggest a solution for add Tooltips the chart subheader. Please check that next code works fine in your application:
InitializeChart:
MouseMove Event:
I hope that will helps,
Thanks
I suggest a solution for add Tooltips the chart subheader. Please check that next code works fine in your application:
InitializeChart:
Code: Select all
Steema.TeeChart.Styles.Bar bar;
private void InitializeChart()
{
bar = new Steema.TeeChart.Styles.Bar(tChart1.Chart);
bar.FillSampleValues();
tChart1.SubHeader.Text = "subheader";
tChart1.SubHeader.Visible = true;
tChart1.MouseMove += new MouseEventHandler(tChart1_MouseMove);
}
Code: Select all
void tChart1_MouseMove(object sender, MouseEventArgs e)
{
if (tChart1.SubHeader.Clicked(e.X, e.Y))
{
string tmpText = "my subheader hint! " + e.X.ToString() + ", " + e.Y.ToString();
if (tChart1.Chart.ToolTip.Text != tmpText)
{
tChart1.Chart.ToolTip.Text = tmpText;
tChart1.Chart.ToolTip.Show();
}
}
else
{
tChart1.Chart.ToolTip.Hide();
}
}
Thanks
Best Regards,
Sandra Pazos / 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 |
Re: Tooltip for chart subheader
Hello Sandra,
I am looking for a way to add tooltips to the chart subheader in a web application and not windows application.
Can you please let me know if that is possible?
Thanks And Regards,
Mahadevan
I am looking for a way to add tooltips to the chart subheader in a web application and not windows application.
Can you please let me know if that is possible?
Thanks And Regards,
Mahadevan
Re: Tooltip for chart subheader
Hello Mahadevan,
I recomend that see next link, that explains as add toolTips using webControll in asp.
I hope will helps,
Thanks
I recomend that see next link, that explains as add toolTips using webControll in asp.
I hope will helps,
Thanks
Best Regards,
Sandra Pazos / 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 |
Re: Tooltip for chart subheader
Hello Sandra,
The link pointed out by you refers to using tooltips for server controls.
In this case TeeChart is the Control,if I enable tooltip on that it would be shown on the entire Chart if i am not
mistaken.
My question is about displaying the tooltips on the SubHeader part of the TeeChart.
I am looking for something similar in functionality to the code posted by you for windows application for web applications.
Thanks And Regards,
Mahadevan
The link pointed out by you refers to using tooltips for server controls.
In this case TeeChart is the Control,if I enable tooltip on that it would be shown on the entire Chart if i am not
mistaken.
My question is about displaying the tooltips on the SubHeader part of the TeeChart.
I am looking for something similar in functionality to the code posted by you for windows application for web applications.
Thanks And Regards,
Mahadevan
Re: Tooltip for chart subheader
Hello Mahadevan,
I'm sorry, but for now is not possible use ToolTips with WebChart and there is not other component that do something similar. I have added in feature request with number [TW77014315]to regardsin features versions of TeeChartFor .Net.
Thanks,
I'm sorry, but for now is not possible use ToolTips with WebChart and there is not other component that do something similar. I have added in feature request with number [TW77014315]to regardsin features versions of TeeChartFor .Net.
Thanks,
Best Regards,
Sandra Pazos / 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 |