Questions tagged [gchart]
61 questions
10
votes
5 answers
How to import a module from a directory on level above the current script
For my Python application, I have the following directories structure:
\myapp
\myapp\utils\
\myapp\utils\GChartWrapper\
\myapp\model\
\myapp\view\
\myapp\controller\
One of my class in \myapp\view\ must import a class called GChartWrapper. However,…

Martin
- 39,309
- 62
- 192
- 278
4
votes
2 answers
How to show absolute value in tooltip in a pe:gChart
I am using google chart to display pie chart in primefaces.PrimeFaces version is 6.1. Currently the tooltip has absolute value and percentage. i just want to display absolute value.
My code is

Mani Ratna
- 883
- 1
- 11
- 30
4
votes
1 answer
Google charts piechart Material design
I need to show data in several types of charts and I like the look and feel of the Material design charts over the default google charts.
Linecharts and barcharts work nicely, however, a piechart does not seem to be available in Material design...…

LvS
- 507
- 1
- 4
- 19
4
votes
0 answers
How can I create Google Charts in server side whitout a headless browser?
I need to export some pdf's sometimes whitout showing the chart data on the page.
We are using phantomjs to have a headless browser, and then get the images from phantom to PDF, but this approach is sometimes slow.
We are looking to create a faster…

lrente
- 1,070
- 1
- 9
- 27
4
votes
3 answers
Google chart line chart - turn off tooltip for a single column
I know this question was already asked before Using Google Visualization API, how to turn off tooltips for a single column?, but i didn't get familiar answer.Please can somebody tell me how to turn off tooltip for a single column?.I tried…

user3445687
- 41
- 1
- 4
3
votes
1 answer
Ruby on Rails - Using the Data from JSON (style) Array
Ruby 'NooB' question.
I'm using the gem 'keen', to run a query that returns a (JSON style) multi line string:
query
-@a = Keen.median
returns (array)
[{"value"=>3, "timeframe"=>{"start"=>"2015-03-01T02:00:00.000Z",…

Mark_The_NooB
- 33
- 3
2
votes
1 answer
Implementation of Gchart for dynamic data
I have used Gchart to display data in chart form. For now the chart is static. I need to make the chart dynamic as the chart values may change time and again.
My Code is like this:
dynamicChartObj = new…

Mani Ratna
- 883
- 1
- 11
- 30
2
votes
1 answer
How to code in GWT server side?
In GWT, I will use G chart to present data in the browser, in the gwt server side i will need one thread will generate random data, other threads will represent the data to the client(browser) in a timely manner say after every 2…

Asif Hossain Shantu
- 69
- 10
2
votes
1 answer
SAS proc Freq & gchart display additional value's frequency/ bars
This might be a weird question. I have a data set contains data like agree, neutral, disagree...for many questions. There is not so many observations so for some question, one or more options has frequency of 0, say neutral. When I run proc freq,…

user512853
- 123
- 2
- 10
1
vote
1 answer
Google Charts - avoid showing negative values on axis
Even including vAxis: {minValue:0} didn't work
How can I do to avoid showing negative values in the yAxis?
This happens when no value exists.
In this case I don't want negative values to appear on the axis
google.charts.load('current',…

Gabriel
- 13
- 2
1
vote
1 answer
vue-google-charts error n.load is not a function
I'm using the vue-google-charts package (https://www.npmjs.com/package/vue-google-charts) to display google charts in my application (vuejs2.x) and until now it worked perfectly fine.
But now i get the following error:
Uncaught (in promise)…

Chris
- 415
- 5
- 19
1
vote
1 answer
Google chart clearChart() with vue-google-charts
i use vue-google-charts to draw several charts on my website. I would like that the user has the option to compare several data with each other. For this the user can add / delete data from the graph.
To realize this I would like to clear the chart…

Chris
- 415
- 5
- 19
1
vote
1 answer
How can we add custom css for Gchart?
I need to add custom css in my Gchart. I am able to bring the index labels in the same line.Also i want to give custom font to the index labels. On inspection of page all the index were inside g tag and i added css for g tag but it is not…

Mani Ratna
- 883
- 1
- 11
- 30
1
vote
1 answer
PrimeFaces Extensions Gchart is not working properly
I am using PrimeFaces version 6.1 . I need to show my data in chart format. For this i implemented the GChart component as link https://www.primefaces.org/showcase-ext/sections/gchart/basic.jsf. I have added link in my form and on click of that…

Mani Ratna
- 883
- 1
- 11
- 30
1
vote
1 answer
How to label my bar chart with numbers?
I am using gchart and I am trying to use markers to label my bar char with numbers. So that ever bar has a number value on top of it.
I tried
markers: [$.gchart.marker('number', 'red', -1)]
markers: [$.gchart.marker('number', 'red', -1,…

chobo2
- 83,322
- 195
- 530
- 832