PocketQuery Positionning gauge chart

renaud staessens May 4, 2017

dear all ,

I'd like to place precisely the gauge chart generated by pocket query in my page i saw these option in the Google gauge chart doc :

width: 400, // setting size of resulting area that includes ALL charts drawn
height: 250,
max: 300, // setting max value (highly depends on data to be displayed) 

but i'd like for example to include the generated chart into a <DIV> section with a backgound color align it .... In some way having sexy page :).

Is it possible to wrap the generated chart into such a DIV ?

--------------------------------------------------

My code is 

<Script>

var dataTable = [['Productivity', 'Value']];
dataTable.push(['Productivity',productivity],['Weighted Prod',WProductivity]); // add a new array with the two values to the dataTable

PocketQuery.chart('Gauge', {
dataTable:dataTable ,
width: 400, // setting size of resulting area that includes ALL charts drawn
height: 250,
max: 300, // setting max value (highly depends on data to be displayed)
majorTicks: ['','','','','',''], // setting labels of the major ticks; they will be distributed evenly
minorTicks: 5,
greenFrom: 100, // setting range of green area
greenTo: 300,
yellowFrom: 80, // setting range of yellow area
yellowTo: 100,
redFrom: 0, // setting range of red area
redTo: 80
});

</script>

1 answer

0 votes
Sven Schatter _Lively Apps_
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
December 11, 2017

Hey Renaud,

sorry that you didn't receive an answer yet. We have basically moved our support to our service desk for PocketQuery.

If this problem still persists, please don't hesitate to raise a ticket at our service desk.

Thank you for using PocketQuery!

Best regards,
Sven (Scandio)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events