项目结构调整

This commit is contained in:
艾竹
2023-04-16 20:11:40 +08:00
parent cbfbf96033
commit 81f91f3f35
2124 changed files with 218 additions and 5516 deletions

View File

@@ -0,0 +1,91 @@
//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.
namespace LiveCharts.Definitions.Charts
{
/// <summary>
///
/// </summary>
public interface IAxisSectionView
{
/// <summary>
/// Gets or sets the model.
/// </summary>
/// <value>
/// The model.
/// </value>
AxisSectionCore Model { get; set; }
/// <summary>
/// Gets or sets the value.
/// </summary>
/// <value>
/// The value.
/// </value>
double Value { get; set; }
/// <summary>
/// Gets or sets the width of the section.
/// </summary>
/// <value>
/// The width of the section.
/// </value>
double SectionWidth { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this <see cref="IAxisSectionView"/> is draggable.
/// </summary>
/// <value>
/// <c>true</c> if draggable; otherwise, <c>false</c>.
/// </value>
bool Draggable { get; set; }
/// <summary>
/// Gets or sets a value indicating whether the section is animated
/// </summary>
/// <value>
/// <c>true</c> if [disable animations]; otherwise, <c>false</c>.
/// </value>
bool DisableAnimations { get; set; }
/// <summary>
/// Gets or sets a value indicating whether the section should display a label that displays its current value.
/// </summary>
/// <value>
/// <c>true</c> if [data label]; otherwise, <c>false</c>.
/// </value>
bool DataLabel { get; set; }
/// <summary>
/// Draws the or move.
/// </summary>
/// <param name="source">The source.</param>
/// <param name="axis">The axis.</param>
void DrawOrMove(AxisOrientation source, int axis);
/// <summary>
/// Removes this instance.
/// </summary>
void Remove();
/// <summary>
/// Ases the core element.
/// </summary>
/// <param name="axis">The axis.</param>
/// <param name="source">The source.</param>
/// <returns></returns>
AxisSectionCore AsCoreElement(AxisCore axis, AxisOrientation source);
}
}

View File

@@ -0,0 +1,190 @@
//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 System;
using LiveCharts.Charts;
using LiveCharts.Dtos;
namespace LiveCharts.Definitions.Charts
{
/// <summary>
///
/// </summary>
public interface IAxisView
{
/// <summary>
/// Gets or sets the model.
/// </summary>
/// <value>
/// The model.
/// </value>
AxisCore Model { get; set; }
/// <summary>
/// Gets or sets a value indicating whether [disable animations].
/// </summary>
/// <value>
/// <c>true</c> if [disable animations]; otherwise, <c>false</c>.
/// </value>
bool DisableAnimations { get; set; }
/// <summary>
/// Gets or sets a value indicating whether [show labels].
/// </summary>
/// <value>
/// <c>true</c> if [show labels]; otherwise, <c>false</c>.
/// </value>
bool ShowLabels { get; set; }
/// <summary>
/// Gets or sets the maximum value.
/// </summary>
/// <value>
/// The maximum value.
/// </value>
double MaxValue { get; set; }
/// <summary>
/// Gets or sets the minimum value.
/// </summary>
/// <value>
/// The minimum value.
/// </value>
double MinValue { get; set; }
/// <summary>
/// Gets or sets the minimum range.
/// </summary>
/// <value>
/// The minimum range.
/// </value>
double MinRange { get; set; }
/// <summary>
/// Gets or sets the maximum range.
/// </summary>
/// <value>
/// The maximum range.
/// </value>
double MaxRange { get; set; }
/// <summary>
/// Gets or sets the labels rotation.
/// </summary>
/// <value>
/// The labels rotation.
/// </value>
double LabelsRotation { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this instance is merged.
/// </summary>
/// <value>
/// <c>true</c> if this instance is merged; otherwise, <c>false</c>.
/// </value>
bool IsMerged { get; set; }
/// <summary>
/// Gets or sets the bar unit.
/// </summary>
/// <value>
/// The bar unit.
/// </value>
double Unit { get; set; }
/// <summary>
/// Gets or sets the bar unit.
/// </summary>
/// <value>
/// The bar unit.
/// </value>
[Obsolete]
double BarUnit { get; set; }
/// <summary>
/// Gets the previous maximum value.
/// </summary>
/// <value>
/// The previous maximum value.
/// </value>
double PreviousMaxValue { get; }
/// <summary>
/// Gets the previous minimum value.
/// </summary>
/// <value>
/// The previous minimum value.
/// </value>
double PreviousMinValue { get; }
/// <summary>
/// Gets the axis orientation.
/// </summary>
/// <value>
/// The axis orientation.
/// </value>
AxisOrientation AxisOrientation { get; }
/// <summary>
/// Updates the title.
/// </summary>
/// <param name="chart">The chart.</param>
/// <param name="rotationAngle">The rotation angle.</param>
/// <returns></returns>
CoreSize UpdateTitle(ChartCore chart, double rotationAngle = 0);
/// <summary>
/// Sets the title top.
/// </summary>
/// <param name="value">The value.</param>
void SetTitleTop(double value);
/// <summary>
/// Sets the title left.
/// </summary>
/// <param name="value">The value.</param>
void SetTitleLeft(double value);
/// <summary>
/// Gets the title left.
/// </summary>
/// <returns></returns>
double GetTitleLeft();
/// <summary>
/// Gets the tile top.
/// </summary>
/// <returns></returns>
double GetTileTop();
/// <summary>
/// Gets the size of the label.
/// </summary>
/// <returns></returns>
CoreSize GetLabelSize();
/// <summary>
/// Ases the core element.
/// </summary>
/// <param name="chart">The chart.</param>
/// <param name="source">The source.</param>
/// <returns></returns>
AxisCore AsCoreElement(ChartCore chart, AxisOrientation source);
/// <summary>
/// Renders the separator.
/// </summary>
/// <param name="model">The model.</param>
/// <param name="chart">The chart.</param>
void RenderSeparator(SeparatorElementCore model, ChartCore chart);
/// <summary>
/// Cleans this instance.
/// </summary>
void Clean();
/// <summary>
/// Sets the range.
/// </summary>
/// <param name="min">The minimum.</param>
/// <param name="max">The maximum.</param>
void SetRange(double min, double max);
}
}

View File

@@ -0,0 +1,39 @@
//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.
namespace LiveCharts.Definitions.Charts
{
/// <summary>
///
/// </summary>
/// <seealso cref="LiveCharts.Definitions.Charts.IChartView" />
public interface ICartesianChart : IChartView
{
/// <summary>
/// Gets or sets the visual elements.
/// </summary>
/// <value>
/// The visual elements.
/// </value>
VisualElementsCollection VisualElements { get; set; }
}
}

View File

@@ -0,0 +1,71 @@
//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;
namespace LiveCharts.Definitions.Charts
{
/// <summary>
///
/// </summary>
public interface ICartesianVisualElement
{
/// <summary>
/// Gets or sets the x.
/// </summary>
/// <value>
/// The x.
/// </value>
double X { get; set; }
/// <summary>
/// Gets or sets the y.
/// </summary>
/// <value>
/// The y.
/// </value>
double Y { get; set; }
/// <summary>
/// Gets or sets the axis x.
/// </summary>
/// <value>
/// The axis x.
/// </value>
int AxisX { get; set; }
/// <summary>
/// Gets or sets the axis y.
/// </summary>
/// <value>
/// The axis y.
/// </value>
int AxisY { get; set; }
/// <summary>
/// Adds the or move.
/// </summary>
/// <param name="chart">The chart.</param>
void AddOrMove(ChartCore chart);
/// <summary>
/// Removes the specified chart.
/// </summary>
/// <param name="chart">The chart.</param>
void Remove(ChartCore chart);
}
}

View File

@@ -0,0 +1,253 @@
//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 System;
using System.Collections.Generic;
using LiveCharts.Charts;
using LiveCharts.Definitions.Series;
using LiveCharts.Dtos;
using LiveCharts.Events;
namespace LiveCharts.Definitions.Charts
{
/// <summary>
///
/// </summary>
public interface IChartView
{
/// <summary>
/// Gets the model.
/// </summary>
/// <value>
/// The model.
/// </value>
ChartCore Model { get; }
/// <summary>
/// Occurs when [data click].
/// </summary>
event DataClickHandler DataClick;
/// <summary>
/// Occurs when [data hover]
/// </summary>
event DataHoverHandler DataHover;
/// <summary>
/// Gets or sets the series.
/// </summary>
/// <value>
/// The series.
/// </value>
SeriesCollection Series { get; set; }
/// <summary>
/// Gets the actual series.
/// </summary>
/// <value>
/// The actual series.
/// </value>
IEnumerable<ISeriesView> ActualSeries { get; }
/// <summary>
/// Gets or sets the tooltip timeout.
/// </summary>
/// <value>
/// The tooltip timeout.
/// </value>
TimeSpan TooltipTimeout { get; set; }
/// <summary>
/// Gets or sets the zoom.
/// </summary>
/// <value>
/// The zoom.
/// </value>
ZoomingOptions Zoom { get; set; }
/// <summary>
/// Gets or sets the zoom.
/// </summary>
/// <value>
/// The zoom.
/// </value>
PanningOptions Pan { get; set; }
/// <summary>
/// Gets or sets the zooming speed.
/// </summary>
/// <value>
/// The zooming speed.
/// </value>
double ZoomingSpeed { get; set; }
/// <summary>
/// Gets or sets the legend location.
/// </summary>
/// <value>
/// The legend location.
/// </value>
LegendLocation LegendLocation { get; set; }
/// <summary>
/// Gets or sets a value indicating whether [disable animations].
/// </summary>
/// <value>
/// <c>true</c> if [disable animations]; otherwise, <c>false</c>.
/// </value>
bool DisableAnimations { get; set; }
/// <summary>
/// Gets or sets the animations speed.
/// </summary>
/// <value>
/// The animations speed.
/// </value>
TimeSpan AnimationsSpeed { get; set; }
/// <summary>
/// Gets or sets the state of the updater.
/// </summary>
/// <value>
/// The state of the updater.
/// </value>
UpdaterState UpdaterState { get; set; }
/// <summary>
/// Gets a value indicating whether this instance has tooltip.
/// </summary>
/// <value>
/// <c>true</c> if this instance has tooltip; otherwise, <c>false</c>.
/// </value>
bool HasTooltip { get; }
/// <summary>
/// Gets a value indicating whether this instance has data click event attached.
/// </summary>
/// <value>
/// <c>true</c> if this instance has data click event attached; otherwise, <c>false</c>.
/// </value>
bool HasDataClickEventAttached { get; }
/// <summary>
/// Gets a value indicating whether this instance has data hover event attached.
/// </summary>
/// <value>
/// <c>true</c> if this instance has data hover event attached; otherwise, <c>false</c>.
/// </value>
bool HasDataHoverEventAttached { get; }
/// <summary>
/// Gets a value indicating whether this <see cref="IChartView"/> is hoverable.
/// </summary>
/// <value>
/// <c>true</c> if hoverable; otherwise, <c>false</c>.
/// </value>
bool Hoverable { get; }
/// <summary>
/// Gets a value indicating whether this instance is control loaded.
/// </summary>
/// <value>
/// <c>true</c> if this instance is control loaded; otherwise, <c>false</c>.
/// </value>
bool IsControlLoaded { get; }
/// <summary>
/// Gets a value indicating whether this instance is in design mode.
/// </summary>
/// <value>
/// <c>true</c> if this instance is in design mode; otherwise, <c>false</c>.
/// </value>
bool IsInDesignMode { get; }
/// <summary>
/// Sets the draw margin top.
/// </summary>
/// <param name="value">The value.</param>
void SetDrawMarginTop(double value);
/// <summary>
/// Sets the draw margin left.
/// </summary>
/// <param name="value">The value.</param>
void SetDrawMarginLeft(double value);
/// <summary>
/// Sets the height of the draw margin.
/// </summary>
/// <param name="value">The value.</param>
void SetDrawMarginHeight(double value);
/// <summary>
/// Sets the width of the draw margin.
/// </summary>
/// <param name="value">The value.</param>
void SetDrawMarginWidth(double value);
/// <summary>
/// Adds to view.
/// </summary>
/// <param name="element">The element.</param>
void AddToView(object element);
/// <summary>
/// Adds to draw margin.
/// </summary>
/// <param name="element">The element.</param>
void AddToDrawMargin(object element);
/// <summary>
/// Removes from view.
/// </summary>
/// <param name="element">The element.</param>
void RemoveFromView(object element);
/// <summary>
/// Removes from draw margin.
/// </summary>
/// <param name="element">The element.</param>
void RemoveFromDrawMargin(object element);
/// <summary>
/// Ensures the element belongs to current view.
/// </summary>
/// <param name="element">The element.</param>
void EnsureElementBelongsToCurrentView(object element);
/// <summary>
/// Ensures the element belongs to current draw margin.
/// </summary>
/// <param name="element">The element.</param>
void EnsureElementBelongsToCurrentDrawMargin(object element);
/// <summary>
/// Hides the tooltip.
/// </summary>
void HideTooltip();
/// <summary>
/// Shows the legend.
/// </summary>
/// <param name="at">At.</param>
void ShowLegend(CorePoint at);
/// <summary>
/// Hides the legend.
/// </summary>
void HideLegend();
/// <summary>
/// Loads the legend.
/// </summary>
/// <returns></returns>
CoreSize LoadLegend();
/// <summary>
/// Maps the x axes.
/// </summary>
/// <param name="chart">The chart.</param>
/// <returns></returns>
List<AxisCore> MapXAxes(ChartCore chart);
/// <summary>
/// Maps the y axes.
/// </summary>
/// <param name="chart">The chart.</param>
/// <returns></returns>
List<AxisCore> MapYAxes(ChartCore chart);
}
}

View File

@@ -0,0 +1,39 @@
//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.
namespace LiveCharts.Definitions.Charts
{
/// <summary>
///
/// </summary>
/// <seealso cref="LiveCharts.Definitions.Charts.IAxisView" />
public interface ILogarithmicAxisView : IAxisView
{
/// <summary>
/// Gets or sets the base.
/// </summary>
/// <value>
/// The base.
/// </value>
double Base { get; set; }
}
}

View File

@@ -0,0 +1,53 @@
//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.
namespace LiveCharts.Definitions.Charts
{
/// <summary>
///
/// </summary>
/// <seealso cref="LiveCharts.Definitions.Charts.IChartView" />
public interface IPieChart : IChartView
{
/// <summary>
/// Gets or sets the inner radius.
/// </summary>
/// <value>
/// The inner radius.
/// </value>
double InnerRadius { get; set; }
/// <summary>
/// Gets or sets the starting rotation angle.
/// </summary>
/// <value>
/// The starting rotation angle.
/// </value>
double StartingRotationAngle { get; set; }
/// <summary>
/// Gets or sets the hover push out.
/// </summary>
/// <value>
/// The hover push out.
/// </value>
double HoverPushOut { get; set; }
}
}

View File

@@ -0,0 +1,105 @@
//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
{
/// <summary>
///
/// </summary>
public interface ISeparatorElementView
{
/// <summary>
/// Gets the model.
/// </summary>
/// <value>
/// The model.
/// </value>
SeparatorElementCore Model { get; }
/// <summary>
/// Gets the label model.
/// </summary>
/// <value>
/// The label model.
/// </value>
LabelEvaluation LabelModel { get; }
/// <summary>
/// Updates the label.
/// </summary>
/// <param name="text">The text.</param>
/// <param name="axis">The axis.</param>
/// <param name="source">The source.</param>
/// <returns></returns>
LabelEvaluation UpdateLabel(string text, AxisCore axis, AxisOrientation source);
/// <summary>
/// Clears the specified chart.
/// </summary>
/// <param name="chart">The chart.</param>
void Clear(IChartView chart);
//No animated methods
/// <summary>
/// Places the specified chart.
/// </summary>
/// <param name="chart">The chart.</param>
/// <param name="axis">The axis.</param>
/// <param name="direction">The direction.</param>
/// <param name="axisIndex">Index of the axis.</param>
/// <param name="toLabel">To label.</param>
/// <param name="toLine">To line.</param>
/// <param name="tab">The tab.</param>
void Place(ChartCore chart, AxisCore axis, AxisOrientation direction, int axisIndex, double toLabel, double toLine, double tab);
/// <summary>
/// Removes the specified chart.
/// </summary>
/// <param name="chart">The chart.</param>
void Remove(ChartCore chart);
//Animated methods
/// <summary>
/// Moves the specified chart.
/// </summary>
/// <param name="chart">The chart.</param>
/// <param name="axis">The axis.</param>
/// <param name="direction">The direction.</param>
/// <param name="axisIndex">Index of the axis.</param>
/// <param name="toLabel">To label.</param>
/// <param name="toLine">To line.</param>
/// <param name="tab">The tab.</param>
void Move(ChartCore chart, AxisCore axis, AxisOrientation direction, int axisIndex, double toLabel, double toLine, double tab);
/// <summary>
/// Fades the in.
/// </summary>
/// <param name="axis">The axis.</param>
/// <param name="chart">The chart.</param>
void FadeIn(AxisCore axis, ChartCore chart);
/// <summary>
/// Fades the out and remove.
/// </summary>
/// <param name="chart">The chart.</param>
void FadeOutAndRemove(ChartCore chart);
}
}

View File

@@ -0,0 +1,57 @@
//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.
namespace LiveCharts.Definitions.Charts
{
/// <summary>
///
/// </summary>
public interface ISeparatorView
{
/// <summary>
/// Gets or sets a value indicating whether this instance is enabled.
/// </summary>
/// <value>
/// <c>true</c> if this instance is enabled; otherwise, <c>false</c>.
/// </value>
bool IsEnabled { get; set; }
/// <summary>
/// Gets or sets separator step, this means the value between each line, use double.NaN for auto.
/// </summary>
double Step { get; set; }
/// <summary>
/// Gets the axis orientation.
/// </summary>
/// <value>
/// The axis orientation.
/// </value>
AxisOrientation AxisOrientation { get; }
/// <summary>
/// Ases the core element.
/// </summary>
/// <param name="axis">The axis.</param>
/// <param name="source">The source.</param>
/// <returns></returns>
SeparatorConfigurationCore AsCoreElement(AxisCore axis, AxisOrientation source);
}
}

View File

@@ -0,0 +1,41 @@
//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.Dtos;
namespace LiveCharts.Definitions.Points
{
/// <summary>
///
/// </summary>
/// <seealso cref="LiveCharts.Definitions.Points.IChartPointView" />
public interface IBezierPointView : IChartPointView
{
/// <summary>
/// Gets or sets the data.
/// </summary>
/// <value>
/// The data.
/// </value>
BezierData Data { get; set; }
}
}

View File

@@ -0,0 +1,73 @@
//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.Points
{
/// <summary>
///
/// </summary>
public interface IChartPointView
{
/// <summary>
/// Gets a value indicating whether this instance is new.
/// </summary>
/// <value>
/// <c>true</c> if this instance is new; otherwise, <c>false</c>.
/// </value>
bool IsNew { get; }
/// <summary>
/// Gets the valid area.
/// </summary>
/// <value>
/// The valid area.
/// </value>
CoreRectangle ValidArea { get; }
/// <summary>
/// Draws the or move.
/// </summary>
/// <param name="previousDrawn">The previous drawn.</param>
/// <param name="current">The current.</param>
/// <param name="index">The index.</param>
/// <param name="chart">The chart.</param>
void DrawOrMove(ChartPoint previousDrawn, ChartPoint current, int index, ChartCore chart);
/// <summary>
/// Removes from view.
/// </summary>
/// <param name="chart">The chart.</param>
void RemoveFromView(ChartCore chart);
/// <summary>
/// Called when [hover].
/// </summary>
/// <param name="point">The point.</param>
void OnHover(ChartPoint point);
/// <summary>
/// Called when [hover leave].
/// </summary>
/// <param name="point">The point.</param>
void OnHoverLeave(ChartPoint point);
}
}

View File

@@ -0,0 +1,55 @@
//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.Dtos;
namespace LiveCharts.Definitions.Points
{
/// <summary>
///
/// </summary>
/// <seealso cref="LiveCharts.Definitions.Points.IChartPointView" />
public interface IHeatPointView : IChartPointView
{
/// <summary>
/// Gets or sets the color components.
/// </summary>
/// <value>
/// The color components.
/// </value>
CoreColor ColorComponents { get; set; }
/// <summary>
/// Gets or sets the width.
/// </summary>
/// <value>
/// The width.
/// </value>
double Width { get; set; }
/// <summary>
/// Gets or sets the height.
/// </summary>
/// <value>
/// The height.
/// </value>
double Height { get; set; }
}
}

View File

@@ -0,0 +1,81 @@
//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.
namespace LiveCharts.Definitions.Points
{
/// <summary>
///
/// </summary>
/// <seealso cref="LiveCharts.Definitions.Points.IChartPointView" />
public interface IOhlcPointView : IChartPointView
{
/// <summary>
/// Gets or sets the open.
/// </summary>
/// <value>
/// The open.
/// </value>
double Open { get; set; }
/// <summary>
/// Gets or sets the high.
/// </summary>
/// <value>
/// The high.
/// </value>
double High { get; set; }
/// <summary>
/// Gets or sets the close.
/// </summary>
/// <value>
/// The close.
/// </value>
double Close { get; set; }
/// <summary>
/// Gets or sets the low.
/// </summary>
/// <value>
/// The low.
/// </value>
double Low { get; set; }
/// <summary>
/// Gets or sets the width.
/// </summary>
/// <value>
/// The width.
/// </value>
double Width { get; set; }
/// <summary>
/// Gets or sets the left.
/// </summary>
/// <value>
/// The left.
/// </value>
double Left { get; set; }
/// <summary>
/// Gets or sets the start reference.
/// </summary>
/// <value>
/// The start reference.
/// </value>
double StartReference { get; set; }
}
}

View File

@@ -0,0 +1,60 @@
//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.
namespace LiveCharts.Definitions.Points
{
/// <summary>
///
/// </summary>
/// <seealso cref="LiveCharts.Definitions.Points.IChartPointView" />
public interface IPieSlicePointView : IChartPointView
{
/// <summary>
/// Gets or sets the rotation.
/// </summary>
/// <value>
/// The rotation.
/// </value>
double Rotation { get; set; }
/// <summary>
/// Gets or sets the wedge.
/// </summary>
/// <value>
/// The wedge.
/// </value>
double Wedge { get; set; }
/// <summary>
/// Gets or sets the inner radius.
/// </summary>
/// <value>
/// The inner radius.
/// </value>
double InnerRadius { get; set; }
/// <summary>
/// Gets or sets the radius.
/// </summary>
/// <value>
/// The radius.
/// </value>
double Radius { get; set; }
}
}

View File

@@ -0,0 +1,48 @@
//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.Dtos;
namespace LiveCharts.Definitions.Points
{
/// <summary>
///
/// </summary>
/// <seealso cref="LiveCharts.Definitions.Points.IChartPointView" />
public interface IRectanglePointView : IChartPointView
{
/// <summary>
/// Gets or sets the data.
/// </summary>
/// <value>
/// The data.
/// </value>
CoreRectangle Data { get; set; }
/// <summary>
/// Gets or sets the zero reference.
/// </summary>
/// <value>
/// The zero reference.
/// </value>
double ZeroReference { get; set; }
}
}

View File

@@ -0,0 +1,39 @@
//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.
namespace LiveCharts.Definitions.Points
{
/// <summary>
///
/// </summary>
/// <seealso cref="LiveCharts.Definitions.Points.IChartPointView" />
public interface IScatterPointView : IChartPointView
{
/// <summary>
/// Gets or sets the diameter.
/// </summary>
/// <value>
/// The diameter.
/// </value>
double Diameter { get; set; }
}
}

View File

@@ -0,0 +1,46 @@
//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.
namespace LiveCharts.Definitions.Points
{
/// <summary>
///
/// </summary>
/// <seealso cref="LiveCharts.Definitions.Points.IChartPointView" />
public interface IStepPointView : IChartPointView
{
/// <summary>
/// Gets or sets the delta x.
/// </summary>
/// <value>
/// The delta x.
/// </value>
double DeltaX { get; set; }
/// <summary>
/// Gets or sets the delta y.
/// </summary>
/// <value>
/// The delta y.
/// </value>
double DeltaY { get; set; }
}
}

View File

@@ -0,0 +1,36 @@
//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.
namespace LiveCharts.Definitions.Series
{
/// <summary>
///
/// </summary>
public interface IAreaPoint
{
/// <summary>
/// Gets the point diameter.
/// </summary>
/// <returns></returns>
double GetPointDiameter();
}
}

View File

@@ -0,0 +1,63 @@
//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.
namespace LiveCharts.Definitions.Series
{
/// <summary>
///
/// </summary>
public interface ICartesianSeries
{
/// <summary>
/// Gets the view.
/// </summary>
/// <value>
/// The view.
/// </value>
ISeriesView View { get; }
/// <summary>
/// Gets the minimum x.
/// </summary>
/// <param name="axis">The axis.</param>
/// <returns></returns>
double GetMinX(AxisCore axis);
/// <summary>
/// Gets the maximum x.
/// </summary>
/// <param name="axis">The axis.</param>
/// <returns></returns>
double GetMaxX(AxisCore axis);
/// <summary>
/// Gets the minimum y.
/// </summary>
/// <param name="axis">The axis.</param>
/// <returns></returns>
double GetMinY(AxisCore axis);
/// <summary>
/// Gets the maximum y.
/// </summary>
/// <param name="axis">The axis.</param>
/// <returns></returns>
double GetMaxY(AxisCore axis);
}
}

View File

@@ -0,0 +1,53 @@
//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.
namespace LiveCharts.Definitions.Series
{
/// <summary>
///
/// </summary>
/// <seealso cref="LiveCharts.Definitions.Series.ISeriesView" />
public interface IColumnSeriesView : ISeriesView
{
/// <summary>
/// Gets or sets the maximum width of the column.
/// </summary>
/// <value>
/// The maximum width of the column.
/// </value>
double MaxColumnWidth { get; set; }
/// <summary>
/// Gets or sets the column padding.
/// </summary>
/// <value>
/// The column padding.
/// </value>
double ColumnPadding { get; set; }
/// <summary>
/// Gets or sets a value indicating whether [shares position].
/// </summary>
/// <value>
/// <c>true</c> if [shares position]; otherwise, <c>false</c>.
/// </value>
bool SharesPosition { get; set; }
}
}

View File

@@ -0,0 +1,39 @@
//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.
namespace LiveCharts.Definitions.Series
{
/// <summary>
///
/// </summary>
/// <seealso cref="LiveCharts.Definitions.Series.ISeriesView" />
public interface IFinancialSeriesView : ISeriesView
{
/// <summary>
/// Gets or sets the maximum width of the column.
/// </summary>
/// <value>
/// The maximum width of the column.
/// </value>
double MaxColumnWidth { get; set; }
}
}

View File

@@ -0,0 +1,49 @@
//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 System.Collections.Generic;
using LiveCharts.Dtos;
namespace LiveCharts.Definitions.Series
{
/// <summary>
///
/// </summary>
/// <seealso cref="LiveCharts.Definitions.Series.ISeriesView" />
public interface IHeatSeriesView : ISeriesView
{
/// <summary>
/// Gets the stops.
/// </summary>
/// <value>
/// The stops.
/// </value>
IList<CoreGradientStop> Stops { get; }
/// <summary>
/// Gets a value indicating whether [draws heat range].
/// </summary>
/// <value>
/// <c>true</c> if [draws heat range]; otherwise, <c>false</c>.
/// </value>
bool DrawsHeatRange { get; }
}
}

View File

@@ -0,0 +1,60 @@
//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.Dtos;
namespace LiveCharts.Definitions.Series
{
/// <summary>
///
/// </summary>
/// <seealso cref="LiveCharts.Definitions.Series.ISeriesView" />
public interface ILineSeriesView : ISeriesView
{
/// <summary>
/// Gets or sets the line smoothness.
/// </summary>
/// <value>
/// The line smoothness.
/// </value>
double LineSmoothness { get; set; }
/// <summary>
/// Gets or sets the area limit.
/// </summary>
/// <value>
/// The area limit.
/// </value>
double AreaLimit { get; set; }
/// <summary>
/// Starts the segment.
/// </summary>
/// <param name="atIndex">At index.</param>
/// <param name="location">The location.</param>
void StartSegment(int atIndex, CorePoint location);
/// <summary>
/// Ends the segment.
/// </summary>
/// <param name="atIndex">At index.</param>
/// <param name="location">The location.</param>
void EndSegment(int atIndex, CorePoint location);
}
}

View File

@@ -0,0 +1,38 @@
//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.
namespace LiveCharts.Definitions.Series
{
/// <summary>
///
/// </summary>
public interface IPieSeries
{
/// <summary>
/// Gets the view.
/// </summary>
/// <value>
/// The view.
/// </value>
ISeriesView View { get; }
}
}

View File

@@ -0,0 +1,39 @@
//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.
namespace LiveCharts.Definitions.Series
{
/// <summary>
///
/// </summary>
/// <seealso cref="LiveCharts.Definitions.Series.ISeriesView" />
public interface IPieSeriesView : ISeriesView
{
/// <summary>
/// Gets or sets the push out.
/// </summary>
/// <value>
/// The push out.
/// </value>
double PushOut { get; set; }
}
}

View File

@@ -0,0 +1,53 @@
//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.
namespace LiveCharts.Definitions.Series
{
/// <summary>
///
/// </summary>
/// <seealso cref="LiveCharts.Definitions.Series.ISeriesView" />
public interface IRowSeriesView : ISeriesView
{
/// <summary>
/// Gets or sets the maximum row heigth.
/// </summary>
/// <value>
/// The maximum row heigth.
/// </value>
double MaxRowHeigth { get; set; }
/// <summary>
/// Gets or sets the row padding.
/// </summary>
/// <value>
/// The row padding.
/// </value>
double RowPadding { get; set; }
/// <summary>
/// Gets or sets a value indicating whether [shares position].
/// </summary>
/// <value>
/// <c>true</c> if [shares position]; otherwise, <c>false</c>.
/// </value>
bool SharesPosition { get; set; }
}
}

View File

@@ -0,0 +1,46 @@
//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.
namespace LiveCharts.Definitions.Series
{
/// <summary>
///
/// </summary>
/// <seealso cref="LiveCharts.Definitions.Series.ISeriesView" />
public interface IScatterSeriesView : ISeriesView
{
/// <summary>
/// Gets or sets the maximum point shape diameter.
/// </summary>
/// <value>
/// The maximum point shape diameter.
/// </value>
double MaxPointShapeDiameter { get; set; }
/// <summary>
/// Gets or sets the minimum point shape diameter.
/// </summary>
/// <value>
/// The minimum point shape diameter.
/// </value>
double MinPointShapeDiameter { get; set; }
}
}

View File

@@ -0,0 +1,149 @@
//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 System;
using LiveCharts.Definitions.Points;
namespace LiveCharts.Definitions.Series
{
/// <summary>
///
/// </summary>
public interface ISeriesView
{
/// <summary>
/// Gets or sets the model.
/// </summary>
/// <value>
/// The model.
/// </value>
SeriesAlgorithm Model { get; set; }
/// <summary>
/// Gets or sets the values.
/// </summary>
/// <value>
/// The values.
/// </value>
IChartValues Values { get; set; }
/// <summary>
/// Gets a value indicating whether [data labels].
/// </summary>
/// <value>
/// <c>true</c> if [data labels]; otherwise, <c>false</c>.
/// </value>
bool DataLabels { get; }
/// <summary>
/// Gets or sets the scales x at.
/// </summary>
/// <value>
/// The scales x at.
/// </value>
int ScalesXAt { get; set; }
/// <summary>
/// Gets or sets the scales y at.
/// </summary>
/// <value>
/// The scales y at.
/// </value>
int ScalesYAt { get; set; }
/// <summary>
/// Gets or sets the configuration.
/// </summary>
/// <value>
/// The configuration.
/// </value>
object Configuration { get; set; }
/// <summary>
/// Gets a value indicating whether this instance is series visible.
/// </summary>
/// <value>
/// <c>true</c> if this instance is series visible; otherwise, <c>false</c>.
/// </value>
bool IsSeriesVisible { get; }
/// <summary>
/// Gets or sets the label point.
/// </summary>
/// <value>
/// The label point.
/// </value>
Func<ChartPoint, string> LabelPoint { get; set; }
/// <summary>
/// Gets the actual values.
/// </summary>
/// <value>
/// The actual values.
/// </value>
IChartValues ActualValues { get; }
/// <summary>
/// Gets the title.
/// </summary>
/// <value>
/// The title.
/// </value>
string Title { get; }
/// <summary>
/// Gets a value indicating whether this instance is first draw.
/// </summary>
/// <value>
/// <c>true</c> if this instance is first draw; otherwise, <c>false</c>.
/// </value>
bool IsFirstDraw { get; }
/// <summary>
/// Gets the point view.
/// </summary>
/// <param name="point">The point.</param>
/// <param name="label">The label.</param>
/// <returns></returns>
IChartPointView GetPointView(ChartPoint point, string label);
/// <summary>
/// Called when [series update start].
/// </summary>
void OnSeriesUpdateStart();
/// <summary>
/// Erases the specified remove from view.
/// </summary>
/// <param name="removeFromView">if set to <c>true</c> [remove from view].</param>
void Erase(bool removeFromView);
/// <summary>
/// Called when [series updated finish].
/// </summary>
void OnSeriesUpdatedFinish();
/// <summary>
/// Initializes the colors.
/// </summary>
void InitializeColors();
/// <summary>
/// Draws the specialized elements.
/// </summary>
void DrawSpecializedElements();
/// <summary>
/// Places the specialized elements.
/// </summary>
void PlaceSpecializedElements();
/// <summary>
/// Gets the label point formatter.
/// </summary>
/// <returns></returns>
Func<ChartPoint, string> GetLabelPointFormatter();
}
}

View File

@@ -0,0 +1,38 @@
//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.
namespace LiveCharts.Definitions.Series
{
/// <summary>
///
/// </summary>
public interface IStackModelableSeriesView
{
/// <summary>
/// Gets or sets the stack mode.
/// </summary>
/// <value>
/// The stack mode.
/// </value>
StackMode StackMode { get; set; }
}
}

View File

@@ -0,0 +1,34 @@
//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.
namespace LiveCharts.Definitions.Series
{
/// <summary>
///
/// </summary>
/// <seealso cref="LiveCharts.Definitions.Series.ILineSeriesView" />
/// <seealso cref="LiveCharts.Definitions.Series.IStackModelableSeriesView" />
public interface IStackedAreaSeriesView : ILineSeriesView, IStackModelableSeriesView
{
}
}

View File

@@ -0,0 +1,47 @@
//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.
namespace LiveCharts.Definitions.Series
{
/// <summary>
///
/// </summary>
/// <seealso cref="LiveCharts.Definitions.Series.ISeriesView" />
/// <seealso cref="LiveCharts.Definitions.Series.IStackModelableSeriesView" />
public interface IStackedColumnSeriesView : ISeriesView, IStackModelableSeriesView
{
/// <summary>
/// Gets or sets the maximum width of the column.
/// </summary>
/// <value>
/// The maximum width of the column.
/// </value>
double MaxColumnWidth { get; set; }
/// <summary>
/// Gets or sets the column padding.
/// </summary>
/// <value>
/// The column padding.
/// </value>
double ColumnPadding { get; set; }
}
}

View File

@@ -0,0 +1,47 @@
//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.
namespace LiveCharts.Definitions.Series
{
/// <summary>
///
/// </summary>
/// <seealso cref="LiveCharts.Definitions.Series.ISeriesView" />
/// <seealso cref="LiveCharts.Definitions.Series.IStackModelableSeriesView" />
public interface IStackedRowSeriesView : ISeriesView, IStackModelableSeriesView
{
/// <summary>
/// Gets or sets the maximum height of the row.
/// </summary>
/// <value>
/// The maximum height of the row.
/// </value>
double MaxRowHeight { get; set; }
/// <summary>
/// Gets or sets the row padding.
/// </summary>
/// <value>
/// The row padding.
/// </value>
double RowPadding { get; set; }
}
}

View File

@@ -0,0 +1,34 @@
//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.
namespace LiveCharts.Definitions.Series
{
/// <summary>
///
/// </summary>
/// <seealso cref="LiveCharts.Definitions.Series.ILineSeriesView" />
/// <seealso cref="LiveCharts.Definitions.Series.IStackModelableSeriesView" />
public interface IVerticalStackedAreaSeriesView : ILineSeriesView, IStackModelableSeriesView
{
}
}