Streaming OrientDB graphs to Gephi - orientdb

I've been trying to stream an Orientdb (v. 2.2.3) graph to Gephi (v. 0.9.1) for visualization.
The data loads and it's visible in the data laboratory. But the graph isn't displayed. I think the problem may be that the Gephi Id field is populated by Orientdb record id (e.g. #18:0) not an integer.
I'm using this URL
Has anyone experienced this issue, and is there a solution?
I'm new to both of these platforms.

I've just tried with Gephi 0.9.1 (last available) and the nodes are correctly loaded, but they are not displayed. This is a bug in Gephi, not OrientDB: https://github.com/gephi/gephi/issues/1447.

Related

How to set grafana's radar graph(InfluxDB)?

I have a struggle to present my data with radar graph plugin for Grafana. My goal is to obtain something like in this picture:
Single branch represents an object. Points on the branch represent object's properties.
Can anybody support me with a simple instruction?
Edit 1.
I've tried to set it like it is in the link.
Result.
It is not clear which kind of radar plugin are you using. Did you try https://grafana.com/grafana/plugins/snuids-radar-panel and did you read plugin documentation ?
Snuids radar seems to be slightly broken in the latest versions of Grafana and InfluxDB.
To get the above working (albeit not 100%) you need to use a time-series format.
See https://github.com/snuids/grafana-radar-panel/issues/22 for the issue.

How to draw a real-time line graph with a stream of values?

If I have a stream of values, how can I draw a line chart in real-time based on those values?
Not sure if this will help but I have just added a plugin to Flutter that may do what you need, or if not at least give you some ideas. You can find it here
And in this gist I have modified the example code to read the data from the device sensor stream (in real-time) which it then graphs out.
I recommand mp_chart which is basically the dart version of (the great) MPAndroidChart.

Displaying 3D Buildings in OpenLayers 3

I am using OpenLayers 3 to render OSM map data into WebBrowser control in my C#-WPF application. The reason for using OpenLayers v3 is that it supports map rotation.
The version of Internet Explorer is 10. This is a limitation for using OL3-Cesium for displaying 3D buildings on my map.
I have come across another library OSMBuildings for 3D buildings. This API works with OpenLayers 2 which unfortunately does not support map rotation.
I would like some help with using OSMBuildings with OpenLayers 3 or a workaround for OL3-Cesium API to work in Internet Explorer 10 or lower.
Cesium requires WebGL, which is not supported in Internet Explorer versions before 11. If you are required to use Internet Explorer 10 or lower, Cesium (or anything WebGL-based) is simply not an option.
While I'm not as familiar with OSMBuildings, I believe that getting it to work with OpenLayers 3 is a significant undertaking and would require large changes to the code base (though I could be wrong). You might want to chime in on this issue in their repository and ask for an official statement from the team.
Unless I'm wrong about OSMBuildings, there is no good answer here. Your best bet is to replace IE10 with embedded Chrome or Webkit (or require IE11), but that's probably a non-starter for you.

What metrics would I need to make a custom Plugin to report PHP app memory consumption for new relic?

I've installed the Ruby SDK to build a custom New Relic plugin, but have no clue where to go from there. No one in the forum seems to have a problem with creating a custom plugin so I'm missing something. I just need to be pointed in the right direction. I need the plugin to simply show the time again memory chart for the PHP app being monitored, exactly like the one available in the default dashboard. Any help would be appreciated.
The Ruby example plugin has some starting examples on how to use the New Relic Ruby SDK to report metrics.
The basic format is report_metric(metricName, Units, metricValue) where the metricName is what you want displayed in New Relic, the units are what your metric is measured in and the metricValue is the numeric data itself that changes over time.

How to integrate ECharts with BIRT/Pentaho?

I'm looking for a report engine which may:
connect to data source via JDBC
create logic data set by grouping/aggregating the raw data
include a data filter on the top of each report, which allows my client use the report interactively
add custom charts, in my case, it's ECharts https://github.com/ecomfe/echarts
support multi-tenancy paradigm (new requirement)
Now BIRT and Pentaho are the two players on my table.
For pentaho, it's really hard to find useful document to at least clarify if it's capable. Please if you're familiar with it, let me know if pentaho community version meets my requirements.
For BIRT, I've found evidence it support my first 3 needs. But for custom charts, I can only find examples/docs about adding custom IMAGE/SVG charts. As ECharts is based on canvas, I'm not sure if it's possible to integrate ECharts with BIRT.
Thank you!
Yes, it is possible to integrate javascript charts in BIRT. Basically:
Select the top-level element of your report outline -> Script tab -> clientScripts
Include here your echart resources (.js and .css) using "head.js" (see link below for more informations)
Add a text element to the report
Set the type of this new element to 'HTML'
In a script tag, initialize your echart object in a "head.ready()" instruction (see link below for more informations). The tricky part is to understand how to use a server-side dataset in a client-side chart within this html script.
You can find more informations and a full example of a such report here, this example embeds a jvectormap in a birt report. Furthermore, see a live demo here, where a JIT chart is integrated in a BIRT report.
However since these charts are created using a client-side framework, obviously BIRT won't be able to export them in PDF format. You can see in the live demo linked above, how a BIRT report can easily handle a different output when users export to PDF.
You can do it in Pentaho, but which tool to use it's a matter of debate.
Using Pentaho Report Designer:
- Connects to DBs using JDBC;
- Allows grouping rows based on a field or fields and calculating functions such as running sums;
- Can use selectors (single or multi-valued selectors) to interact with the report, passing the selector values to the queries;
- As far as I can tell, you don't have many options to choose a specific charting engine.
However, you can use CCC as the charting engine, which is a Protovis based Javascript charting engine, cross-browser compatible (for the most part), renders SVG charts with a decent fallback for IE (I believe the fallback is flash but I'm not sure if it changed recently) and produces decent looking charts.
If you HAVE to use that chart library, then I suggest using C-Tools dashboards instead, where you can embed as many different JS files you want and you have full control over the JS and CSS of the page. But most of the reporting functions from PRD will have to be implmented by you.