One of the powerful things about the Chart API is that you have a lot
of control about what, where and how (most) things are displayed. That
can be both great and annoying at times, however. Erroring on the side
of customizability was the wise choice (in my opinion), but I can
definitely see
The Google Visualization API has it's own group at
http://groups.google.com/group/google-visualization-api but the quick
answer is that it's looking for an array of strings in the following
format: ['', '', ''] (note the straight brackets).
Your code (slightly modified as I tested) would then
You're almost there - keep using commas all between CHDS value pairs.
http://code.google.com/apis/chart/formats.html#data_scaling
chds=data set 1 minimum value,data set 1 maximum value,data set n
minimum value,data set n maximum value
So you'll want to use: chds=0,170,0,6,0,170,0,6
Cheers,
K
Add: chds=0,70,30,50,0,70,30,50,0,70,30,50,0,70,30,50,0,70,30,50
I tried a few things (just like you) that didn't work and then I
considered specifying data scaling info for each data source.
Basically, you need to specify data scaling values for both X and Y
data points in each of your series.
It is assumed that data for both axes range from 0 to 100. You need to
use the data scaling parameter to override this for your data:
chds=0,6,0,300
0,6 = my first dataset (x-values) range from 0 to 6
0,300 = my second dataset (y-values) range from 0 to 300 (note that
you do have a value of
I'm not sure what the simpleEncode() function does with the maxValue
passed in, but it appears that it's using it to scale the passed in
values (A value of 30 becomes 50 on a 0-60 scale).
Using the original values and switching to text encoding yields:
http://tinyurl.com/86esk4
Adding data
You might be able to accomplish both... Some really quick ideas/
examples that could surely be improved upon:
(2) for a different colored point, use a different data set by adding
|71,71|0.8,0. to the end of your CHD parameter
-- http://tinyurl.com/8n36ua
(1) for a footnote, look at the updated
Quick answer: No.
The info bubble is its own chart (an image) separate from your normal
chart (also an image). Depending on your requirements you can can look
into using HTML/CSS to possibly position the images closer to where
you'd like them or, if you chart is relatively static, take the two
a
google bug? Should I report it to someone? Thank you very much in advance
again.
Daniela ;-)
PS: Sorry if my english is not so good.
2009/1/6 keithb kbornho...@gmail.com
Hi,
They just added support for this. Take a look at the chp parameter
within the pie chart section:
http
Be default, all charts assume the data ranges from 0 to 100. Adding
chds=0,1876 will tell the API that your data ranges from 0 to 1876
(the sum of all your data points).
Cheers,
K
On Jan 13, 11:58 am, Wei chrono...@gmail.com wrote:
I've noticed that the API may change the order the chart legend items
(my example: http://tinyurl.com/dhw8jv), but I can't tell by your
description if this is what you are encountering. Can you provide a
few sample links that visually display the issue?
Thanks,
K
On Jan 26, 9:50 am, Scrimmers
Searching on different forms of the phrase
System.Net.Mail.MailMessage send as html returned some pages that
might help you.
I saw some sample code using an AlternateView property and some
using MailMessage.IsBodyHtml = True
Good luck,
K
On Jan 27, 2:02 pm, superdave david.cunning...@gmail.com
How about http://tinyurl.com/dme649 ?
On Feb 2, 11:29 am, Deakowen deako...@gmail.com wrote:
I am building a bar chart with line, and want data labels on each of
the bars, as well as on the line.
Thanks!
David
--~--~-~--~~~---~--~~
You received this
Check out the Using Multiple Data Series section of the API Docs:
http://code.google.com/apis/chart/formats.html#multiple_data_series
The CHM parameter is used to specify what sort of marker to show for a
data point. In your bar chart, the data point is as the end, not the
middle. Therefore,
Take a look at the AXIS STYLES section on this page:
http://code.google.com/apis/chart/labels.html#axis_styles_labels
You can use the CHXS parameter to only show tick marks and set the
axis label and tick mark colors to match your background color. Here's
a line chart example where I removed the
Hi Andy,
There are a couple things in your chart that are working against you.
First off, unless you specify otherwise the API draws all data as if
both the X and Y axes ranged from 0 to 100. With your original URL the
API is drawing your first value (78) at the correct spot along the Y
axes
Hi Thomas,
Google's Line Chart can handle your line step requirements. It might
not be as intuitive as you'd like, but can create the desired effect
by specifying the XY coordinates for each part of the series where
either the X or Y value changes. Here's an example ( http://tinyurl.com/bhybco
)
Legends are optional. In your URL, do not use the legend (CHDL)
parameter.
On Mar 3, 5:39 am, micha miv...@googlemail.com wrote:
Hi,
I'd like to create a LineChart without a legend in it. I want to
display the legend with custom elements (eg checkboxes) outside of the
chart itself. Is it
Someone else may be able to review your PHP code, but if you post the
contents of IMG SRC attribute I can help determine what errors, if
any, are in the URL.
Cheers,
K
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
work fine once you
- use valid HTML (head and body tags, etc.)
- add a closing quote after the SRC attribute ( IMG SRC=http://
chart.apis.google.com/... ALT=MY CHART / )
- remove extra spacing from your URL (after the CHD and CHT
parameters)
Good luck,
K
On Mar 3, 1:45 pm, KeithB kbornho
Hi, KP.
As an example, I took the second example chart in this section (http://
code.google.com/apis/chart/labels.html#data_point_labels) and added
another data set: http://tinyurl.com/cf25kc
If that doesn't help, send us an example URL and we'll see what we can
do.
Cheers,
K
On Mar 3, 4:19
I'm not sure what you want to do... I quickly made this:
http://tinyurl.com/dl3pw8
- with the left-most bar, you want the top label to be 60 instead of
50?
On Mar 23, 2:34 pm, cattermol...@googlemail.com
cattermol...@googlemail.com wrote:
Hi all,
Wonder if anyone can assist, have a simple
Hi,
Take a look at the Data Scaling section of the API @
http://code.google.com/apis/chart/formats.html#data_scaling
You have two data sets specified in your CHD parameter. You used the
CHDS parameter to scale your first data set properly but the API will
use that same scale for your second
It's just how Google has set up the default display. You can override
the defaults -- check out
http://code.google.com/apis/chart/styles.html#bar_width
-- Adding chbh=30,0,0 looks pretty good
Cheers,
K
On Apr 2, 8:41 pm, Jason Bradley tld...@gmail.com wrote:
Whoops - sorry about that. It looks like you're scaling your data to
160 instead of 100 - change chds=0,160 to chds=0,100
Cheers,
Keith
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Google Chart API group.
To post
I do not know of a way to override/set the precision used by Google
when automatically setting y-axis values using axis range (CHXR). My
guess is that you will have to specify your own Axis Labels (CHXL)
instead of setting the Axis Range (CHXR).
For example:
http://tinyurl.com/c7bsdu
Hi there,
Only when using text encoding does the chart assume that your data is
scaled from 0 to 100. With simple encoding the data ranges from 0 to
61. That's why your value of 23 is appearing as it is (23 / 61 * 100 =
~38). If you switch to chd=t:12,23,15 it should appear correctly.
Cheers,
Hi P,
Most applications/APIs that read information from the query string are
only expecting a single entry for each query string parameter. For
example, ...chm=123chm=456... would not be handled correctly by
most back-end systems.
The Google API expects all CHM entries to be pipe delimited.
This is quite a workaround, but you could use two datasets like the
following:
http://chart.apis.google.com/chart?cht=bvschs=200x125chd=t:-1,50,60,80,40|150,-1,-1,-1,-1chco=4d89f9,c6d9fdchbh=20chds=0,160
http://tinyurl.com/cme2te
A bit tricky, but it works just like you want -- definitely would
Use -1 for the fourth parameter within CHM. It specifies that you want
the marker on all data points (http://code.google.com/apis/chart/
styles.html#shape_markers)
Cheers,
K
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
They definitely monitor this group.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Google Chart API group.
To post to this group, send email to google-chart-api@googlegroups.com
To unsubscribe from this group, send
My last suggestion is that maybe you can get creative with the
legend... I had the need to display two pie charts, both with long
legend text and went with the following:
Showing side-by-side:
http://tinyurl.com/crxycb
http://tinyurl.com/cy6dal
Showing beneath the above two:
Dave,
Without some sample charts, it's hard to determine exactly what you're
trying to do, but here are my thoughts:
- markers are used to call attention to a data point
- you want to add a marker to call attention to a data point, but you
want that marker to display a little bit to the side
I
Chrisis,
A few thoughts/comments:
-- Is there a way to draw horizontal lines that are in line with the
Y labels
Check out the CHXS and CHXTC parameters. Here's an example:
http://chart.apis.google.com/chart?cht=lc;
chd=s:cEAELFJHHHKUju9uuXUc
chs=220x125
chxt=x,y
chxr=1,3,9,1
The only thing I know of that might work for you is the Annotated
Timeline gadget within the Google Visualization API.
http://code.google.com/apis/visualization/documentation/gallery/annotatedtimeline.html#Example
--~--~-~--~~~---~--~~
You received this message
Alex,
You're using text encoding (chd=t:) and you've found the data scaling
parameter (chds=20,70) which is great, but unfortunately you can't
just swap the CHDS values. In essence, your chds=70,20 is telling the
API to expect data between a LOW of 70 and a high of 20 -- which is
impossible, I
There are no marker settings that will help, but you can use the
Chart margins parameter (chma=0,50,0,0) to ensure that there's
enough room for that particular label.
Good luck,
K
On Jun 1, 3:34 pm, dzedward dzedw...@gmail.com wrote:
How can I position a marker set with chm so that it doesn't
The following parameters are necessary for (1) and (2):
chds=0,15
chxt=x,y
chxl=1:|State|State|State|State|State|State|State|State|State|State|
State|State|State|State|State|State|State|State|State
chxr=0,0,15
Cheers,
K
--~--~-~--~~~---~--~~
You received this
From dzedward:
edstoddard edstodd...@hotmail.com to Google Chart API google-chart-
a...@googlegroups.com
9:38am
Thank You, That works great! I have one other question. Is it possible
to but the value in text within the bar itself?
-
It is possible, but it's not an automatic thing. You'll
When you use text encoding (which you are) you can have the API scale
your data for you with the CHDS parameter. That, coupled with your
CHXR parameter, should get you what you want:
http://chart.apis.google.com/chart?cht=lc;
chs=200x125
chd=t:40,60,-60,45,47,85,70,72
chds=-100,100
You're so very close... You have four datasets with 12 datapoints each
so your CHD parameter should like like:
chd=t:s1d1,s1d2,s1d3|s2d1,s2d3,s2d3|s3d1,s3d2,s3d3
where s1d1 refers to Series 1 Datapoint 1, etc.
Here are some fake values that I used to test within your original
URL:
A common issue with an easy fix! Add CHDS=0,150
For details on why, read http://code.google.com/apis/chart/formats.html#text
Cheers,
K
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Google Chart API group.
To post
Both of your links look fine and they both display working pie charts.
What specifically isn't working for you?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Google Chart API group.
To post to this group, send
With those new to the Chart API it's best to start small and work
gradually towards the complex stuff. Unlike most/other charting
applications, Google Charts doesn't (automagically) give you great
looking charts. It *can*, but at the moment it aims to provide a good
amount of customization --
A bit of searching without many results... Here are a few things:
- http://www.google.com/finance/chart?q=Ccht=o
- http://www.google.com/finance/chart?q=Ccht=c
- http://www.google.com/finance/chart?q=Ccht=s
The Q, CHT and TFL parameters were all I could find.
I did a google image search on a
CHM's third parameter is the data set index, but you've specified
index zero for both. Change the second instance to one (1) and you
should be set.
Cheers,
K
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Google
Hi,
This is a common issue - a chart using text encoding ... lets you
specify floating point values from 0—100, inclusive, as plaintext.
Values below zero are marked as missing; values above 100 are
truncated to 100. The API can automatically scale your data if you
provide the right information
If you specify individual markers for your three data sets, does that
give you what you expect?
http://chart.apis.google.com/chart?cht=bhs;
chs=300x75
chds=0,18
chd=t:1,2,3|4,5,6|4,8,9
chco=aa,cc,ee
chbh=20chm=N,00,0,-1,11|N,00,1,-1,11|N,00,2,-1,11
Good luck,
K
I haven't used this map type much, but it looks like the applies
colors to countries using color gradient you specify.
You want to display four main colors (red, blue, yellow, grey) so your
CHCO parameter needs to look like
chco=00,ff,ff,00,808080 which the API reads as by
You're definitely right, it's the number of labels:
Drop the last pipe symbol ( | ) from your CHXL parameter and you
should be good.
chxl=axis index:|label 1|label n
That last pipe symbol was creating an extra (empty) label at the end.
Hope that helps,
K
You'll need to use two datasets to create the desired effect. Here's a
quick example:
http://chart.apis.google.com/chart?cht=lc;
chs=200x125
chd=t:40,60,60,45,47,-1,-1,-1|-1,-1,-1,-1,47,75,70,72
chls=1,1,0|3,6,3
Good luck,
K
--~--~-~--~~~---~--~~
You received
Take a look at the generated URL again - your CHXR parameter is
invalid.
Cheers,
K
On Jul 27, 10:16 pm, diracleo daneiracle...@gmail.com wrote:
...chxr=0,0,15,stddeviation...
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
We should clarify that map icons created with the Chart API
- load fine in a browser when typed into the address bar
- load fine when used in a Google Maps API V2 (haven't tested V3) map
- appear to load fine when used as a custom marker inside a My Maps
generated map, but as people have
It looks like shape markers are placed on the chart in addition to
existing data set display. Scatter plot data supports a third data set
that denotes size. See
http://code.google.com/apis/chart/types.html#scatter_plot
After fixing a small error in your CHM parameter (both data set
index and
I think your spacing solution is probably best. Regarding individual
colors, try: chco=ff|ff|dd|bb|99|77|55|
33|11|ff and the documentation discusses how colors repeat
if you define too few.
Good luck,
K
Unfortunately, no, but you can specify text for two x-labels (see
http://code.google.com/apis/chart/labels.html#axis_labels):
chxt=x,y,x
chxl=0:|Fine lines and wrinkes|Skin is firmer|Skin appeared|Overall
skin|2:|were reduced||more youthful|has improved
Or move to a horizontal bar chart...
We had the same idea - my original post was on the wrong thread...
Unfortunately, no, but you can specify text for two x-labels (see
http://code.google.com/apis/chart/labels.html#axis_labels):
chxt=x,y,x
chxl=0:|Fine lines and wrinkes|Skin is firmer|Skin appeared|Overall
skin|2:|were
Could you try again, please, because specifying colors via the CHCO
parameter works for me:
http://chart.apis.google.com/chart?cht=bvs;
chxt=y,x
chs=600x200
chd=t:0,1,2,3,4,4,3,2,1,0
chds=0,4,0,100
chxl=1:||first|second|third|fourth|fifth|sixth|seventh|eight||0:|0|1|2|
3|4
chbh=15,50
The image returned from a Chart API call is made up of a chart and an
optional legend. Using the CHMA parameter you can provide margins for
the chart as well as width/height for the legend.
The title of your chart is displayed within the chart portion of the
image. As such, it is centered within
Both simpleEncode() functions (js and php) support a maxValue
parameter but your PHP version defaults the max value to the maximum
value in your array. As such the PHP version is scaling your data as
if it was specified in the 0--61 range.
Your 39 becomes (39 / 43) * 61 = 55 (or s:3)
Your 43
I believe it's your data or your data scaling parameter. If I replace
your CHD parameter with something simpler
chd=t:10,20,40|20,30,40|-1|5,25,45|5,15,20|80,60,40|50,60,70|50,75,100|
80,85,90|50,50,50
The chart and the colors look fine. Too much data for me to find the
exact issue, but I'd
The following chart and its markers display fine for me in Chrome, IE7
and FF3:
http://tinyurl.com/ngkk6x
http://chart.apis.google.com/chart?chs=500x300;
chd=t:60,40,30,30,45,90,33,66
cht=bhgchl=0%|100%
chtt=Site+visitors+by+monthchm=tOne,00,0,0,10|tTwo,00,0,1,10|
Click on the TinyURL link and use the URL that appears in the
browser's address bar. Long URLs within e-mails are often truncated
depending on the e-mail client you use. I do not believe there is a
browser-specific issue going on here, just an issue with e-mail
clients displaying links
This behaviour is by design, most likely. Both the x and y axes
normally increase in number as you move away from the origin. The API
gives you the option to add custom labels, but that doesn't change the
fact that the y-axis, by default, ranges from 0 to 100 with 0 being
the origin and 100 being
Assigning values to your axes (CHXR and CHXL) is separate from
changing the default behaviour of plotting your data. By default, text
encoded data (CHD=t:...) ranges from 0 to 100 (which is why you were
seeing a max value of 100). Your data ranges from 0 to 150 -- you can
use the data scaling
This cannot be accomplished at this time (unless there's some sort of
weird UTF-8 character that looks like a superscripted 2).
My recommendation would be to write out the units of measurement ala:
http://chart.apis.google.com/chart?chxt=x;
chxl=0:||Kilometers%20Squared%20(km^2)|
cht=bhs
XY charts take two data sets (chd=t:x-values|y-values) yet your data
scaling parameter (chds=0,30) is telling the API that both datasets (x
AND y) should be scaled according to the 0-30 range. You need to
specify data scaling parameters for both the X and Y:
chds=0,12,0,30
Cheers,
K
Minah,
Per the documentation:
cht=lc
For charts of type lc, data points are spaced evenly along the x-axis.
Multiple data sets are drawn as multiple lines.
cht=lxy
For charts of type lxy, a pair of data sets is required for each line.
The first data set of each pair specifies the x-axis
micle,
The link you provided uses text encoding (chd=t:) and it looks fine.
It looks fine, but if you're still experiencing issues with extended
encoding, please send us a new link.
Keep in mind, though, that extended encoding plots your chart
according to a 0-4095 range, so values like 0 and
Expanded encoding does work for XY line charts - I think you need to
start small and work your way back to your full chart. For example, if
I take your second chart, remove all the extra parameters and delete
all your data EXCEPT for the first and last points I get:
Kaku,
It appears to me that you're doing everything right and that this is a
bug centered around automatic bar width and bar spacing logic.
Reading the Bar Charts and Bar Width and Spacing sections of the
guide it looks like there's two automatic-like settings:
- automatically resizing
Take a look at the Bar chart zero line section here:
http://code.google.com/apis/chart/styles.html#zero_line
Here's a quick sample:
http://tinyurl.com/mxc3o6
http://chart.apis.google.com/chart?
chs=320x200
cht=bvs
chd=t:60,40,70,30,80,20
chp=.5
chxt=y
chxr=0,-100,100
chm=h,00,0,0.5,0.5
This has been reported a few times recently. Do a search on chart
and pin or pins within the group for past discussions. I don't
think any of us are doing anything wrong. My best guess is that maybe
the Chart server somehow returns Bad Request for requests that are not
made in the confines of a
Two other attempts, but I'm not exactly sure what you're looking for:
http://tinyurl.com/lepkrw - look at CHM parameter
http://tinyurl.com/kjax3n - look at CHXTC parameter
Good luck,
K
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
Lau,
Look at the Text Encoding with Data Scaling section @
http://code.google.com/apis/chart/formats.html#data_scaling
You'll need to add CHDS=0,2000 to your URL. After doing that you'll
notice that you'll have to also tweak your CHXL parameter a bit.
Good luck,
K
You need to use UTF-8 encoded and URL escaped characters. A Google
search shows that a degree symbol would then be %C2%B0
Cheers,
K
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Google Chart API group.
To post to
Tom - I believe the issue you're referring to is related to axis
labels, not legend items.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Google Chart API group.
To post to this group, send email to
The first part of your CHXR parameter (chxr=0,26,09,1) is interfering
with your CHXL parameter. Use on or the other, not both.
Good luck,
K
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Google Chart API group.
To
It doesn't appear that you can at the moment. I was hoping that the
following would work:
http://chart.apis.google.com/chart?cht=pchd=t:60,40;
chs=64x64
chma=-10,-10,-10,-10
chf=bg,s,EFEFEF
Perhaps this or something similar could be a future enhancement.
On Sep 22, 4:49 pm, nasim
At the moment, most charts that I've created use secondary axis
labels. See the Axis Styles and Labels section @
http://code.google.com/apis/chart/labels.html#axis_styles_labels
Here's an example: http://tinyurl.com/ybpwljj
- the key parts being the chxt and chxl parameters
Good luck,
K
In order to not stretch the smallest data set, you'll want to use null
or missing values (-1 for text encoding, _ for simple, __ for
extended). Given that the API supports null data points within a data
set I assume that this behaviour is by design.
Good luck,
K
Aside from switching to cht=p3, no.
- K
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Google Chart API group.
To post to this group, send email to google-chart-api@googlegroups.com
To unsubscribe from this group,
This is definitely supported.
From the Chart Colors section @
http://code.google.com/apis/chart/colors.html#chart_colors
-- Specify a color for each data point within a single data set by
separating the color parameters by using the pipe character (|). This
feature is available for bar charts,
In your first chart looks good. With your second chart you changed the
axis range but you also need to tell the API to auto-scale your data
to match. Modify your CHDS parameter so it reads 50,131.
When working with grid lines you need to consider the chart area as a
100x100 grid and specify
Doubling your data scaling parameter
(chds=1950,2006,0,175,1950,2006,0,175) appears to fix the issue. I
know that the API usually repeats parameter values as needed (if you
have 4 datasets and only specify chds=0,50 it'll assume you want 0--50
on all four), but since you're specifying two
Hi John,
The labels on your second data set are correct--the match the data
point values. The API displays your two data points on top of each
other, but it won't automatically display the sum as a data point
label. In order to accomplish this you'll need to add a third data set
with the totals.
Setting the X-Axis range has nothing to do with the fact that the API
expects text-encoded data to range from 0--100 (unless told
otherwise) Add CHDS=40,60 and the API will automatically scale
your data. Check out the Text encoding with data scaling section for
details:
Take a look at the text encoding with data scaling section of the
documentation. The API assumes all text-encoded data (chd=t:) ranges
from 0 to 100. You can use the CHDS parameter to specify 0--100 for
your first set and 0--1.1 for your second. The format would be:
chds=0,100,0,1.1
Cheers,
K
The API assumes that all data that is text-encoded (chd=t:) ranges
from 0 to 100. You need to specifically tell the API that your data
ranges from 0 to 6 by adding chds=0,6. Take a look at the
corresponding section of the documentation @
http://code.google.com/apis/chart/formats.html#data_scaling
An XY line chart with styling sure comes close: http://tinyurl.com/ykuo8x5
Have fun,
K
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Google Chart API group.
To post to this group, send email to
This is a javascript error (not a Chart API issue) on the line you
provided:
url += amp;chxt=yamp;chxl=0:|+min+|+max|amp;
Walk through each part:
url = url + . + min + | + max|amp;
My guess is that it's a problem with: max|amp;
Good luck,
K
Cool, now we've got a chart issue (and an easy one at that). Your CHXL
parameter has an extra pipe symbol | at the end. The initial pipe
is necessary, but that latter one tells the API to add room for an
empty label. For example, chxl=0:| is the required part and by
adding bottom|middle|top or
Hi there,
The easiest way is to use Text encoding with data scaling.
Using your exact data in the most basic of line charts, you get a nice
chart with all of the values at the top and a few of them are even cut
off because with text encoding the API expects values to range between
0 and 100.
Using the Axis Labels section as a starting point (http://
code.google.com/apis/chart/labels.html#axis_labels), you'll have to
use the CHXT and CHXL parameters to specify your labels:
http://chart.apis.google.com/chart?chxt=xchxl=0:|$1.00|$2.00|$3.00cht=lcchd=s:HelloWorldchs=200x125
I do not
You're using text-encoded data (chd=t:...) and the API expects your
values to range between 0 and 100. Use data scaling (CHDS) to specify
a different range (chds=0,454).
Have fun,
K
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
The article you refer to (http://groups.google.com/group/google-chart-
api/web/chart-types-for-map-pins) is all about using a special part of
the Chart API to create custom map pins. If you want to use a standard
blue icon for your maps, just use the one Google does:
Hi Greg,
Your CHXT values are telling the API that you only want X and Y axis
labels. Within your CHXL parameter, the API looks at 1: for the Y
axis text and 0: for the X axis. It's ignoring 3 and 4 because there
*isn't* a 3 or 4 according to your CHXT parameter. Try using:
chxt=x,y,r,x
Cheers,
That's quite a specific type of map pin you're looking for an,
honestly, I doubt the API would ever support such a thing.
My suggestion would be to look at the google-maps-icons project (here:
http://code.google.com/p/google-maps-icons/) and use their templates
to build your own empty
The API (as does many server-side application logic) gets confused
when you send multiple instances of the same parameter. Use a single
CHM parameter to specify *all* of your markers using the pipe symbol
| as a delimiter (i.e.. chm=B,E6F2FA,0,0,0|tMaximum,5A5A5A,
0,0,8,-1).
Cheers,
K
Hi there,
Using those pipe symbols as separators can be confusing at first, but
you'll get the hang of them with practise. Take another look at the
documentation for Axis Labels (http://code.google.com/apis/chart/
labels.html#axis_labels):
The first label specified is placed at the start of the
1 - 100 of 238 matches
Mail list logo