Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 10:31
    MatjazJost commented #785
  • 10:31
    MatjazJost commented #785
  • Apr 05 04:17
    Jonny5566 commented #1059
  • Apr 05 04:17
    Jonny5566 commented #1059
  • Apr 03 13:51
    LloydCorfex opened #1060
  • Apr 03 13:51
    LloydCorfex opened #1060
  • Apr 03 08:52
    Jonny5566 opened #1059
  • Apr 03 08:52
    Jonny5566 opened #1059
  • Apr 02 09:23
    Jonny5566 commented #449
  • Apr 02 09:23
    Jonny5566 commented #449
  • Apr 02 05:07
    mjanulaitis commented #796
  • Apr 02 05:07
    mjanulaitis commented #796
  • Apr 02 04:55
    mjanulaitis commented #796
  • Apr 02 04:55
    mjanulaitis commented #796
  • Mar 29 18:37
    korneliuscode edited #1058
  • Mar 29 18:37
    korneliuscode edited #1058
  • Mar 29 18:37
    korneliuscode edited #1058
  • Mar 29 18:37
    korneliuscode edited #1058
  • Mar 29 18:33
    korneliuscode edited #1058
  • Mar 29 18:33
    korneliuscode edited #1058
VictorOdukoya
@VictorOdukoya
Shift of 1000 units
HackMemory
@HackMemory
And how i can do that?
VictorOdukoya
@VictorOdukoya
By using the minvalue attribute. It looks like it is set to 1000
HackMemory
@HackMemory
HackMemory
@HackMemory
in new project everything ok, but when i use in my project happens that sh*t

i am just use example from github and in designer same https://i.imgur.com/TSKmIV7.png

XAML:

<UserControl x:Class="HackBerry.Core.UserControl.ChartDataFrame"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:lvc="clr-namespace:LiveCharts.Wpf;assembly=LiveCharts.Wpf"
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
    <lvc:CartesianChart Series="{Binding SeriesCollection}" >

        <lvc:CartesianChart.AxisY>
            <lvc:Axis MinValue="0" LabelFormatter="{Binding YFormatter}" ></lvc:Axis>
        </lvc:CartesianChart.AxisY>

        <lvc:CartesianChart.AxisX>
            <lvc:Axis Labels="{Binding Labels}" ></lvc:Axis>
        </lvc:CartesianChart.AxisX>

    </lvc:CartesianChart>
