11-07-2012 03:18 AM
How do I autoscale WPF graph on request? When working with WF graphs, I used something like this (enable autoscale, then disable it):
((AxisDouble)graph.Axes[0]).Adjuster = RangeAdjuster.FitLoosely;
((AxisDouble)graph.Axes[1]).Adjuster = RangeAdjuster.FitLoosely;
((AxisDouble)graph.Axes[0]).Adjuster = RangeAdjuster.None;
((AxisDouble)graph.Axes[1]).Adjuster = RangeAdjuster.None;
but in WPF graph it has no effect
Solved! Go to Solution.
11-07-2012 09:27 AM
The WPF graph does not immediately redraw all data when the Adjuster
on an axis changes. To do so manually, you can call the Refresh
method on the graph. From your example:
((AxisDouble)graph.Axes[0]).Adjuster = RangeAdjuster.FitLoosely;
((AxisDouble)graph.Axes[1]).Adjuster = RangeAdjuster.FitLoosely;
graph.Refresh();
((AxisDouble)graph.Axes[0]).Adjuster = RangeAdjuster.None;
((AxisDouble)graph.Axes[1]).Adjuster = RangeAdjuster.None;
06-19-2016 08:25 AM
how to use dendrogram graph in labview?
exempl
Z = 4.0000 5.0000 1.0000 1.0000 3.0000 1.0000 6.0000 7.0000 2.0616 2.0000 8.0000 2.5000
this graph is a dendrogram
06-20-2016 09:03 AM
Hi guerreirodopara,
This thread is super old (the last post was from late 2012), so you're much more likely to get some responses if you make a new thread instead of trying to resurrect this one. Furthermore, your question would probably be better suited to the LabVIEW board instead of the Measurement Studio board, so I'd suggest making a new thread there to see if anyone has any advice for making a dendrogram in LabVIEW.
Cason
Applications Engineering, NI