Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Oct 25 04:23
    AlanManggis edited #1143
  • Oct 25 04:23
    AlanManggis edited #1143
  • Oct 25 04:22
    AlanManggis edited #1143
  • Oct 25 04:22
    AlanManggis edited #1143
  • Oct 25 04:22
    AlanManggis edited #1143
  • Oct 25 04:22
    AlanManggis edited #1143
  • Oct 25 04:21
    AlanManggis edited #1143
  • Oct 25 04:21
    AlanManggis edited #1143
  • Oct 25 04:20
    AlanManggis opened #1143
  • Oct 25 04:20
    AlanManggis opened #1143
  • Oct 14 13:34
    Melv1no edited #1142
  • Oct 14 13:34
    Melv1no edited #1142
  • Oct 14 13:33
    Melv1no commented #1142
  • Oct 14 13:33
    Melv1no commented #1142
  • Oct 14 13:33
    Melv1no commented #1142
  • Oct 14 13:33
    Melv1no commented #1142
  • Oct 14 13:33
    Melv1no edited #1142
  • Oct 14 13:33
    Melv1no edited #1142
  • Oct 13 12:12
    Melv1no edited #1142
  • Oct 13 12:12
    Melv1no edited #1142
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
a very similar situation as that of @kerol2r20
Daniel Mittelstadt
@DMtsdt
@Articrox Basic Line Chart should do the trick
You can set up secondary axes with differently styled dividers at 0,0 as a "crosshair"
If you mean to do a point that simply tracks the joystick movement a simple ObservablePoint should do
Set the LineSeries fill to transparent and LineSmoothness= 0
Articrox
@Articrox
@DMtsdt Thank you , I'm just walking to the office, I'll give it a go
Borjamao
@Borjamao
Hi, i'm playing with LegendLocation and would like to place it on "Top-Right", in order to place some other elements below, but i'm not beeing able to get it working... Is it possible?
Pedro G. Dias
@digitaldias
Hello, I'm trying to create some vertical bar charts with high and low watermark lines (min-max), the idea being that the columns should all be within min/max values. I haven't been able to find where to create such - is it just a case of adding the min/max values as an extra seriescollection?
Daniel Huinda
@DannyTheSloth
Is it possible to change the color of the heatmap displayed on the GeoMap?
atjbat
@atjbat
Anyone know how I can change the bar white of material chart red a sx of example?
image.png
KHALED LAKEHAL
@KHALED-LAKEHAL
Capture.PNG
hello set space bettwen axis bottom label and last line
spaseur04
@spaseur04
I am trying to create a vertical bar chart shows the number of times a particular square is chosen in a random selection of squares. So the chart would change after each iteration or random square was chosen. I am looking a routine that would have 100s of thousands of iterations and thus the vertical bar chart would be changing 100s of thousands of times. I do I do this? I looked at the sample creating the vertical bar chart, but not sure how I update the chart after each iteration. Be sure to answer in very simple terms. I am a novice trying to learn how to do charts in WPF and C#. Thanks
12 replies
Martin Wollmann
@doc_mw_twitter
Hello Communicate, i'm stucked a little bit, it's a very simple thing actually, but i can't find it. I have changed the default legend to have a bit formatted on my chart, but what i can't do is getting a bit more space between two entries. Can anyone assist on this? My current Code
<lvc:CartesianChart.ChartLegend>
<lvc:DefaultLegend BulletSize ="25" FontSize="{Binding Source={x:Static p:Settings.Default}, Path=FontSizeNames, Mode=TwoWay}" MinWidth="500" Padding="20" UseLayoutRounding="False" IsEnabled="False" TextOptions.TextFormattingMode="Display" HorizontalContentAlignment="Stretch" />
</lvc:CartesianChart.ChartLegend>
Giacomo Nasi
@giacomo.nasi_gitlab
Good Evening, in the picture below you can see the edges (in red) of the graph graphic component, but the plot is actually smaller than the red margin (green edges). How can I get dimensions and coordinates of the green rectangle?
Thank you in advance,
Giacomo
image.png
Dominic Saladin
@DSaladinCH
Good afternoon, is it possible to show only selected dates in a CartesianChart? I would like to show only the weekdays (without saturday and sunday) of multiple weeks.
Thanks,
Dominic
AlbertLiv
@AlbertLiv

Good night, i don't know in wich part you can see (or something related to) how to graph a Data Table of Sql, but in this case the data table is generated in real time. I need to use mappers.xy, the part of constant change or something like that?

