I have a Ultrachart with two chart areas (i.e. Line and Gantt) with up to three layers in totalTwo layers on the Line chart and one on the Gantt chartI am trying to hide the AxisX (or it's labels) in the line chart but show them in the Gantt.I try to do the followinguchartPersonChart.CompositeChart.ChartLayers(0).AxisX.Labels.Visible = False uchartPersonChart.CompositeChart.ChartLayers(1).AxisX.Labels.Visible = False uchartPersonChart.CompositeChart.ChartLayers(2).AxisX.Labels.Visible = Truebut as soon the last line above is executed all AxisX or AxisX labels are visible.Any suggestions please?
Hello skalyniuk,
Thanks for your response. I`m glad to hear that you solved your task.
Nevertheless, of this solution, I have sent this "Product Idea" directly to our product management team. Our product team chooses new ideas for development based on popular feedback from our customer base. Infragistics continues to monitor application development for all of our products, so as trends appear in requested features, we can plan accordingly. We value your input, and our philosophy is to enhance our toolset based on customer feedback. If your idea is chosen for development, you will be notified at that time. Your reference number for this product idea is PI12100075. If you would like to follow up on your request at a later point, you may contact Developer Support management via email. Please include the reference number of your product idea in the subject and body of your email message. You can reach Developer Support management through the following email address: dsmanager@infragistics.com
If you have any questions. do not hesitate to write us
Regards
Hi Georgi
I have resolved this now. I am adding new rows and columns to the data table so that I can add two new series to the chart. The new series are called "AlignBegin" and "AlignEnd" they are added when the user is going to display two chart areas. So far in my testing this has resolved the issue. Thank you
skalyniuk
Here is the non aligned jpg. please refer to my prior post for more detail - thank you
Thank you for the sample, I appreciate you taking the time to put this together and I will study it in more detail.
However, I am hoping that you can help me with what currently seems to be happening.
I have added the separate AxisX to the two chart areas as per you earlier suggestion and I can now hide the AxisX independently of each other (thanks).
On the first pass through loading the two chart areas, they align and scrolling and scaling appears to work fine, Please see the attached jpg file called Aligned
However, on a second load of the data, if the user has specified fewer items for the top line chart and the date range for the smaller data set causes there to be less data in the series, the first and last data labels (min and max dates or start and end dates) on the AxisX are different in the two areas and the areas no longer align and scrolling and scaling is therefore out of whack.
It seems to me that I need to find some means of instructing both AxisX in the two areas that they have the same Start and End dates, regardless of what data there is in the series. This seems to work in the jpg file called Aligned as even though the line data data ends in later 2012, the last date is on the AxisX is 01 Jan 2013 and there is a gap between the lat series data and the last date (as expected) . However in the Nonaligned jpg the AxisX dates don't align.This is because there are fewer series and less data in the line chart.
The other option is to not try to "cut off" the dates but to get the dates to align some other way. This would be preferable but I don't see how. I hope that this makes sense and thanks for your on-going help
I will have to do another post as it seems that I can only upload one file per post.
Here is the sample