Skip to content

Freeboard.io with JQPlot #11

Open
Open
@Denistuff

Description

@Denistuff

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions