Comments (21)
It is working on Avalonia, just that view is obsolete, currently I am using the LiveChartsCore.SkiaSharpView.Avalonia project
from livecharts2.
BTW, this is such a great library. So glad to see it developed!
from livecharts2.
Oh arses ... I was looking to use this on AvaloniaUI project.
from livecharts2.
Yes Avalonia samples are updated
from livecharts2.
Dude, you get a ROCKET!!! :)
from livecharts2.
Which file caused the issue? is everything working now?
from livecharts2.
Actually I just changed the path in the project properties but it seems there are a few other instances where it's looking for files in your local user directory.
from livecharts2.
it seems that the documentation file is pointing to my pc:
<DocumentationFile>C:\Users\Beto\source\repos\LiveCharts\src\skiasharp\LiveChartsCore.SkiaSharp.Avalonia\LiveChartsCore.SkiaSharpView.Avalonia.xml</DocumentationFile>
https://github.com/beto-rodriguez/LiveCharts2/search?q=beto%2F
for now, try to uncheck it, from vs project properties
or just remove the DocuimentationFile
element, it is not required to compile the project
from livecharts2.
Yeah, I dealt with those it's the 667 other compiler errors and code issues ReSharper is reporting that has me stumped at the moment.
Just opening the solution has a stack of errors before even running a build. Is there an environment setup document I've completely missed?
An example is in CartesianChart
VS cannot resolve ICartesianChartView
and ReSharper wants to import using LiveChartsCore.Kernel;
namespace in order to resolve it.
That same file has using LiveChartsCore.Context;
as a namespace which cannot be resolved.
I think these might all be misleading. They all seem to be related to the Uno projects. As far as I know there isn't any specific tooling to install to get Uno running and I have all the Uno prerequisites installed already.
Not sure what to check next to be honest.
from livecharts2.
Please unload the Uno Project, it is paused by now
from livecharts2.
Ahhhhhhhhhh, will try.
from livecharts2.
This is how it looks for me:
Please let me know if you were able to make it run, so I can fix it also.
from livecharts2.
Hmm ... same build issues.
In LiveChartsCore.AvaloniaView.CartesianChart
using LiveChartsCore.Context;
is erroring as unresolvable as is ICartesianChartView
VS/ReSharper wants to import using LiveChartsCore.Kernel;
When I allow it, it adds two namespaces:
using LiveChartsCore.Kernel;
using LiveChartsCore.Measure;
Even after importing that namespace, the var stylesBuilder = LiveCharts.CurrentSettings.GetStylesBuilder<AvaloniaDrawingContext>();
line cannot resolve the GetStylesBuilder
method.
All very odd.
from livecharts2.
sorry, also please remove the obsolete avalonia view
Need to clean the repo!
from livecharts2.
SWEEEEEEEEEEEEEEEEEEEEET!!!! :)
I use 0.9.7 in a .NET Framework so finding this working in AvaloniaUI is just fantastic. Is the Avalonia sample up to date?
from livecharts2.
IT BUILDS!
So I've removed
LiveCharts2\samples\UnoSample\UnoSample.Droid\UnoSample.Droid.csproj
LiveCharts2\samples\UnoSample\UnoSample.iOS\UnoSample.iOS.csproj
LiveCharts2\samples\UnoSample\UnoSample.macOS\UnoSample.macOS.csproj
LiveCharts2\samples\UnoSample\UnoSample.Skia.Gtk\UnoSample.Skia.Gtk.csproj
LiveCharts2\samples\UnoSample\UnoSample.Skia.Tizen\UnoSample.Skia.Tizen.csproj
LiveCharts2\samples\UnoSample\UnoSample.Skia.Wpf\UnoSample.Skia.Wpf.csproj
LiveCharts2\samples\UnoSample\UnoSample.Skia.Wpf.Host\UnoSample.Skia.Wpf.Host.csproj
LiveCharts2\samples\UnoSample\UnoSample.UWP\UnoSample.UWP.csproj
LiveCharts2\samples\UnoSample\UnoSample.Wasm\UnoSample.Wasm.csproj
LiveCharts2\samples\UnoSample\UnoSample.Shared\UnoSample.Shared.shproj
LiveCharts2\src\avalonia\LiveChartsCore.AvaloniaView\LiveChartsCore.AvaloniaView.csproj
LiveCharts2\src\skiasharp\LiveChartsCore.SkiaSharp.Avalonia\LiveChartsCore.SkiaSharpView.Avalonia.csproj
LiveCharts2\src\skiasharp\LiveChartsCore.SkiaSharpView.Uno\LiveChartsCore.SkiaSharpView.Uno.csproj
And it's now building fine. Thanks!
from livecharts2.
I can do a PR if you like?
from livecharts2.
AppShell Xaml also has a reference to a missing namespace XamarinSample.Views
from livecharts2.
The PR would help.
Are you familiar with SkiaSharp/Avalonia?
The obsolete Avalonia view is there because I am not sure if Avalonia will now only work with SkiaSharp. The current view requires Avalonia to run on SkiaSharp, while the "Obsolete view" does not depend on SkiaSharp.
You can also safely remove that missing namespace in the Xamarin project, I am not sure why it is asking for it, also Xamarin samples should be up to date.
from livecharts2.
Just did the PR. I've just this weekend picked up AvaloniaUI for a dashboard project. Hence looking for Avalonia compatible charts so I'm very new to it.
Skia I've used on Xamarin projects and wotnot.
from livecharts2.
Fixed with #30 and 1114d50, 6e1ac95, 331de94, d509f83
from livecharts2.
Related Issues (20)
- Livechart width doesn't autofit in Listview HOT 1
- Column/Bars MinWidth
- how to draw a color between two line?
- How to make DrawMarginFrame only show left and bottom borders?
- ChartPointPointerDown event issue with scatter series
- https://blazor-livecharts.controli.app/ TLS cert expired.
- LiveChartsCore.SkiaSharpView.Uno.WinUI causes build issue in Uno 5.3.90 HOT 1
- maui livecharts not working .net7
- The operation of the ScrollViewer container
- Scatter Series geometry size calculation - option to consider all series
- Enhanced Flexibility for Legend Positioning
- Making LegendPosition not hidden for CartesianChart causes crash in Avalonia HOT 1
- Classic Tooltips
- Does not work HOT 2
- How do I integrate User Control? HOT 1
- How do I make it work? HOT 1
- in desk chinese characters work well,but in browser (wasm) chinese become square HOT 4
- Chart was unable to show up correctly while using WPF sample.
- License Issue and Password Recovery Assistance Needed
- The LiveChart for Uno Wasm is not rendering on a hosted machine where the machine is accessed using IPAddress.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from livecharts2.