问题标签 [datapoint]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
0 回答
185 浏览

wpf - WPF 工具包图表:自定义数据点工具提示

我想在显示 X 和 Y 值(独立和依赖值)的线序列的数据点上添加一个工具提示,而不仅仅是默认显示的依赖值。我知道这与这张票中写的问题相同 - WPF 工具包图表:自定义数据点标签

但是,我无法得到工作的答案。有一个链接指向似乎已过时的更多详细信息。

我的系列:

我的数据点在此处设置样式,但添加带有任何工具提示的 setter 属性并没有什么不同:

我已经尝试以各种方式在几个地方从上面链接的票证中添加这行代码,并且我已经尝试以各种方式使用 Binding,但没有任何效果。

这是许多没有取得进展的试验和错误。

0 投票
1 回答
833 浏览

angular - 如何使用 NGRX 始终在折线图中突出显示数据点?

我有一个显示线系列的折线图。

如何始终突出显示数据点?

目前只有当鼠标悬停在它上面时才会突出显示一个数据点。

或者是否有任何其他图表类型可以在图表上提供数据点?我测试了气泡图,但它只适用于时间和数字作为 X 轴。我需要使用字符串作为 X 轴。

0 投票
0 回答
44 浏览

javascript - 将数据从 PHP 传输到 Javascript 并将该值表示为数据点

嘿,我是 Canvas JS 的新手,只是想知道对于我的数据点的 Y 轴,我是否可以从 php 中的文本文件中收集内容,将变量存储在 JavaScript 中并将该值打印为我的数据点的 Y 轴. 那么在下面的示例中,我将如何将此文本文件中的内容用作 Y 轴坐标?

我被困在这个问题上,在网上找不到任何东西。任何帮助,将不胜感激。

更新:我尝试调试程序,但仍然找不到问题。我知道我已成功从两种语言传输数据类型的一种方法是使用警报函数打印“val”的值。由于我找不到这个问题的解决方案,我应该如何处理这种情况?

0 投票
0 回答
31 浏览

java - Adding mouselistener to item in list to update panels

first of all, I'm aware of the title being a a bit ambiguous, so I'm going to try to explain the issues I'm having more clearly.

I've created a program that imports data from csv.files, which consists of measure points like date, time, heart rate etc. The user is first met with a login screen, that connects to a database, which then lets the user get access to the mainframe of the program.

The program consists of a class called Activity, which has a method that reads the activity, along with some other methods. This class then gets impemented by another class called Datapoint, which splits the different values from the csv.files into measuring points like date, time, longitude and latitude.

Finally, the third class that only consists of data is called Statistics, which takes the values and adds them into datapoints such as average, min and max speed etc.

Now to my problem. I've created a GUI for this which let's the user import csv.files, and then add the datapoints from the file into a map, a plotted diagram, and a page which shows the values from the statistics class. This works fine, and everything is updated when imported.

The activities chosen are then being added to a JList, from where the user can chose a certain activity, which preferrably a mouselistener. When the activity in the list is double-clicked, the graphs should update with the chosen activity's datapoints from the list, but I don't know how to do it. The other issue is that the imported activity writes over the old one, so that the JList contains a duplicate of the activities imported.

Instead of just showing the GUI, I figured I'd provide you with all the information regarding the classes that the GUI handles, so it's easier for you to pinpoint how I should solve my problem. I'll post the Classes below.

Activity:

And the GUI (where I'm facing the difficulties):

0 投票
0 回答
113 浏览

r - 忽略 R 中的缺失变量

并非每个数据集都具有相同的数据点,这就是为什么应该为测试提供各种查询 (OR)。如果查询中的变量不存在,则应忽略它。在给定的示例中,DS$ZUL_T 不是数据集的一部分,因此它应该只测试 DS$AUL_T < 25。不过,我没有得到结果而不是多个 1。你知道我如何在 R 中处理这个问题吗?

0 投票
1 回答
140 浏览

opencv - 在 OpenCV 拼接示例中使用 Homography Matrix 转换数据点

我正在使用 OpenCV 拼接示例代码,或者您可以在此处查看此代码的简化版本。我的图像被正确拼接以形成全景图。我想使用相同的单应矩阵或仿射矩阵将一个图像上的单个数据点转换为全景图。数据点与图像分开接收,但该数据点的坐标根据原始图像尺寸。

我可以在opencv2文件夹中的 Matchers.hpp 文件中看到

110 号线CV_PROP_RW Mat H; //!< Estimated transformation

这个 Mat H 是 Homography 矩阵,但我似乎无法找到它在我开始发布的拼接示例中的使用位置和方式。如果我得到此信息,我可以使用它通过使用相同的命令来转换该数据点。如果我的方法是错误的,请告诉我还能做什么。

0 投票
0 回答
133 浏览

c# - DataPoint C# 图表上的标签箭头

如何更改这些箭头的颜色?我正在开发一项功能来突出显示选定元素,而其他其他元素以浅灰色显示,但找不到如何更改箭头颜色

有任何想法吗?

图表

0 投票
1 回答
33 浏览

java - DataPoint 保存日期指数

我有一个问题,我制作了一个应用程序来显示基于 firebase 数据的图表。但是当我在 DataPoint 上保存它时,我的第一个值是日期和时间到指数。

这是从 firebase 获取数据并保存到 DataPoint 的主要功能

数据点

这是用于获取数据的 PointValue 函数。价值很好听

点值函数

这是 DataPoint 函数。听力价值是指数级的。

数据点.java

0 投票
1 回答
27 浏览

matlab - 如何像在 Matlab 中手绘一样连接数据点

我正在尝试以一种手动直观的方式连接六个数据点。常规plot命令给了我一条非常锯齿状的线,因为它只有六个数据点。spline命令接近我想要的。然而,它继续适合之前和之后的线。但是,我希望它从第一个数据点开始并以最后一个数据点结束。此外,我想避免附图中显示的凹凸。为此,我需要一个我假设的高阶多项式。

有人可以像手动一样帮助我连接这些数据点吗?它不需要通过spline命令来完成。

最小的例子:

通过绘图和样条连接的数据点

撞

0 投票
1 回答
113 浏览

python - 范围内的非均匀分布

我想在结尾处有更多数据点的范围内生成一个非均匀数据集。假设范围是[ab],a,b>0,我想在python中找到一种方法来生成一个不均匀的数据,在上限附近有更多的数据点。类似于日志分布的反向。

谢谢。