Beispiel #1
0
 /// <summary>
 /// Occurs when segment created for waterfall series.
 /// </summary>
 /// <param name="args"></param>
 protected internal virtual void OnSegmentCreated(WaterfallSegmentCreatedEventArgs args)
 {
     if (SegmentCreated != null)
     {
         SegmentCreated(this, args);
     }
 }
Beispiel #2
0
        internal bool RaiseSegmentCreatedEvent(WaterfallSegment segment, int index)
        {
            WaterfallSegmentCreatedEventArgs args = new WaterfallSegmentCreatedEventArgs();

            args.Segment = segment;
            args.Index   = index;
            OnSegmentCreated(args);
            return(args.IsSummary);
        }