Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 05:57
    zelda9328 commented #599
  • 05:57
    zelda9328 commented #599
  • Jan 18 17:45
    nniks19 opened #1112
  • Jan 18 17:45
    nniks19 opened #1112
  • Jan 16 21:58
    AlexandrVLopatin commented #822
  • Jan 16 21:58
    AlexandrVLopatin commented #822
  • Jan 16 16:27
    Pomianowski commented #894
  • Jan 16 16:27
    Pomianowski commented #894
  • Jan 06 13:07
    vgdh commented #1108
  • Jan 06 13:07
    vgdh commented #1108
  • Dec 28 2020 10:09
    xiaoliangde commented #1073
  • Dec 28 2020 10:09
    xiaoliangde commented #1073
  • Dec 23 2020 20:17
    zainpan commented #650
  • Dec 23 2020 20:17
    zainpan commented #650
  • Dec 22 2020 00:35
    vcloudtree closed #1111
  • Dec 22 2020 00:35
    vcloudtree closed #1111
  • Dec 22 2020 00:35
    vcloudtree commented #1111
  • Dec 22 2020 00:35
    vcloudtree commented #1111
  • Dec 21 2020 07:24
    Christoph1972 commented #669
  • Dec 21 2020 07:24
    Christoph1972 commented #669
Nniks19
@nniks19_twitter
I need help guys, is anyone here? :(
Is there any example of this with for loops? or foreach
where you have to addvalues with index
j1mb0
@j1mb0
Hello. I want to fix X Axis separators in a constant changes graph I made for an oscilloscope like display. Currently it wiggles a lot :( Any tips on how to do this?
I am fixing my X Axis limits to always show 1000 milliseconds. I want the separators to not move from update to update, but to instead update their labels. I cannot guarantee that the number of points on the graph will always be constant.
j1mb0
@j1mb0
I am using winforms
j1mb0
@j1mb0
I figured it out - my constant changes values were being updated by event notification, which could happen with unequal time spacing. On my axis update if I just do some additional processing to make sure the maximum X axis time is evenly divisible by the separator time, then my separators remain at fixed draw positions in my chart. Thanks for having this channel here to rubber ducky off of.
heinsea
@heinsea
Can I export it as PNG without displaying the chart control? I have lots of data to sampling using Task class for less time, then render them on the chart in a window and export it as PNG. it can be done well. But I don't know how to achieve it if I don't display the window (my boss want it, so sad). I am not familiar with The Thread process and UI Thread, how to handle all these thing and avoid thread conflicts if exist Task ? When the PNG to be exported that is also a big question for me.... so hard.... (:з」∠)
monhjo7
@monhjo7
Hello, thank you for always helping me. Can I use the zoom function without the mouse wheel?
heinsea
@heinsea
maybe you can control the X Axis just like this if you use the CartesianChart , you can set the Attributes MinValue and the MaxValue of the XAxis then control the zoom of chart
private void ZoomIn(object sender, RoutedEventArgs e)
{
if (ZoomLevel < ZoomLevel_Max)
{
HalfPointsCountPerZoom = (TimeAxis.MaxValue - TimeAxis.MinValue) / 4;
            TimeAxis.MinValue += HalfPointsCountPerZoom;
            TimeAxis.MaxValue -= HalfPointsCountPerZoom;

            if (TimeAxis.MinValue < 0)
            {
                TimeAxis.MinValue = 0;
            }
            if (TimeAxis.MaxValue > TimeAxis_TotalPointsCount)
            {
                TimeAxis.MaxValue = TimeAxis_TotalPointsCount;
            }

            ZoomLevel++;
        }

    }  
Павлик
@TatShevchenko_twitter
This is the code from the example. How to add candles in a loop? I have a file with OHLC. How do I add them all to the chart?
cartesianChart1.Series = new SeriesCollection
{
new CandleSeries
{
Values = new ChartValues<OhlcPoint>
{
new OhlcPoint(32, 35, 30, 32),
new OhlcPoint(33, 38, 31, 37),
new OhlcPoint(35, 42, 30, 40),
new OhlcPoint(37, 40, 35, 38),
new OhlcPoint(35, 38, 32, 33)
}
}
};
spaseur04
@spaseur04
getting an error message when using "ChartValues = new ChartValues<CorrectSquaresModel>();" The error is "using the generic type 'ChartValues<T>' requires 1 type arguments". Very much a beginner. I have in my code the following
Daniel Mittelstadt
@DMtsdt
@spaseur04 seems like you're trying to define a variable, try
var chartValues = new ChartValues<CorrectSquaresModel>();
then you can set chartValues in your series:
YourSeries.Values = chartValues;
Wajahat
@swraza
hello beto
I need your help to achieve 1) being able to select multiple data points using drag/drop or Lasso tool on the chart
2) show right click context menu on the chart
monhjo7
@monhjo7
thank U!!
Hello, thank you always. Is it possible to display only the data I want to display in the data tool tip?
Chris Davies
@ChrisRFLogic_gitlab
Hi, I'm unable to sign into LVcharts, using microsoft login, just returns. Any help?
laguardiajulio
@laguardiajulio
hi
this page not longer working?
Ivan Knezovic
@ivanknezovic
Hello, somebody use geared with NET 5.0 ? In Nuget you can not find version for NET 5.0. I have tried with Version 1.2.9. it works but there is Warning "Package 'LiveCharts.Geared 1.2.9' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8' instead of the project target framework 'net5.0-windows7.0'. This package may not be fully compatible with your project.
miket83706
@miket83706
LiveCharts is a great product. Had a few questions so I emailed you @ your support email. Please check. Thanks so much!
@ChrisRFLogic_gitlab It works for me just now.
Wajahat
@swraza
Hello there, AddRange() method not working for ChartValues<ObservablePoint> any help?
Nniks19
@nniks19_twitter
hey, is anyone online?
Wajahat
@swraza
hello can anyone help me? I want to select multiple chart points by drag and drop/lasso like feature on live charts
mtk1976
@mtk1976
hi, impossible to buy geared license, fails on msn connection
Daniel Mittelstadt
@DMtsdt
I believe it's abandoned, as well as support for this project
miket83706
@miket83706
I just purchased the geared library about a week ago. Emailed support a few questions on the 13th. No reply what so ever yet.
KiwiLostInMelb
@KiwiLostInMelb