</UserControl>
pramodkrnitdgp
@pramodkrnitdgp
I am facing issue in plotting data having 3000+ point with below xaml file
<lvc:CartesianChart Height="520" Margin="30" Series="{Binding SeriesCollection}" LegendLocation="Right" Loaded="CartesianChart_Loaded" >
<lvc:CartesianChart.AxisY>
<lvc:Axis Title="Pressure" LabelFormatter="{Binding YFormatter}"></lvc:Axis>
</lvc:CartesianChart.AxisY>
<lvc:CartesianChart.AxisX>
<lvc:Axis Title="Time" Labels="{Binding Labels}"></lvc:Axis>
</lvc:CartesianChart.AxisX>
</lvc:CartesianChart>
is there any better way to do this with live chart..... the data point may range from 3000 to 10000 points
SeriesCollection having 3 lineseries
it's taking long time (around 2 mins) to plot even on 32 GB RAM ....
YunHoYeong
@YunHoYeong
I want to refine the coordinates of my country's geomap.
What type of coordinate is written in xml file?
Frenchy
@Frenchy__0_twitter
Hello, i'm new to Live Charts and i need to use a GeoMap for my school project, I'm experienced with vb.net and a bit with xaml. I tryed to follow the "tutorial" on the offical website, but unfortunatly it didn't work and i get System.NullReferenceException when i run my program. Does anyone experienced this issue ?
Here is my class : https://prnt.sc/rj6vzw and here is my xaml code : https://prnt.sc/rj6ws5
VictorOdukoya
@VictorOdukoya
@pramodkrnitdgp Do you use the AddRange Method? https://lvcharts.net/App/examples/v1/wpf/Performance%20Tips
Frenchy
@Frenchy__0_twitter
My problem is solve, unfortunatly the map don't display the value when i point my mouse on it
reo kyouma
@reo_kyouma_twitter
is the project still alive?
recounter7
@recounter7
@Neexos Thank you very much for the information on GeoMaps. I didn't know that the Path format is SVG. But now I would like to create my own SVG map from a shape file in QGIS for example. Does anyone know how this is possible?
Ghost
@ghost~5e74f265d73408ce4fdd76d5
When editing the CartesianChart's DefaultToolTip element and I set foreground to black, the tooltip isn't using this to set the text in the tooltip
It only sets the title of the tool tip, not the rest of the text content, so this results in it using my global textblock style and turning the text white, which clashes with the already white background of the tooltip
juanrendonls96
@juanrendonls96
Hi everyone I am kind of new in LiveCharts and I do not know so much. I have some questions does anyone have already done with drag and drop for a linechart? I really have fought a lot for 3 days and I can not came up with something. If anyone could help me I would really appreciate that.
JennyKK22
@JennyKK22
image.png
image.png
image.png
Hello, I am also new to LiveCharts. I added a blank cartesianChart to my WinForm and run it without any code. It gave a bunch of numbers. Is there a way to clear this before I add the series?
Sorry for the multipost
Echo
@bboone900_gitlab
in winform, how do I up data my chart from another thread ?
Shiv
@forGulfi_twitter
Hi, I am using multi Axes Chart. Need to find crosspoint of two chart.. Can you help me
RodBarnes
@RodBarnes
In an attempt to track down why I'm getting NullException in my chart, I cloned the Live-Charts repository and attempted to build it. It fails because it can't find the reference to LiveCharts.Helpers. LiveCharts.Events, etc. Is there another associated repository?
RodBarnes
@RodBarnes
Well, figured out the NullException happens when I have two charts in the same <Grid />. Hmmm...
RodBarnes
@RodBarnes
Figured it out: The two charts were set to use the same series - DOH!
recounter7
@recounter7
Does anyone know if it's possible to create a custom GearedPointGeometry? I would like to create a cross like in the non-Geared version...
JElimpus
@JElimpus
Hey i was looking for a community LIscence for LvCharts geared but it seems there is no way of activating a trail or community lisence
can anyone help with this
VosWouter87
@VosWouter87
Does LiveCharts work with .NET CORE and/or .NET Standard? I expected LiveCharts.NetCore to support this new version so I installed it, however I'm getting the warning:
Warning NU1701 Package 'LiveCharts.NetCore 0.9.7' was restored using '.NETFramework,Version=(several versions are listed){v4.6.1,v4.6.2,v4.7,v4.7.1,v4.7.2,v4.8'} instead of the project target framework '.NETStandard,Version=v2.0'. This package may not be fully compatible with your project.
SRIKANT KUMAR MANTRI
@MantriSrikant_twitter
halo
Matteo Marchesin
@orco-mondo
Hi everyone, I would ask if someone knows how to move the cursore using arrows key, in .net. I have already try to override ProcessCmdKey...but with no results. Pressing any arrow keys, it doesn't trigg ProcessCmdKey. can you help me?
recounter7
@recounter7
Does somone know how to limit the visible range of line series in CartesianChart? I know there is MinRange and MaxRange Property from the Axis but if I enable zoom or panning function i can get out of this range by zooming or panning. Is there a possibility to limit the range also for zooming and panning?
juanrendonls96
@juanrendonls96
`private int movingPointIdx = -1; //-1: no point moving
    private ChartValues<ObservablePoint> chartValues;
    public LUTgraph()
    {
        InitializeComponent();
    }
    public SeriesCollection Series

{
get => (SeriesCollection)GetValue(SeriesProperty);
set => SetValue(SeriesProperty, value);
}
public static readonly DependencyProperty SeriesProperty = DependencyProperty.Register(nameof(Series), typeof(SeriesCollection), typeof(LUTgraph));

public string XLabel
{
get => (string)GetValue(XLabelProperty);
set => SetValue(XLabelProperty, value);
}
public static readonly DependencyProperty XLabelProperty = DependencyProperty.Register(nameof(XLabel), typeof(string), typeof(LUTgraph));

public string YLabel
{
get => (string)GetValue(YLabelProperty);
set => SetValue(YLabelProperty, value);
}
public static readonly DependencyProperty YLabelProperty = DependencyProperty.Register(nameof(YLabel), typeof(string), typeof(LUTgraph));

    //Gets the chart points position
    private void ChartOnDataClick(object sender, ChartPoint p)
    {
        var asPixels = diagram.ConvertToPixels(p.AsPoint());
        chartValues = (ChartValues<ObservablePoint>)Series[0].Values;

        foreach(ObservablePoint val in chartValues)
        {
            if(val.X == p.X && val.Y == p.Y) //this is the clicked point
            {
                movingPointIdx = chartValues.IndexOf(val); //activate point moving
            }
        }
    }


    public void ChartMouseMove(object sender, MouseEventArgs e)
    {
        var point = diagram.ConvertToChartValues(e.GetPosition(diagram));

        X.Text = point.X.ToString("N");
        Y.Text = point.Y.ToString("N");

        if(e.LeftButton != MouseButtonState.Pressed)
        {
            return;
        }

        if(movingPointIdx == -1)
        {
            return;
        }

        var newPoint = diagram.ConvertToChartValues(e.GetPosition(this));

        chartValues[movingPointIdx].X = newPoint.X;
        chartValues[movingPointIdx].Y = newPoint.Y;
    }

    private void Diagram_MouseLeftButtonUp(object sender, MouseButtonEventArgs e)
    {
        movingPointIdx = -1; //deactivate point moving
    }

    private void AddPoints(object sender, RoutedEventArgs e)
    {
        chartValues.Add(new ObservablePoint());
    }

    private void RemovePoints(object sender, RoutedEventArgs e)
    {
        if(chartValues.Count > 4) //predetermined values
        {
            chartValues.RemoveAt(movingPointIdx);
        }
    }`
