I have composite column chart with two series, but I am not able to achieve:
1. to highlight the lables on x axis when the mouse hover over the column
2. to increase the space between columns
3. to highlight the series in the legend when hover over the column bar
4. to show a tooltip on the items in the legend
Please provide a sample to resolve it.
Thank you.
Essna
Hello,
I am just checking about the progress of this issue. Let me know If you need my further assistance on this issue?
Thank you for using Infragistics Components
Hello,
Thank you for the provided image . I have double check about required functionality and I found that column series are not designed to be aligned as the way you shown. You could achieve such look, if you rearrange columns in FillSceneGraph event of the chart. Also you need to add column layer for each series that you want to display, in order to fit columns of the new series between columns of the previous series. I’ve modified my sample in order to demonstrate you this approach and I hope that it will helps you. Please feel free to modify my sample based on your custom needs.
Thank you for using Infragistics Components.
Thank you for the sample, but you misunderstood my requirements. What I want is shown on the second image. See the space between two columns from series 1 and series 2 and also the space between groups of columns with different colors
Thank you for your further clarification. For multiple series you should check primitives only by their Column element, so you should modify second if() clauses in ChartDrawItem event and it should looks like:
if (latestP != null && e.Primitive.Column == latestP.Column)
About ColumnSpacing, obviously this property works, and on your screenshot is shown that column spacing was increased to one column gap. If this property didn’t work, then the columns of each series will be glued to each other. So maybe you want to manage SeriesSpacing . So please clarify what you meant by “to increase the space between columns”. How the columns should appear before and after “increase space between columns ”.
About the tooltip, you could IRenderLaable interface in order to switch between Item Label and Data Value depends on which element customer was hovered.
I’ve implemented my suggestion to my sample, and I really hope that it will helps you.
Please let me know if you have any further questions.
Any news ?