@wajahat > Hello there, AddRange() method not working for ChartValues<ObservablePoint> any help? @Wajahat

I use add observable point similar to the following..... private ObservablePoint[] _PowerHP = new ObservablePoint[ListSize];
_PowerHP[Index] =
new ObservablePoint(
XAxisValue,
Math.Round(Convert.ToDouble(row["PowerHPFiltered"]), 1)
);

Series_PowerHP_Base.Values.AddRange(_PowerHP);

Wajahat
@swraza
Great thanks @KiwiLostInMelb I will check and will let you know. Moreover, can you also guide me how can I select multiple points from chart using mouse? using drag drop/lasso etc?
Bartłomiej Siedmiogrodzki
@bsiedmiogrodzki_gitlab
Hello, does anyone know if the email Support@lvcharts.net is active? Nobody replies to my email
miket83706
@miket83706
@bsiedmiogrodzki_gitlab See my comment above. I still have not received any reply to my email. So NO SUPPORT. This is false advertising since the website said you get additional support and I have not received any additional support what so ever. If I would have know it was a dead product I would have not purchased the "geared" version with the additional support.
1 reply
Bartłomiej Siedmiogrodzki
@bsiedmiogrodzki_gitlab
@miket83706 I have a problem with activation too, i don't now what i should do, because i bought license and livecharts hasn't received me acrivation code yet.
miket83706
@miket83706
@bsiedmiogrodzki_gitlab For some reason my activation worked. I bought the geared version about 10-14 days ago. NO SUPPORT from live-charts. I would wait a couple days and then if still no response from support, I would contact your credit card company and try to get a refund. That's what I am going to do since I am not getting any support.
Nniks19
@nniks19_twitter
                cartesianChart1.DataTooltip.SelectionMode = LiveCharts.TooltipSelectionMode.OnlySender;
this isnt working
can someone help please? Since all creators of this project wont answer :(
this wont work in winforms
Error CS1061 'UserControl' does not contain a definition for 'SelectionMode' and no accessible extension method 'SelectionMode' accepting a first argument of type 'UserControl' could be found (are you missing a using directive or an assembly reference?)
KiwiLostInMelb
@KiwiLostInMelb
@swraza Sorry mate. I dont need to use that feature so have not tried it.
KiwiLostInMelb
@KiwiLostInMelb
@nniks19_twitter Tooltips - this works for me.
LiveCharts.Wpf.DefaultTooltip myDefaultToolTip = new DefaultTooltip(); myDefaultToolTip.SelectionMode = TooltipSelectionMode.SharedXValues; myDefaultToolTip.ShowSeries = true; myDefaultToolTip.ShowTitle = true; lcChartTime.DataTooltip = myDefaultToolTip;
StevenSagull
@StevenSagull
Hello, is it possible in winforms, when I put 50points into chart, I want after .Add that it automatically be zoomed in and show only 10 last points?
KiwiLostInMelb
@KiwiLostInMelb
@StevenSagull yes. You can populate the series and set the XAxis.SetRange(start, end) to zoom to the data you want.
StevenSagull
@StevenSagull
Nice, solved.