iOS - LineSeries LineJoin Overshoot?

Oystein Bjorke 6 years ago 0
This discussion was imported from CodePlex

benhysell wrote at 2014-03-02 18:06:

In the attached graph, on the 2/9 x-axis reading the line is spiking up past the marker. I could make the marker larger/line thinner, however those options don't work well for this graph.

I've tried the three different LineJoin options, but none of them seem to modify the behavior I'm seeing.

The marker is placed at the proper location, I'm hoping the line would stop as well.

Ideas on things to try?

var weightLinePlot = new LineSeries ()
                DataFieldX = "Date", 
                DataFieldY = "WeightLbs",
                Color = weightGraphColor,
                MarkerType = MarkerType.Circle,
                MarkerFill = weightGraphColor,
                StrokeThickness = 5,
                MarkerSize = 5,
                LineJoin =  OxyPenLineJoin.Miter

objo wrote at 2014-03-02 21:39:

I thinkt this was a simple error in the "MonoTouchRenderContext" where line caps and line joins where mixed. I have tried to fix it, need to verify on a iOS device.

benhysell wrote at 2014-03-06 00:59:

I just pulled default, and checked it with my app, works great!

Nice work, and thanks!