Hiding the vertical axis
Hiding the vertical axis
if there is no data on the vertical axis, i would like to hide the title. how can i do that?
Hi usc
I've supposed that you want to hide the left axis, you can do it as below line:
I've supposed that you want to hide the left axis, you can do it as below line:
Code: Select all
tChart1.Axes.Left.Visible = false;
Hi Edu
With reference the the image [img]Chart_Legend[/img].
I have a custom axis on the left along with the left axis. If you check the image, I have a checked list box of plot groups in the right hand side of the screen.Each plot group corresponds to a set of series and also the custom axis depends upon the series which is visible.
When I select a group, if it corresponds to a series which requires the second left axis to displayed then I should make it visible.Also If I uncheck any of the groups then it should be made invisible.
The problem I am facing is how to check whether the custom axis is bound to any data or any series is visible which corresponds to the custom axis.
I hope I have made my requirement more detailed and clear.
regards
usc
With reference the the image [img]Chart_Legend[/img].
I have a custom axis on the left along with the left axis. If you check the image, I have a checked list box of plot groups in the right hand side of the screen.Each plot group corresponds to a set of series and also the custom axis depends upon the series which is visible.
When I select a group, if it corresponds to a series which requires the second left axis to displayed then I should make it visible.Also If I uncheck any of the groups then it should be made invisible.
The problem I am facing is how to check whether the custom axis is bound to any data or any series is visible which corresponds to the custom axis.
I hope I have made my requirement more detailed and clear.
regards
usc
Hi usc
You can post your files either at [url]news://www.steema.net/steema.public.attachments[/url] newsgroup or at our upload page
Please let us know when you have posted it.
Thanks in advance
We can't see the image, could you please send us it?With reference the the image [img]Chart_Legend[/img].
You can post your files either at [url]news://www.steema.net/steema.public.attachments[/url] newsgroup or at our upload page
Please let us know when you have posted it.
Thanks in advance
Hi usc
You can know the associates axis to each series, with GetVertAxis and GetHorizAxis properties, you can do something similar as below code:The problem I am facing is how to check whether the custom axis is bound to any data or any series is visible which corresponds to the custom axis.
Code: Select all
if (line2.Visible)
{
Axis a = line2.GetVertAxis;
//your code...
}