dynamic-data-display

Unable to bind the WPF ChartPlotter to the View using MVVM

岁酱吖の 提交于 2019-12-12 02:13:16
问题 I just followed this to create a simple Chart Plotter using MVVM. But I am unable to bind the data-source Output image. XAML <Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:local="clr-namespace:GrayPlotter" xmlns:d3="http://research.microsoft.com/DynamicDataDisplay/1.0" x:Class

Using Dynamic Data Display (D3) to Generate Graph with Multiple Y Axes

瘦欲@ 提交于 2019-12-12 01:31:41
问题 I have read so much material and tried so many things over the past week and I am not getting anywhere with this. I have a main window MainWindowView which has checkboxes as defined below: <CheckBox IsChecked="{Binding Path=ocv_checkbox, Mode=TwoWay}" Margin="0, 0, 0, 2" Content="OCV"/> <CheckBox IsChecked="{Binding Path=battery_temperature_checkbox, Mode=TwoWay}" Margin="0, 0, 0, 2" Content="Battery Temperture"/> <CheckBox IsChecked="{Binding Path=slope_checkbox, Mode=TwoWay}" Margin="0, 0,

WPF D3 Dynamic Data Display Multiple axes

感情迁移 提交于 2019-12-11 11:41:51
问题 I have a Dynamic Data Display chart. I am using ChartPlotter. It has a default X and Y Axis. I need to add an extra X axis and two more Y axes. How can I achieve this in XAML and dynamically in code? The data may be attached to any of these axes by the developers using these charts by providing the enum for the axis number, say, Y1, Y2, Y3 and so on or X1, X2. Currently I would like to have the above limited number of axes. Could somebody help me out with a solution to this? I know to add

DynamicDataDisplay D3:ChartPlotter zoom proplem

风流意气都作罢 提交于 2019-12-11 06:21:51
问题 I'm using a simple ChartPlotter in my C# WPF application. When I zoom in/out by mouse scrolling, both Axis are changed. How can I control the zooming by mouse scrolling so it will affect only the X-Axis? 回答1: This feature is already built into D3, if you hover your mouse over one of the axes, and do a mouse wheel scroll, the zoom is only pertained to the axis you were hovered over. If you want to replicate this in your code, you can see examples of it in the source code. 回答2: The zoom feature

DynamicDataDisplay ChartPlotter remove all plots

拜拜、爱过 提交于 2019-12-10 16:24:37
问题 In my WPF application I have a D3 ChartPlotter where I was able to plot 4 LineGraphs. This is the XAML code: <d3:ChartPlotter Name="plotter"> <d3:ChartPlotter.HorizontalAxis> <d3:HorizontalAxis Name="timeAxis" /> </d3:ChartPlotter.HorizontalAxis> <d3:ChartPlotter.VerticalAxis> <d3:VerticalAxis Name="accelerationAxis" /> </d3:ChartPlotter.VerticalAxis> </d3:ChartPlotter> where d3 is the namespace for DinamicDataDisplay, and this is (relevant part of) the code behind. var x = new List<int>();

WPF DynamicDataDisplay - Slow plotting with Markers

浪尽此生 提交于 2019-12-04 13:50:23
I am having a really hard time waiting for the ChartPlotter in D3 to show itself, when using markers. Of course I am trying to plot a Gazillion records (well, 700,000 records). When using just a line, all is well (20 seconds or so). When using markers, we're talking 5 minutes. That's not acceptable. Any ideas? Here's what I have done, with explanations under it. public static string MakeSimplePlot(double[][] xData, double[][] yData, string[] legend, string xAxisTitle, string yAxisTitle, bool[] showLines, bool[] showMarkers) { ChartPlotter plotter = new ChartPlotter(); plotter

Dynamic database table display using Jstl [duplicate]

生来就可爱ヽ(ⅴ<●) 提交于 2019-11-29 02:43:51
This question already has an answer here: Show JDBC ResultSet in HTML in JSP page using MVC and DAO pattern 5 answers I am trying to display database data using JSTL like this: My dao; public ArrayList getStudentFirstName(){ ArrayList v = new ArrayList(); Connection conn; try{ conn = db.getDbConnection(); String sql = "select STU_FIRST_NAME, STU_MIDDLE_NAME, LAST_NAME from college_students_master"; PreparedStatement ps = conn.prepareStatement(sql); ResultSet rs = ps.executeQuery(); while(rs.next()){ String firstname = rs.getString("STU_FIRST_NAME"); String middlename = rs.getString("STU_MIDDLE

Dynamic database table display using Jstl [duplicate]

落花浮王杯 提交于 2019-11-27 16:58:49
问题 This question already has an answer here: Show JDBC ResultSet in HTML in JSP page using MVC and DAO pattern 5 answers I am trying to display database data using JSTL like this: My dao; public ArrayList getStudentFirstName(){ ArrayList v = new ArrayList(); Connection conn; try{ conn = db.getDbConnection(); String sql = "select STU_FIRST_NAME, STU_MIDDLE_NAME, LAST_NAME from college_students_master"; PreparedStatement ps = conn.prepareStatement(sql); ResultSet rs = ps.executeQuery(); while(rs