Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Freeboard.io with JQPlot #11

Open
Denistuff opened this issue Apr 5, 2018 · 0 comments
Open

Freeboard.io with JQPlot #11

Denistuff opened this issue Apr 5, 2018 · 0 comments

Comments

@Denistuff
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@Denistuff and others