Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jan 17 04:42
    hukjin commented #508
  • Jan 17 04:42
    hukjin commented #508
  • Jan 17 04:42
    hukjin commented #508
  • Jan 17 04:42
    hukjin commented #508
  • Jan 17 04:38
    hukjin commented #508
  • Jan 17 04:38
    hukjin commented #508
  • Jan 12 12:18
    fkattwinkel opened #1147
  • Jan 12 12:18
    fkattwinkel opened #1147
  • Dec 21 2021 12:53
    Tremlton opened #1146
  • Dec 21 2021 12:53
    Tremlton opened #1146
  • Dec 06 2021 20:44
    GF-Huang opened #1145
  • Dec 06 2021 20:44
    GF-Huang opened #1145
  • Nov 27 2021 13:32
    digiPHOTO-it opened #1144
  • Nov 27 2021 13:32
    digiPHOTO-it opened #1144
  • Nov 15 2021 07:34
    wasilus commented #76
  • Nov 15 2021 07:34
    wasilus commented #76
  • Oct 25 2021 04:23
    AlanManggis edited #1143
  • Oct 25 2021 04:23
    AlanManggis edited #1143
  • Oct 25 2021 04:22
    AlanManggis edited #1143
  • Oct 25 2021 04:22
    AlanManggis edited #1143
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.
Sebastian Strobl
@sebaJoSt
Hi, my y-Axis shows the values "0.1", "0.2", "0.30000000000000002" and "0.4". How can I avoid this double error in the axis? I can not format the axis, because I never know what values are coming and how many decimale places are best for the plot
StevenSagull
@StevenSagull
Can I shift values a bit to left on chart? I have candlestick and line series, and I want to center points of line series at the left side of each candlestick, not in middle as is now
boonwin
@b00nwin
Can I have individual labels for each series? right now i can make 2 series and its not shown correctly https://i.imgur.com/SMHPfX8.gif
Yu-Hsin Lu
@kerol2r20
Hello, I want to use Live chart as a 2D coordinate system.
Mean that origin point is at (0, 0) and other point around origin point.
How can I draw a X=0 and Y=0 line to enhance the relationship between points with origin point?
Wajahat
@swraza
Hello Everyone. I am trying to differentiate the scatter series by certain data attribute and doing this right now
new ScatterSeries
{
Title = "Series C",
Values = new ChartValues<ObservablePoint>(),
PointGeometry = DefaultGeometries.Triangle,
StrokeThickness = 2,
Fill = Brushes.Transparent
}
But the problem is that "DefaultGeometries.Triangle" only supports 4 different symbols what if I have more than 4?
Articrox
@Articrox
Hello Everyone! I'm currently doing a simple joystick viewer application using WindowsForms and I would like to do a chart to show the joystick movement. for example a dot or a cross that starts in the center (0,0) and as I move the joystick the dot (or cross) would move with it.
now I have all the code to normalize my area and move the dot
I just need a direction as to what type of chart and how to set the chart up