dynamic-data-display

Legend outside the plot

一笑奈何 提交于 2021-01-28 21:02:53
问题 do you know how can I put the Legend outside the plot area? (Both in code and in xaml) Thank you for your help! cis 回答1: There is no implementation in the current D3 library to move the legend outside the plotter. The most that can be done is to move the legend to a different place in the plotter by editing the Legend.xaml.cs file in the source code. You will have to change the dependency properties in the code-behind to move the legend around the area of your plotter. If you want to put your

Legend outside the plot

笑着哭i 提交于 2021-01-28 20:33:25
问题 do you know how can I put the Legend outside the plot area? (Both in code and in xaml) Thank you for your help! cis 回答1: There is no implementation in the current D3 library to move the legend outside the plotter. The most that can be done is to move the legend to a different place in the plotter by editing the Legend.xaml.cs file in the source code. You will have to change the dependency properties in the code-behind to move the legend around the area of your plotter. If you want to put your

How to add mutiple graph in one x-y plane in wpf using DynamicDataDisplay

為{幸葍}努か 提交于 2020-01-05 03:44:22
问题 I have to create more than one graph like this http://prntscr.com/dfn836 (We have 4 graph in one plane in different colors) using WPF. I have got DynamicDataDisplaySample which displays only one sinusoidal graph but my situation is i have to display more than one graph(lets say to here) in same x-y axis (Voltage-Time axis). I have set of points to make the both graphs in same plane. List<double> points_x_y_Graph1 = new List<double>() { 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1.0, 0.1, 0

What is the optimal way to display images fast (C#)

天涯浪子 提交于 2019-12-25 07:39:28
问题 I am trying to create an application to display 8/16bit grayscale video. Currently, I create a BMP bitmap as RGB48 from frames, and simply assign pictureBox.Image = bmp This requires to create three redundant channels to make an RGB image look like grayscale (the grayscale image formats do not seem to work). This approach works on my fast computer, but slower computers can not keep up. So, I was hoping that someone could advise a better way of how to display images fast and efficient. In my

Changing and setting the Legend (LineGraph) Future of DynamicDataDisplay

白昼怎懂夜的黑 提交于 2019-12-24 07:01:47
问题 I'm using this great library https://d3future.codeplex.com/ to plot some 2D graphs. In the old D3 I used to set the legend this way: graf = plotter.AddLineGraph(new CompositeDataSource(xSrc, plot), new Pen(brush, 4), new PenDescription("myText" )); But I have no idea how to obtain the same in future D3 . Could someone make me see the light? Exploring the source code I find this but can't understand how to access and change the default string "LineGraph": public class LineGraph :

Dynamic Data Display with ObservableCollection

风格不统一 提交于 2019-12-24 01:05:41
问题 I dont know how to display some points using ObservableCollection. This is my code: <Window x:Class="WpfApplication1.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d3="http://research.microsoft.com/DynamicDataDisplay/1.0" Title="MainWindow" Height="350" Width="525"> <Grid> <d3:ChartPlotter x:Name="Plotter" Margin="100,5,0,0"> <d3:LineGraph /> </d3:ChartPlotter> <Button x:Name="button" Content="Load

WPF DynamicDataDisplay - Slow plotting with Markers

雨燕双飞 提交于 2019-12-21 20:59:02
问题 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[

Changing Legend in the Future of Dynamic Data Display wpf

♀尐吖头ヾ 提交于 2019-12-14 02:33:39
问题 I have been using the Future d3 but can not figure out how to change the series legend. In the older builds the legend could be changed like: graf = plotter.AddLineGraph(new CompositeDataSource(xSrc, plot), new Pen(brush, 4), new PenDescription("myText" )); but here the function call to AddLineGraph takes an object as argument and hence one can not specify the pendescription... Please does anyone know how to do this? This question was asked before here but did not get any answers. Any help

How to use UIElement[] CreateLabels method in NumericLabelProviderBase class to insert label or text in a point inside plotter

三世轮回 提交于 2019-12-12 05:07:38
问题 I'm tring to override CreateLabels to insert labels or text in specific points in plotter chart but I need a help in: 1. what does the parameter ( ITicksInfo<double> ticksInfo ) mean and what should I send to it 2. how to use the return value to add labels to already defined Axis like _stringaxis.LabelProvider or if there is simpler way to add text in a point please tell, Many thanks. 回答1: Just found the easiest way to add a nice label inside the chart. CenteredTextMarker label = new

Brightness of chartplotter (Dynamic Data Display) C#

痞子三分冷 提交于 2019-12-12 02:55:13
问题 I'm using Microsoft Visual Studio 2010, including reference Dynamic Data Display. I'm want to make an scroll bar that control of the brightness of the map . I'm tried to find a property like brightness or something like it but without a success. Thank for help friends. :) 回答1: You can control the brightness of the plotter by setting its Background to different RGB values. Each value has a range from 0 (Darkest) to 255 (Brightest). First set a brightest color, for example Byte R = 255; Byte G