Пример #1
0
 /// <summary>
 /// Update axes when a data point's effective independent value changes.
 /// </summary>
 private void UpdateActualIndependentAxis()
 {
     if (InternalActualIndependentAxis != null)
     {
         ICategoryAxis categoryAxis = InternalActualIndependentAxis as ICategoryAxis;
         if (categoryAxis != null)
         {
             ICategoryAxisInformationProvider categoryInformationProvider = (ICategoryAxisInformationProvider)this;
             categoryAxis.Update(categoryInformationProvider, categoryInformationProvider.GetCategories(categoryAxis));
         }
         IRangeAxis rangeAxis = InternalActualIndependentAxis as IRangeAxis;
         if (rangeAxis != null)
         {
             IRangeAxisInformationProvider rangeInformationProvider = (IRangeAxisInformationProvider)this;
             rangeAxis.Update(rangeInformationProvider, rangeInformationProvider.GetActualRange(rangeAxis));
         }
     }
 }
 /// <summary>
 /// Updates the axis with information about a provider's data range.
 /// </summary>
 /// <param name="usesRangeAxis">The information provider.</param>
 /// <param name="range">The range of data in the information provider.
 /// </param>
 void IRangeAxis.Update(IRangeAxisInformationProvider usesRangeAxis, Range <IComparable> range)
 {
     UpdateActualRange();
 }
Пример #3
0
 /// <summary>
 /// Updates the axis with information about a provider's data range.
 /// </summary>
 /// <param name="usesRangeAxis">The information provider.</param>
 /// <param name="range">The range of data in the information provider.
 /// </param>
 void IRangeAxis.Update(IRangeAxisInformationProvider usesRangeAxis, Range<IComparable> range)
 {
     UpdateActualRange();
 }