Hi,
I have few issues. Please find attached the sample for your reference.
1.) How can I set the width of the rectangle through code? I want to give it configurable to user.
2.) The ToolTip I want to show on the rectangle is showing wrong color. How? Can we set it as per the rectangle?
3.) This is a tricky one. In my original application, sometimes the grid line at '0' is not showing. And since the positive and negative columns cross at '0', this grid line should always be visible. Furthermore, we want this line color to be black & bold as and if needed.
4.) Why is the Y-Axis line not visible in the attached sample?
Please explain these things briefly for better understanding of the internal architecture & interactions of the controls.
Thanks & Regards
Hi Rob,
Please let me know if you need further assistance. Thank you!
Best Regards,
Nelly Tacheva
Infragistics, Inc.
Please find attached a sample that demonstrates how to:
1.) Set the tooltip template to use the color of the column.
4.) Add gradient effect to both the columns and the tooltips.
Below are the answers to your other questions:
2.) Unfortunately, the width of the columns cannot be set currently. It can be adjusted setting the Gap property. If the Gap is set to 0, the columns will be next to each other and have bigger width. If the Gap is set to 0.5, the columns will have smaller width and some space between them. The calculations of the columns' width is done automatically.
3.) The overlay does not have a label. In order to show the 0 grid line, you need to adjust the MinimumValue, MaximumValue and Interval on the Y axis. Then you will have the label but will not have the ability to change only that grid line's color and thickness which you have with the overlay.
Hope that helps!
Hello Nelly,
I am waiting for your reply for the last 2 days. Its the first time Infragistics support just talked and not helped with the sample even when a user has asked for and added the same.
I don't know what's wrong. I am expecting your reply with a sample this time.
Regards,
Rob
Hi Nelly,
I was able to set the overlay and the stroke and stroke thickness property solved my issue with y-axis. Thanks for that.
But still I can't:
1.) Set tooltip template to either show the color of the rectangle (recommended) or just rid of the color part. I would like to know how to do both.
2.) Cannot adjust with width of columns even by changing gap value of the series.
3.) Overlay line is fine but need to show the label as well. (Not so important if it needs to interfere with axis template or something deep)
4.) Add gradient effect in the color of column/rectangles.
I have updated my earlier sample with what I was able to accomplish. Please update it with these requirements for better understanding.
Please find below the answers to your questions.
1.) You can adjust the columns' width by changing the Gap property. There is currently no way to set a pixel width to the columns.
2.) The ToolTip shows the color of the series. You can change that by customizing the ToolTip's template.
3.) You can add ValueOverlay and change its color, etc. and set its value to 0 for the Y axis. That would not display the label though. Another approach would be to adjust the MinimumValue, MaximumValue and Interval on the Y axis.
4.) You have to assign the Stroke and the StrokeThickness properties to the Y axis in order to have it displayed.
Hope that helps! Thank you!