You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
1.0 KiB
25 lines
1.0 KiB
// (c) Copyright Microsoft Corporation.
|
|
// This source is subject to the Microsoft Public License (Ms-PL).
|
|
// Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details.
|
|
// All other rights reserved.
|
|
|
|
using System.Collections.Generic;
|
|
using System.Diagnostics.CodeAnalysis;
|
|
|
|
namespace System.Windows.Controls.DataVisualization.Charting
|
|
{
|
|
/// <summary>
|
|
/// Provides information about margins necessary for values.
|
|
/// </summary>
|
|
public interface IValueMarginProvider
|
|
{
|
|
/// <summary>
|
|
/// Gets the margins required for values.
|
|
/// </summary>
|
|
/// <param name="consumer">The axis to retrieve the value margins
|
|
/// for.</param>
|
|
/// <returns>The margins required for values.</returns>
|
|
[SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate", Justification = "This method does a substantial amount of work.")]
|
|
IEnumerable<ValueMargin> GetValueMargins(IValueMarginConsumer consumer);
|
|
}
|
|
}
|
|
|