Hi,
I am using a 2D Column Chart to show highest and lowest price of our Products. I need to overlap the price columns and show it is as a single column,
lowest price merged inside highest price column as we overlap in Excel.
Is it possible in 2D Column Chart ? If so, Which property helps to set the overlap option?
Hello,
When the chart Data is Clicked it returns the same row index value for all the columns i clicked on Chart.
May I know where I should correct for this ?
Hi Rithanya,
Thank you for posting in our forum.
I would suggest that you handle the FillSceneGraph event of the chart, get the box primitives, access the chart bar you want to overlap and change its X property to move it on top of the other column.
protected void UltraChart1_FillSceneGraph(object sender, Infragistics.UltraChart.Shared.Events.FillSceneGraphEventArgs e)
{
foreach (Primitive p in e.SceneGraph)
Box box = p as Box;
if (box != null)
box.rect.X -= 50;
}
You could check the following threads, which could be of help : http://blogs.infragistics.com/forums/p/65492/331500.aspx, http://forums.infragistics.com/forums/p/64468/329958.aspx.
The DataRow returns the index of the row in the datasource, or series index. In your case I guess you have only one row in the datasource or one item in the series collection.
If you have any other questions, please feel free to contact me.