Legend scroll bar issue
Posted: Thu Jun 21, 2012 1:20 pm
Hi,
There is some issue I am facing with Legend scroll bar, which I want to share with you. I am using ActiveX TeechartX7 while I am trying to add Legend scrollbar and try to set its property it show error dialog.
Code written to add Legend scroll bar is as follows:
m_chart1.GetTools().Add(tcLegendScrollBar);
m_chart1.GetTools().GetItems(0).GetAsLegendScrollBar().SetDrawStyle(dsWhenNeeded);
It would be very kind of you if you could suggest me with a better option to do so.
Regards,
Amol
There is some issue I am facing with Legend scroll bar, which I want to share with you. I am using ActiveX TeechartX7 while I am trying to add Legend scrollbar and try to set its property it show error dialog.
Code written to add Legend scroll bar is as follows:
m_chart1.GetTools().Add(tcLegendScrollBar);
m_chart1.GetTools().GetItems(0).GetAsLegendScrollBar().SetDrawStyle(dsWhenNeeded);
It would be very kind of you if you could suggest me with a better option to do so.
Regards,
Amol