Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

PocketQuery Positionning gauge chart

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

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
Community showcase
Published in Marketplace Apps & Integrations

Happy New Year and Welcome New Marketplace Partner Program Partners!

Happy New Year! We hope you all had a safe and restful holiday season. 2020 was a unique year full of unforeseen events; however, as we enter the new year of 2021, we’re optimistic for the light at t...

641 views 7 23
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you