Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
395
Gantt: FillSceneGraph not raised at end of chart drawing
posted

Hi,

I'm using GanttChart (Infragistics 8.1) and I'd like to add custom icons to my GanttItemEntries (datapoints) but I have a problem.

I've read that if you want add something to the Chart you must handle FillSceneGraph event and add what you want.

Ok, but my problem is the following:

when FillSceneGraph event is raised, datapoints aren't drawn yet (infact the last events raised are ChartDrawItem but you cannot add primitives in those)

I need to know the exact location of datapoints to add my icons, so I need to wait when drawing is finished, but there's no event (or I can't see it) that call me when the last datapoint is drawn.

Any suggestion ?

Thanks in advance

 

sorry for my bad english

 

Parents
No Data
Reply
  • 28496
    Suggested Answer
    Offline posted

    when FillSceneGraph is raised, the entire chart will be drawn by that point.  what leads you to belileve that the datapoints aren't drawn yet?  what do you get for e.SceneGraph.Count ?

Children