04-16-2018 02:00 AM
Hi , How can i change vertical axes of grah depending on time at runtime and which data types use to binding.
Solved! Go to Solution.
04-16-2018 10:20 AM
The VerticalAxis
of the WPF intensity graph is backed by a dependency property, so you can bind the axis to your view model just like you bind your data source:
<ni:IntensityGraph DataSource="{Binding DataProperty}" VerticalAxis="{Binding AxisProperty}" ... >
04-17-2018 03:41 AM
Thank you for your answer, I use double array to DataProperty . Is there different data types to binding?
04-17-2018 09:55 AM
I use double array to DataProperty . Is there different data types to binding?
Sorry, but I do not understand your question:
double[]
and it is not working? If you could provide a code example, we would be happy to try and diagnose the issue.AxisDouble
for both horizontal and vertical axes, the integer array indices will be converted to double.Feel free to provide more details if I have not covered the topic you are interested in.