(I already try to do it, the table generated in a using method, but when i tried to graph it, saving the data in a list, it doesn't work) (I reaally feel lost in this)

Martin Wollmann
@doc_mw_twitter

grafik.png

@AlbertLiv
Have your tried it like this?
may that give you a hint. I use a Datatable to and filling my chart by converting the values per column into ChartValues
To update the chart you need to re-apply the Datacontext to the Datatabl

Good night, i don't know in wich part you can see (or something related to) how to graph a Data Table of Sql, but in this case the data table is generated in real time. I need to use mappers.xy, the part of constant change or something like that?

(I already try to do it, the table generated in a using method, but when i tried to graph it, saving the data in a list, it doesn't work) (I reaally feel lost in this)
Have your tried it like this?
may that give you a hint. I use a Datatable to and filling my chart by converting the values per column into ChartValues
To update the chart you need to re-apply the Datacontext to the Datatable

githubmkk
@githubmkk
Is there anyway to add scrollbar to legends in livecharts. currently on my chart I have 100+ series in my seriescollection when I enable legends then legends take a lot of space. it will be good if legends can show scroll bar
Giacomo Nasi
@giacomo.nasi_gitlab
Hi can you help me with my question of 9th february? thank you
Martin Wollmann
@doc_mw_twitter
@giacomo.nasi_gitlab the green part is probably the location of your series collection itself.
Giacomo Nasi
@giacomo.nasi_gitlab
@doc_mw_twitter thank you, but is there a way to get its coordinates and size?
Dominic Saladin
@DSaladinCH
Does anyone know the answer to my question of february 9th?
Wajahat
@swraza
Hello I want to have my yaxis title to be rotated at 0, I found Axis.UpdateTitle() method but not able to use it, can anyone share an example of it?
Gigante
@GiganteX
Greetings. How to add visual elements to a cartesian chart? can't find any example code except this XAML: https://lvcharts.net/App/examples/v1/wpf/Visual%20Elements , I suppose the VisualElements should bind to a VisualCollection in the code-behind, but it just crashes. I need the cs code.....
Wajahat
@swraza

@GiganteX, I was facing the same issue. Here you can find a number of livecharts examples. https://github.com/Live-Charts/Live-Charts/tree/6723ec02f05ce8aeee0a1891c597cf04dcb0bc34/Examples/Wpf/CartesianChart/UIElements

Let me know if you are still unable to do it

Gigante
@GiganteX
Hey Wajahat, thanks! I'll take a look!
MikeeOxley
@MikeeOxley

Hi, I am new to live charts, new to WPF too. I am trying to show a graph that has inspections by date.
Left Axis must have the dates the inspection are on and bottom must have the inspection number on it ... 1,2,3,4,5 it never goes past 10.

I have SQL table that has Inspection Number field and date field, I want to get that and show it on my chart but cant seem to find any tutorial that teaches me how to use Select * form elements where id='1' and return the 5 or 10 inspection dates and show it on my graph as Planned inspection vs Actual Inspections on line chart.

Can anyone please point me to a good tutorial that is easy to understand please. Thank you

Omar Ibrahim
@OSMIbra
@MikeeOxley Which part exactly are you struggling with right now? Extracting the data from the database?
MikeeOxley
@MikeeOxley
I can extract the inspection number, but my graph does not show on the left axis what date it was.
MikeeOxley
@MikeeOxley
or x axis doe snot show dates
Richard Pinter
@freamdev
hello, anyone managed to get around this problem? Live-Charts/Live-Charts#609 geared:ScatterPlot only draw circles for me
or alternatively a work around where i can use a geared and nongeared chart type at the same time would also work
Omar Ibrahim
@OSMIbra
@MikeeOxley Show your code.
KHALED LAKEHAL
@KHALED-LAKEHAL
Capture.PNG
1 reply
hello how show line when use StackedColumnSeries with null value
retechdvs
@retechdvs
Hello, i can't use LiveCharts in UWP application with target 1809. If you know the answer, please tell me
anivrutti
@anivrutti
I'm facing issue with liveCharts if all points which has been plotted are double.NaN, then grid lines and its values are not visible for x axis
Louisoix
@Louisoix
Hi, I have a problem: When I move cursor into the chart, the chart will zoom in a little automatically, I don't want to zoom in, I want to the chart be stable size.
HEBERT8092
@HEBERT8092
image.png
Hi, I can't display all labels on X axis. If I have less six columns, it's ok. But more, it's ko.
dp297
@dp297
Hi people,
kinda new to LiveCharts.
I am trying to formulate my code for DateTimePoint series...and I am having great difficulty in the correct representation of the X-axis in a dd/mm/yyyy format.
Would it be possible to point me to a rather complete paradigm so I can get the handle of it?
I would appreciate it
DanSagher
@DanSagher
Hi,
I'm working with CartesianChart, Is there a way to get notified when a line's stroke got clicked?
I am familiar with DataClickCommand but I'm looking for event for clicking somewhere on the stroke and not only the points.
Thanks.
Artmic2021
@Artmic2021
I love the LiveCharts component, i wrote a couple pie/bar test charts, works good on Windows 10, does anyone know if it works on Windows Server 2012 R2 ???? i can't seem to run the Windows Forms exe on Server 2012r2 yet it works fine on Windows 10 Pro
xiaomumo
@xiaomumo
您好,通过官网我们购买了LiveChart.Geared个人版本,当我在项目中使用该控件的时候提示未能加载“LiveCharts.Definitions.IGroupedStackedServicesView”,错误提示为{"未能从程序集“LiveCharts, Version=0.9.7.0, Culture=neutral, PublicKeyToken=0bc1f845d1ebb8df”中加载类型“LiveCharts.Definitions.Series.IGroupedStackedSeriesView”。":"LiveCharts.Definitions.Series.IGroupedStackedSeriesView"}