//The MIT License(MIT)
//Copyright(c) 2016 Alberto Rodriguez & LiveCharts Contributors
//Permission is hereby granted, free of charge, to any person obtaining a copy
//of this software and associated documentation files (the "Software"), to deal
//in the Software without restriction, including without limitation the rights
//to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
//copies of the Software, and to permit persons to whom the Software is
//furnished to do so, subject to the following conditions:
//The above copyright notice and this permission notice shall be included in all
//copies or substantial portions of the Software.
//THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
//IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
//FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
//AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
//LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
//OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
//SOFTWARE.
using LiveCharts.Charts;
using LiveCharts.Dtos;
namespace LiveCharts.Definitions.Charts
{
///
///
///
public interface ISeparatorElementView
{
///
/// Gets the model.
///
///
/// The model.
///
SeparatorElementCore Model { get; }
///
/// Gets the label model.
///
///
/// The label model.
///
LabelEvaluation LabelModel { get; }
///
/// Updates the label.
///
/// The text.
/// The axis.
/// The source.
///
LabelEvaluation UpdateLabel(string text, AxisCore axis, AxisOrientation source);
///
/// Clears the specified chart.
///
/// The chart.
void Clear(IChartView chart);
//No animated methods
///
/// Places the specified chart.
///
/// The chart.
/// The axis.
/// The direction.
/// Index of the axis.
/// To label.
/// To line.
/// The tab.
void Place(ChartCore chart, AxisCore axis, AxisOrientation direction, int axisIndex, double toLabel, double toLine, double tab);
///
/// Removes the specified chart.
///
/// The chart.
void Remove(ChartCore chart);
//Animated methods
///
/// Moves the specified chart.
///
/// The chart.
/// The axis.
/// The direction.
/// Index of the axis.
/// To label.
/// To line.
/// The tab.
void Move(ChartCore chart, AxisCore axis, AxisOrientation direction, int axisIndex, double toLabel, double toLine, double tab);
///
/// Fades the in.
///
/// The axis.
/// The chart.
void FadeIn(AxisCore axis, ChartCore chart);
///
/// Fades the out and remove.
///
/// The chart.
void FadeOutAndRemove(ChartCore chart);
}
}