0

I would like to be able to hide the X-Axis (Labels, Ticks, etc) in the ChartPlotter of D3 (DynamicDataDisplay). The amount of documentation available for D3 is basically non-existent.

Any help would greatly be appreciated.

Kingamoon
  • 1,467
  • 1
  • 18
  • 32

3 Answers3

1

As far as I can see in the sources the AxisBase is a ContentControl so you should be able to make it invisible.

That might be too crude so you could also take a look at the default style/template, copy it and change it to hide/remove those part that you want to hide.

Emond
  • 50,210
  • 11
  • 84
  • 115
0
plotter.HorizontalAxis.Remove();

in code-behind. Just done it in my WPF app.

guest
  • 1
-1

MainVerticalAxisVisibility="Collapsed" works

Brian Tompsett - 汤莱恩
  • 5,753
  • 72
  • 57
  • 129