Does anyone know how to add when i click on the chart?
recounter7
@recounter7
Is it possible to change the color of Open High Low Close Series (OHLC Series)? In my case the graph is always displayed in yellow and the Series.Fill or Series.Stroke property has no effect?
recounter7
@recounter7
I found out that setting OhlcSeries.DecreaseBrush and OhlcSeries.IncreaseBrush makes it possible to change the color of the OHLC Series for my case.
juanrendonls96
@juanrendonls96
image.png
Hello guys, I am having trouble with my chart it is originally like that , I have already made some modifications so that the user can add a point whenever he clicks at any point in the chart. Just like here:
image.png
juanrendonls96
@juanrendonls96
The thing is that I do not want that the line appeas like that I am creating a method to sort my chart points, I could only redraw the chart (chart.clear) everytime the user adds a point, but that is not what i wanted. I want the visual effect that is not redrawing the crat, does anybody know how to do it? Thank you
@beto-rodriguez
Jonny5566
@Jonny5566
Hi guys, i am having some trouble regarding the same issue on the X-axis (time) which didn't make the time similar as per my previous 1st chart when creating 2nd chart. Just found that that the same issue i faced is same as the link Live-Charts/Live-Charts#449 . Need help on this Thanks
LaurentMarx
@LaurentMarx
I have a problem with my license...it was working until yesterday...but not today and when I check I have the message "Code not Valid"
lathif106
@lathif106
Hi There, I am using ohlc series, But I see thorns pointing the same direction for low and high... unlike in the example shown in website.. is there something I should do with setting few more properties?