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.

3 Answers 3

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.

0
plotter.HorizontalAxis.Remove();

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

-1

MainVerticalAxisVisibility="Collapsed" works

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.