I need to use displayMode regions. What's the best way so user can
select small countries?
On 03-Jun-15 15:49, 'Sergey Grabkovsky' via Google Visualization API wrote:
I'm not sure what you mean by "displaying the names of the countries
outside the chart". You can certainly have a list of countries outside of
the chart (if you make it yourself using HTML), and redraw the chart with
the selected area zoomed in. Or perhaps change the color of a marker. Could
you better describe what you're trying to accomplish?
On Wed, Jun 3, 2015 at 5:10 AM Diogo Ribeiro <[email protected]>
wrote:
Is there any other possibility, like displaying the names of the countries
outside the chart, and when the user clicks on a country name, the popup
appears in the chart?
On Tue, Jun 2, 2015 at 4:37 PM, 'Sergey Grabkovsky' via Google
Visualization API <[email protected]> wrote:
You could accomplish this by using 'markers' mode. If you do that, all
your data will show up as circles, so it wouldn't matter if the area is
small or large.
On Tue, Jun 2, 2015 at 3:50 AM Diogo Ribeiro <[email protected]>
wrote:
Thanks for your answer Sergey.
Let me rephrase the question: using region world, how can I show Cape
Verde?
On Mon, Jun 1, 2015 at 2:47 PM, 'Sergey Grabkovsky' via Google
Visualization API <[email protected]> wrote:
Hi Diogo,
I'm not quite sure what you mean by "force onMouseOver to Cape Verde",
but the rest of your problem sounds like a common issue. This is
generally handled by providing a way of zooming into an area (continent and
subcontinent 'region's are probably best), but we do intend to solve this
eventually somehow.
On Mon, Jun 1, 2015 at 6:28 AM Diogo Ribeiro <[email protected]>
wrote:
Hi guys,
I'm using GeoChart to display some data. My situation is for really
small countries like Cape Verde Islands which aren't visible.
I'm using:
function drawRegionsMap() {
var data = new google.visualization.DataTable();
data.addColumn('string', 'Code');
data.addColumn('string', 'Country');
data.addColumn('number', 'P1');
data.addColumn('number', 'P2');
data.addRows([
['CV','Cape Verde', 272172, 23625],
['US','USA', 7746, 676]
]);
var options = {
region: 'world',
resolution: 'countries',
backgroundColor: '#B3D1FF',
minValue: 0, colors: ['#A1FF8E', '#008042']
};
var chart = new google.visualization.GeoChart(document.
getElementById('chart_div'));
chart.draw(data, options);
};
Is it possible to force onMouseOver to Cape Verde?
Thanks in advance.
--
You received this message because you are subscribed to the Google
Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected].
To post to this group, send email to
[email protected].
Visit this group at
http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the
Google Groups "Google Visualization API" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/google-visualization-api/5GVNtQXzIes/unsubscribe
.
To unsubscribe from this group and all its topics, send an email to
[email protected].
To post to this group, send email to
[email protected].
Visit this group at
http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google
Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected].
To post to this group, send email to
[email protected].
Visit this group at
http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the
Google Groups "Google Visualization API" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/google-visualization-api/5GVNtQXzIes/unsubscribe
.
To unsubscribe from this group and all its topics, send an email to
[email protected].
To post to this group, send email to
[email protected].
Visit this group at
http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to [email protected].
To post to this group, send email to
[email protected].
Visit this group at
http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Google
Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.