Hello, is it possible to change the Y-axis title dynamically? I am using the same chart to display different data from various tables.
If you mean you just want to change the title on the left, then that can be done simply by changing the TitleLeft.Text field, like so:
UltraChart1.TitleLeft.Text = "Changed!";
You can also get fancier and tweak other things about the TitleLeft member to get things to your liking. Hope this helps.
-Paul
Thanks. to change the title on left, dynamically. ie i am using the same column chart to display from different stored procedures depending on what link the user clicks. Now, when the chart calls say SP1, it brings back certain data...now my question is can the chart also bring back the column names to display on the title left and bottom ? Similarly, can the chart do the same for all the stored procedures whichever is called?
From what I understand you have a stored procedure that takes some parameters, and returns the data for the chart. What I don't understand is why you cannot modify the stored procedure to also return a couple of strings that represent the TitleLeft and TitleBottom display. If you want you could avoid the stored procedure and just make a query to get the titles. I don't fully understand what the problem facing you is, but please let me know whether if I'm on the mark and you just need some sample code, or if I'm (hopefully not) answering something unrelated. Good luck, -Paul