How can I show the plot points in Oxyplot for a line Graph?

后端 未结 2 1991
伪装坚强ぢ
伪装坚强ぢ 2021-02-09 07:35

Here is the xaml code to my graph:



        
相关标签:
2条回答
  • 2021-02-09 08:15

    From the linked discussion:

    This should be covered by the Marker* properties in the LineSeries See examples in the Example browser.

    It looks like you have to set MarkerFill and MarkerType. To show only markers (and no line), set the Color to Transparent.

    <oxy:LineSeries ItemsSource="{Binding MyDataPoints}" 
                    Color="Transparent" 
                    MarkerFill="SteelBlue" 
                    MarkerType="Circle" />
    
    0 讨论(0)
  • 2021-02-09 08:21

    Answered on the Oxyplot forums for those who find this.

    https://oxyplot.codeplex.com/discussions/528893

    0 讨论(0)
提交回复
热议问题