Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 07:28
    Jonarw labeled #1705
  • 07:28
    Jonarw commented #1705
  • 06:54
    SynapseIkaros edited #1705
  • 06:54
    SynapseIkaros commented #1705
  • 06:52
    SynapseIkaros commented #1705
  • 06:51
    SynapseIkaros commented #1705
  • 06:49
    SynapseIkaros opened #1705
  • Oct 21 13:10
    Jonarw labeled #1704
  • Oct 21 09:00
    SynapseIkaros commented #1704
  • Oct 21 08:59
    SynapseIkaros opened #1704
  • Oct 21 08:03
    ottisj closed #1701
  • Oct 21 08:03
    ottisj commented #1701
  • Oct 20 18:00
    Jonarw commented #1671
  • Oct 20 09:11
    objorke commented #1671
  • Oct 20 09:05
    objorke commented #1671
  • Oct 20 02:58
    SynapseIkaros closed #1702
  • Oct 19 17:24
    VisualMelon commented #1671
  • Oct 19 17:23
    VisualMelon commented #1671
  • Oct 19 17:23
    VisualMelon commented #1671
  • Oct 19 17:23
    VisualMelon commented #1671
VisualMelon
@VisualMelon
@tm1k sounds like you want to use a scatter plot, and attach a suitable color axis
each ScatterPoint has a Value associated with it, that will be mapped to a color on the IColorAxis
tm1k
@tm1k
that comes VERY close to what I would like to do, but it would be great to have a interpolation in between of the points. Is this possible?
VisualMelon
@VisualMelon
No, only if you use a heatmap.
Interpolation is pretty horrifying, because it's based on generating a bitmap and letting the renderer over sample it
Do you have a mock-up of what you are trying to achieve?
tm1k
@tm1k
hmm okay
let me see
VisualMelon
@VisualMelon
For the record, interpolation is rarely a good thing for interpretability. In some fields then they explicitly down sample values because fine variation is too hard to perceive.
tm1k
@tm1k
You're right
VisualMelon
@VisualMelon
OK, that looks like a heat map with a scatter on-top
tm1k
@tm1k
and the heat map is using the same scattered data as the scatter plot which is making me problems
VisualMelon
@VisualMelon
Yeah
Short of doing the interpolation manually and creating your own heatmap, I'm not sure I can suggest anything.
I'm tempted to suggest a type of plot... but I can't remember what it's called...
VisualMelon
@VisualMelon
Nope, can't think of it, but basically you fill regions according to the nearest neighbour, and threshold the regions as appropriate
tm1k
@tm1k
Jep, thanks. I'll have some look on interpolation algorithms
VisualMelon
@VisualMelon
Sorry I can't be more help
tm1k
@tm1k
np
VisualMelon
@VisualMelon
Voronoi diagram! That's what I was after. I've been meaning to implement one for a while now.
tm1k
@tm1k
aaah, I see
That would be a first step to interpolation, if followed by a blur operation
karuzzo
@karuzzo
hi to all, how can i draw annotations above axies ?
VisualMelon
@VisualMelon
You can't directly: you can ask the axes and annotations to render below the series with their Layer properties, in which case the annotations will render above the axes (but below the series)
You can also then set the annotation to be above the series
karuzzo
@karuzzo
image.png
i mean somthing like this (its OxyPlot)
VisualMelon
@VisualMelon
Yes, setting Annotation.Layer = AnnotationLayer.BelowSeries should give you that
karuzzo
@karuzzo
ok thanks
ShannonZ
@ShannonZ
Two isolated peaks connected with each other when using ContourSeries
image.png
HeatMap works well
image.png
ShannonZ
@ShannonZ
ShannonZ
@ShannonZ
ShannonZ
@ShannonZ
@VisualMelon I've attached a minimal demo to reproduce.
András Halász
@zenecsoda_gitlab
image.png
image.png
Hello, I've had an issue with using PlotView in a WPF, MVVM scenario. I'm using Caliburn.micro as the MVVM foundation and I've got to make a gantt chart which I would like to achive by filling up the plotmodel with the needed axes (DateTime and Category) and with the series (IntervalBar).
I tried everything, and the PlotView still gives a nullReference Exception when the IntervalBarSeries tries to Render. If I do all my code from the xaml.cs it works, if I do that from a ViewModel it fails all the same.
VisualMelon
@VisualMelon
Which version of oxyplot is that? Can you provide some code?
András Halász
@zenecsoda_gitlab
I tried 2.0.0 and 1.0.0, the error was the same, but 1.0.0 gave a clearer exception message
VisualMelon
@VisualMelon
OK, are you able to provide more details?
András Halász
@zenecsoda_gitlab
I worked on it, sorry for the late reply. So if I set the field to a certain plotmodel I want in my viewModel, it can render without any problems. My issue is that I don't know the data in the beginning, so I it depends on the user to provide it on different controls. So I have to set the binded plotmodel to a newly generated one from the datacontext, which does not refresh the plotview somehow
the one I set is the actual property, and I implement NotifyPropertyChange with the caliburn.micro way
image.png
András Halász
@zenecsoda_gitlab
For Example if I implement a button, that calls a method from the ViewModel that sets the Property to a newly generated PlotModel, it can't render it somehow. And If I don't use the method on the field like shown before, then I set it afterwards this way, I get the null reference exception I've shown before