These are chat archives for oxyplot/oxyplot

22nd
May 2015
PsykotropyK
@PsykotropyK
May 22 2015 06:57
Hello. I don't understand how to automatically adjust the y axis while panning/zooming. When i check the Candles + Volume (combined volume), adjusting axis I see that the axis are correctly adjusting themselves, but the code given doesn't seem to show the parameter used to do it. What am I missing?
wuZheng
@wuZheng
May 22 2015 13:05
Figured out the histogram problem, manually specifying max/min for the Category series is probably not supported since it bases its ranges off of an itemsource...
wuZheng
@wuZheng
May 22 2015 14:06
Err, my bad, misread the exception, Overflow, not StackOverflow... I'm not sure what that means though...
kc1212
@kc1212
May 22 2015 14:17
@PsykotropyK I believe 'AdjustYExtent' is the function you're looking for, assuming you're talking about CandleStickAndVolumeSeriesExamples.cs.
kc1212
@kc1212
May 22 2015 15:00
I want to rephrase my previous question - May 20 2015 11:28 PM. Is it possible to bind two XAxes to a single Series? In other words I want one x-axis at the top, another one at the bottom, and have the two move dynamically with my series.
PsykotropyK
@PsykotropyK
May 22 2015 17:24
@kc1212 thanks I find my way (i think) : got the sources, find the CandleStickAndVolumeSeriesExamples.cs, and indeed find a Private void static AdjustYExtent which I implemented in my code.
It is not a native function from axis or form the candle stick & volume serie (as far as I understood :) )
wuZheng
@wuZheng
May 22 2015 18:18
So, some progress on the Overflow exception, apparently the heatmap Data can't be too small (speculation)? But now I see a histogram on top of a clear field background that was supposed to represent the full range of the palette assigned to the LinearColorAxis
wuZheng
@wuZheng
May 22 2015 20:27
Solved the HeatmapSeries thing too, was assigning corner values for the image (X0, X1, Y0, Y1) based on axes values that were still default. Since the palette size is fixed, I just set them to those values... If anybody was interested, the working example: http://pastebin.com/nCSLHfXQ