freeboard-jqplot icon indicating copy to clipboard operation
freeboard-jqplot copied to clipboard

Freeboard.io with JQPlot

Open Denistuff opened this issue 6 years ago • 0 comments

Hi there,

totally new to freeboard and JSON... I am trying to get this JQPlot working on freeboard.io, so in the online version. I managed to install the plugin making a link via rawgit.com.

I can add a new widget called JQPlot. But as soon as i filled in all the properties and click OK the widget is not shown in the pane. Basically i am thinking that my JS code for the chart options is not correct. This is what is in there now:

{ series [ {color: 'red'} ], seriesDefaults: { renderer:$.jqplot.BarRenderer, // Show point labels to the right ('e'ast) of each bar. // edgeTolerance of -15 allows labels flow outside the grid // up to 15 pixels. If they flow out more than that, they // will be hidden. pointLabels: { show: true, location: 'e', edgeTolerance: -15 }, // Rotate the bar shadow as if bar is lit from top right. shadowAngle: 135, // Here's where we tell the chart it is oriented horizontally. rendererOptions: {barDirection: 'horizontal'}}, axes: {yaxis: {renderer: $.jqplot.CategoryAxisRenderer}}}

Could you give me a hint if this is correct or what i am doing wrong? The rest of the properties is looking like this:

image

Denistuff avatar Apr 05 '18 21:04 Denistuff