live-charts / live-charts Goto Github PK
View Code? Open in Web Editor NEWSimple, flexible, interactive & powerful charts, maps and gauges for .Net
Home Page: http://lvcharts.net/
License: MIT License
Simple, flexible, interactive & powerful charts, maps and gauges for .Net
Home Page: http://lvcharts.net/
License: MIT License
Hello dear Rodriguez
First, I want to thank you for this contribution it's very an easy way to create charts
Then, In this new release 0.4 the Piechart does not hover (show tooltip) i tried PieChart.Hoverable=true like the older release but it doesn't work.
Thank you
Can't seem to turn this off. My users are going to expect to be able to click into a specific data point with this feature on.
Would like the ability to provide my own content for the tooltip or to turn on/off data shown in it.
How do I add legend in c# not in xaml into a PieChart? I trying to add it in winforms, any pointers how to do it?
Hello,
it would be great if the library will be supported in C# 4.0.
I changed lines like this one:
var labels = SecondaryAxis.Labels?.ToArray();
in that one:
var labels = SecondaryAxis.Labels != null ? SecondaryAxis.Labels.ToArray() : null;
and then it will compile and work unter C# 4.0
These are not much changes but a few.
Try to compile it with Visual C# 2010 Express for example and yu'll see it.
Regards
When adding a line series to a bar chart as the first series in the collection, the mouse-over only works on the line chart. It doesn't respond to the mouse being over one of the bars.
With the mouse near the line series point on the bar the mouse is over:
With the mouse closer to a line series point for another bar, but still over the same bar:
I am trying to use a line or bar chart to graph a total number of tickets. In this case it doesn't make sense to plot anything below zero but I am unable to control it.
The error thrown is
Exception thrown: 'System.ArgumentException' in WindowsBase.dll
Additional information: '-0.62894699242749' is not a valid value for property 'Width'.
Hi,
It would be great to be able to add Text objects, or images, to the chart or series similar to what ZedGraph provides in ZedGraphControl.GraphPane.GraphObjList.Add(text). Thanks.
Cheers
Since it was based on many pieces of code, each peace works appart, we can join them all in one loop.
I'd like to add Candlestick chart with the next values on each point: date, time, open, high, low, close, volume. What steps should I do? Make copy of Series class and swith just doubles to candle class with mentioned properties? Then create CandleSeries class inherited from this Series copy and write a logic in Plot methods?
Worked nicely, but there is an issue.
PieChart.Series = new ObservableCollection
{
//if you add more than one serie to pie chart, they will be overridden
new PieSerie
{
PrimaryValues = new ObservableCollection { 8 }, // Only one component
Labels = standardLabels
}
};
=> Then the chart animates and disappears.
Hello,
it would be great to add multiple y axes (primary axes) für the line series plot. So that you can say, line series 1 and 2 will use primary axis 1 and line serie 3 will have the separate primary axis 2.
Regards
In a piechart, if an observable collection contains only zeros, it crashes.
when adding new point to bar or stacked bar chart new bars do not animate. this is beacause by default it disables animation when charts grows, and this is fine for line chart and some others but not when using bars. It should be a protected variable that handles this behavior.
So I have a bar chart the following:
Primary Values = Assigned, In Progress
Secondary Values = 876, 119
When I add this to the chart I see this...
But I have zoom enabled and when I zoom it changes to this...
it does the same thing when zoom is disabled but it will always look like the first screenshot.
Would like to receive a Click event or equivalent when clicking on a data point. Should indicate which data point was clicked.
To: @gregsdennis
I am doing a lot of changes in this library, with the changes you made and the ones i am about to push this 0.5 version will be the best by far (now line charts can draw 1,000,000 points in less than 10 ms). I am just seeing some new methods, that I would like to know what are they for what like this one:
https://github.com/beto-rodriguez/Live-Charts/blob/master/Charts/Charts/Chart.cs#L748
thanks
Tried to do this:
<lc:Axis MinValue="0" Labels="{Binding PrimaryAxisLabels}" Separator="{x:Null}"/>
Got a NullReferenceException.
Instead of "Title Value" in the IndexedToolTip, there's no option to add binding text before the Value.
For example:
"High Temp 90 degrees" could be changed to "High Temp Dry 90 degrees", or "Low Temp 30 degrees" could be "Low Temp Frosty 30 degrees".
If there is some kind of overload I can use to add a descriptor before the value, that would be fantastic but I'm not quite sure how to implement it. I'd suffice with the tooltip, but the tooltip doesn't seem to display at all.
based on #30 (comment), please check this
The XAML is a lot cleaner being able to bind most things as of v0.5.6, but I would like to be able to bind the axis label formatter. Can this be updated to a Dep Prop?
I set the stroke and fill for a line series in a bar chart.
<lc:BarChart.Series>
<lc:BarSeries PrimaryValues="{Binding MetricData}" Title="{Binding MetricName}"/>
<lc:LineSeries PrimaryValues="{Binding GoalData}" Title="{Binding MetricName}"
Stroke="Green" Fill="Transparent"/>
</lc:BarChart.Series>
This is the chart I get:
If we enable Paralell or async drawing will buff performance when many values and series
Is live-charts could use mvvm pattern binding data and display? If it can,how to use?Thanks!
this library could include a static list of formaters, for example currency, short date, long date, number, upper case, lower case.
Hi, I'm trying to use PieChart and I set
PrimaryValues="{Binding VM.Obj.Prop, UpdateSourceTrigger=PropertyChanged, Mode=OneWay}"
VM.Obj.Prop is a property:
public List Prop
{
get {return _prop;}
set {
_prop = value;
RaisePropertyChanged(() => Prop)
}
}
So in RaisePropertyChanged() I generate PropertyChanged event but chart doesn't change. only If I resize the window it will be redrawn.
Am I doing everything right or I miss smth?
Zooming works well, but it always zooms according to 0,0 chart point, it would be more user friendly if we move on X and Y according to user position on chart.
I'm updating a line chart dynamically and my data flat-lines to a single value. Instead of displaying a flat line the chart disappears entirely.
When Series is null
this exception is thrown, in my case series are not initialized with the the view because they require to request data to the sever, Series.Plot
should ignore this if series == null
or any of the series in collection is null
, maybe its cause becasue labels property is null
It would be great if I could name a serie so if I have multiple series it will show the value and the name
I think animating on rezising does not looks good
I'd like to see the ability to rotate the axis labels so that I can display them veritically or at some arbitrary angle.
I have been finding chart library with zoom and pan supported so I would like to know if your library could be supported for wp8 or not
Hello,
one more request: It'll be glad to have axes titles at the line series plot.
Like "Time [s]" (horizontally below the secondary x axis) or "Cost [€]" (vertically next to each of the primary y axes).
Regards
A lot of errors on debugging attempt in "WPFExample" project with 0.5.6 library. Does it really works correctly?
I think it would nice to be able to merge chart types. For example, have a bar chart with a line on it.
Currently pie animations need to redraw all the chart everytime you make a change, it would be better to start from data is now, to the next state. From #47, This issue also refers to add it to many series as possible
Hello,
I hope this section here is the right one for such questions. I can't findy any other discussion possibility.
When I set the minimum and maximum of the secondary axis like the following, this axis won't be fixed:
LineChart.SecondaryAxis.MinValue = 0;
LineChart.SecondaryAxis.MaxValue = 1000;
A new added point will be drawn on the right even if I have only 100 points in the chart. I expected that the values will be shown between 0 and 100 of the secondary axis and not over the whole range from 0 to 1000.
What do I need to change to get this behaviour?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.