IkLineChartsLib 1.0.37

The owner has unlisted this package. This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package IkLineChartsLib --version 1.0.37
                    
NuGet\Install-Package IkLineChartsLib -Version 1.0.37
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="IkLineChartsLib" Version="1.0.37" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="IkLineChartsLib" Version="1.0.37" />
                    
Directory.Packages.props
<PackageReference Include="IkLineChartsLib" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add IkLineChartsLib --version 1.0.37
                    
#r "nuget: IkLineChartsLib, 1.0.37"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package IkLineChartsLib@1.0.37
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=IkLineChartsLib&version=1.0.37
                    
Install as a Cake Addin
#tool nuget:?package=IkLineChartsLib&version=1.0.37
                    
Install as a Cake Tool

Simple

alternate text is missing from this package README image

Prod 1 - Light

alternate text is missing from this package README image

Prod 2 - Dark

alternate text is missing from this package README image

Data point information

Press 'Shift' while mouse hovering a serie to display data point information tooltip.

Notice

All series data points in a chart control share one DateTime pool.

Simple example

void Main()
{
    LineSerie serie1 = new LineSerie
    {
        ID = Guid.NewGuid(),
        Name = $"Serie1",
        Color = Color.Red,
        StrokeSize = 2f,
        SharedScaleID = 1,
    };

    LineSerie serie2 = new LineSerie
    {
        ID = Guid.NewGuid(),
        Name = $"Serie2",
        Color = Color.Blue,
        StrokeSize = 2f,
        SharedScaleID = 3,
    };

    LineSerie serie3 = new LineSerie
    {
        ID = Guid.NewGuid(),
        Name = $"Serie3",
        Color = Color.Green,
        StrokeSize = 2f,
        SharedScaleID = 3,
    };

    // SharedScaleID will force auto scale to use matching id series cluster 
    // min and max for new scaling values,
    // keeping the YMin and YMax values across them equal.
    // In this case, serie1 is independent and both serie2 and serie3 are linked.
    // 0 = Disabled.

    ikLineChart.IkAddSerie(serie1);
    ikLineChart.IkAddSerie(serie2);
    ikLineChart.IkAddSerie(serie3);

    for(int i = 0; i < 60; i++)
    {
        UpdateChart();
        Thread.Sleep(1000);
    }
}

private void UpdateChart()
{
    double[] values = new double[ikLineChart.IkSeriesCount];
    Random rand = new Random();
    
    // Set values for each serie, 
    for (int i = 0; i < values.Length; i++)
            values[i] = rand .Next(-100, 100);

    // Feed the simulated values for each available serie,
    // Caller controls chart update rate.
    // If not all series are present in the update package, 
    // the last available value for that serie
    // will be used or a 0 if its empty.
    // If you don't have a new value for a given serie, 
    // use double.NaN in order to append the latest data point available or a 0.
   
    Dictionary<Guid, double> feedValues = new Dictionary<Guid, double>();        
    int idx = 0;
    foreach (var serie in ikLineChart.IkGetSeries())
    {
            feedValues.Add(serie.Key, values[idx]);
            idx++;
    }

    ikLineChart.IkAddSeriesValues(feedValues);
}
Product Compatible and additional computed target framework versions.
.NET Framework net462 is compatible.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
Loading failed