Noob question

51 views
Skip to first unread message

Susannah Jones

unread,
Feb 11, 2016, 12:03:27 AM2/11/16
to Google Visualization API
Hi! I'm trying to work with the beginner's tutorial with pie charts. I followed the directions, copied the source code, saved it to an html file, and then opened the said file into chrome but all I see is the source code instead of the actual pie chart. Am I missing something?

Sergey Grabkovsky

unread,
Feb 11, 2016, 10:05:27 AM2/11/16
to Google Visualization API
Hi Susannah,

Did you save the file with a ".html" extension? A lot of operating systems (namely windows) hide the extension, making it difficult to change. This means that if you create a text file called "test", it's actual filename is "test.txt", where windows hides the .txt part. If you attempt to just rename the file, and change its extension that way, you'll wind up with "test.html.txt" (because windows hid the .txt extensions, causing your extension to be inserted between the filename and the actual extension). You can double check the actual extension when you're viewing the file in Chrome, just by looking at the last couple of characters and ensuring that they are in fact ".html", and not ".txt" or ".rtf".

On Thu, Feb 11, 2016 at 12:03 AM Susannah Jones <marysj...@gmail.com> wrote:
Hi! I'm trying to work with the beginner's tutorial with pie charts. I followed the directions, copied the source code, saved it to an html file, and then opened the said file into chrome but all I see is the source code instead of the actual pie chart. Am I missing something?

--
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 google-visualizati...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/a5e15cd4-93ff-48b6-9d15-5e790a4b493f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--

unnamed.gif

Sergey Grabkovsky

Software Engineer

Google, Inc

gra...@google.com


Susannah Jones

unread,
Feb 11, 2016, 10:08:58 AM2/11/16
to google-visua...@googlegroups.com
I did save it as both an .htm and .html file. I'm not sure why it would be acting this way.

--
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/GC_xZdQNO2Q/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-visualizati...@googlegroups.com.

To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.

Sergey Grabkovsky

unread,
Feb 11, 2016, 10:10:29 AM2/11/16
to google-visua...@googlegroups.com
Just for a sanity check, would you mind taking a screenshot of your chrome window?

What operating system are you using?


For more options, visit https://groups.google.com/d/optout.

Susannah Jones

unread,
Feb 12, 2016, 5:11:48 PM2/12/16
to Google Visualization API
OS X El Capitan. I attached the file and a screenshot of the file opened in chrome. I used the sample pie chart code from Google developer's quickstart page. I'm so confused as to why it won't open properly.


On Thursday, February 11, 2016 at 10:10:29 AM UTC-5, Sergey wrote:
Just for a sanity check, would you mind taking a screenshot of your chrome window?

What operating system are you using?

On Thu, Feb 11, 2016 at 10:08 AM Susannah Jones <marysj...@gmail.com> wrote:
I did save it as both an .htm and .html file. I'm not sure why it would be acting this way.

On Thu, Feb 11, 2016 at 10:05 AM, 'Sergey Grabkovsky' via Google Visualization API <google-visua...@googlegroups.com> wrote:
Hi Susannah,

Did you save the file with a ".html" extension? A lot of operating systems (namely windows) hide the extension, making it difficult to change. This means that if you create a text file called "test", it's actual filename is "test.txt", where windows hides the .txt part. If you attempt to just rename the file, and change its extension that way, you'll wind up with "test.html.txt" (because windows hid the .txt extensions, causing your extension to be inserted between the filename and the actual extension). You can double check the actual extension when you're viewing the file in Chrome, just by looking at the last couple of characters and ensuring that they are in fact ".html", and not ".txt" or ".rtf".

On Thu, Feb 11, 2016 at 12:03 AM Susannah Jones <marysj...@gmail.com> wrote:
Hi! I'm trying to work with the beginner's tutorial with pie charts. I followed the directions, copied the source code, saved it to an html file, and then opened the said file into chrome but all I see is the source code instead of the actual pie chart. Am I missing something?

--
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 google-visualization-api+unsub...@googlegroups.com.
--

unnamed.gif

Sergey Grabkovsky

Software Engineer

Google, Inc

gra...@google.com


--
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/GC_xZdQNO2Q/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-visualization-api+unsub...@googlegroups.com.

To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at https://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 google-visualization-api+unsub...@googlegroups.com.
Screen Shot 2016-02-12 at 5.08.31 PM.png
piechart 2.html

Sergey Grabkovsky

unread,
Feb 12, 2016, 5:46:19 PM2/12/16
to Google Visualization API
Oh wow. OK.

I'm not really sure how you got to this point. Your HTML file contains the formatted (and syntax highlighted) code. Did you use TextEdit to save the file? You need to use a plain text editor, or force TextEdit to save in plain text, without formatting. I strongly recommend you use a real code editor, like Sublime Text, or Atom, or TextMate.

On Fri, Feb 12, 2016 at 5:11 PM Susannah Jones <marysj...@gmail.com> wrote:
OS X El Capitan. I attached the file and a screenshot of the file opened in chrome. I used the sample pie chart code from Google developer's quickstart page. I'm so confused as to why it won't open properly.


On Thursday, February 11, 2016 at 10:10:29 AM UTC-5, Sergey wrote:
Just for a sanity check, would you mind taking a screenshot of your chrome window?

What operating system are you using?

On Thu, Feb 11, 2016 at 10:08 AM Susannah Jones <marysj...@gmail.com> wrote:
I did save it as both an .htm and .html file. I'm not sure why it would be acting this way.

On Thu, Feb 11, 2016 at 10:05 AM, 'Sergey Grabkovsky' via Google Visualization API <google-visua...@googlegroups.com> wrote:
Hi Susannah,

Did you save the file with a ".html" extension? A lot of operating systems (namely windows) hide the extension, making it difficult to change. This means that if you create a text file called "test", it's actual filename is "test.txt", where windows hides the .txt part. If you attempt to just rename the file, and change its extension that way, you'll wind up with "test.html.txt" (because windows hid the .txt extensions, causing your extension to be inserted between the filename and the actual extension). You can double check the actual extension when you're viewing the file in Chrome, just by looking at the last couple of characters and ensuring that they are in fact ".html", and not ".txt" or ".rtf".

On Thu, Feb 11, 2016 at 12:03 AM Susannah Jones <marysj...@gmail.com> wrote:
Hi! I'm trying to work with the beginner's tutorial with pie charts. I followed the directions, copied the source code, saved it to an html file, and then opened the said file into chrome but all I see is the source code instead of the actual pie chart. Am I missing something?

--
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 google-visualizati...@googlegroups.com.

To post to this group, send email to google-visua...@googlegroups.com.
--

unnamed.gif

Sergey Grabkovsky

Software Engineer

Google, Inc

gra...@google.com


--
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/GC_xZdQNO2Q/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-visualizati...@googlegroups.com.

To post to this group, send email to google-visua...@googlegroups.com.

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 google-visualizati...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.
--

unnamed.gif

Sergey Grabkovsky

Software Engineer

Google, Inc

gra...@google.com


--
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 google-visualizati...@googlegroups.com.

To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.

For more options, visit https://groups.google.com/d/optout.

Susannah Jones

unread,
Feb 14, 2016, 3:14:12 AM2/14/16
to Google Visualization API
I downloaded atom, but now when I opened the file, pasted the code, and saved it as an html file, it just looks like this: À À À À. What should I do?


On Friday, February 12, 2016 at 5:46:19 PM UTC-5, Sergey wrote:
Oh wow. OK.

I'm not really sure how you got to this point. Your HTML file contains the formatted (and syntax highlighted) code. Did you use TextEdit to save the file? You need to use a plain text editor, or force TextEdit to save in plain text, without formatting. I strongly recommend you use a real code editor, like Sublime Text, or Atom, or TextMate.

On Fri, Feb 12, 2016 at 5:11 PM Susannah Jones <marysj...@gmail.com> wrote:
OS X El Capitan. I attached the file and a screenshot of the file opened in chrome. I used the sample pie chart code from Google developer's quickstart page. I'm so confused as to why it won't open properly.


On Thursday, February 11, 2016 at 10:10:29 AM UTC-5, Sergey wrote:
Just for a sanity check, would you mind taking a screenshot of your chrome window?

What operating system are you using?

On Thu, Feb 11, 2016 at 10:08 AM Susannah Jones <marysj...@gmail.com> wrote:
I did save it as both an .htm and .html file. I'm not sure why it would be acting this way.

On Thu, Feb 11, 2016 at 10:05 AM, 'Sergey Grabkovsky' via Google Visualization API <google-visua...@googlegroups.com> wrote:
Hi Susannah,

Did you save the file with a ".html" extension? A lot of operating systems (namely windows) hide the extension, making it difficult to change. This means that if you create a text file called "test", it's actual filename is "test.txt", where windows hides the .txt part. If you attempt to just rename the file, and change its extension that way, you'll wind up with "test.html.txt" (because windows hid the .txt extensions, causing your extension to be inserted between the filename and the actual extension). You can double check the actual extension when you're viewing the file in Chrome, just by looking at the last couple of characters and ensuring that they are in fact ".html", and not ".txt" or ".rtf".

On Thu, Feb 11, 2016 at 12:03 AM Susannah Jones <marysj...@gmail.com> wrote:
Hi! I'm trying to work with the beginner's tutorial with pie charts. I followed the directions, copied the source code, saved it to an html file, and then opened the said file into chrome but all I see is the source code instead of the actual pie chart. Am I missing something?

--
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 google-visualization-api+unsub...@googlegroups.com.

To post to this group, send email to google-visua...@googlegroups.com.
--

unnamed.gif

Sergey Grabkovsky

Software Engineer

Google, Inc

gra...@google.com


--
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/GC_xZdQNO2Q/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-visualization-api+unsub...@googlegroups.com.

To post to this group, send email to google-visua...@googlegroups.com.

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 google-visualization-api+unsub...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.
--

unnamed.gif

Sergey Grabkovsky

Software Engineer

Google, Inc

gra...@google.com


--
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 google-visualization-api+unsub...@googlegroups.com.

Sergey Grabkovsky

unread,
Feb 16, 2016, 10:14:42 AM2/16/16
to Google Visualization API
I'm actually not quite sure how to help you at this point. I can't imagine what you're doing wrong. I'd need to help you via remote desktop or a video or something, in order to actually see what you're trying to do.

On Sun, Feb 14, 2016 at 3:14 AM Susannah Jones <marysj...@gmail.com> wrote:
I downloaded atom, but now when I opened the file, pasted the code, and saved it as an html file, it just looks like this: À À À À. What should I do?


On Friday, February 12, 2016 at 5:46:19 PM UTC-5, Sergey wrote:
Oh wow. OK.

I'm not really sure how you got to this point. Your HTML file contains the formatted (and syntax highlighted) code. Did you use TextEdit to save the file? You need to use a plain text editor, or force TextEdit to save in plain text, without formatting. I strongly recommend you use a real code editor, like Sublime Text, or Atom, or TextMate.

On Fri, Feb 12, 2016 at 5:11 PM Susannah Jones <marysj...@gmail.com> wrote:
OS X El Capitan. I attached the file and a screenshot of the file opened in chrome. I used the sample pie chart code from Google developer's quickstart page. I'm so confused as to why it won't open properly.


On Thursday, February 11, 2016 at 10:10:29 AM UTC-5, Sergey wrote:
Just for a sanity check, would you mind taking a screenshot of your chrome window?

What operating system are you using?

On Thu, Feb 11, 2016 at 10:08 AM Susannah Jones <marysj...@gmail.com> wrote:
I did save it as both an .htm and .html file. I'm not sure why it would be acting this way.

On Thu, Feb 11, 2016 at 10:05 AM, 'Sergey Grabkovsky' via Google Visualization API <google-visua...@googlegroups.com> wrote:
Hi Susannah,

Did you save the file with a ".html" extension? A lot of operating systems (namely windows) hide the extension, making it difficult to change. This means that if you create a text file called "test", it's actual filename is "test.txt", where windows hides the .txt part. If you attempt to just rename the file, and change its extension that way, you'll wind up with "test.html.txt" (because windows hid the .txt extensions, causing your extension to be inserted between the filename and the actual extension). You can double check the actual extension when you're viewing the file in Chrome, just by looking at the last couple of characters and ensuring that they are in fact ".html", and not ".txt" or ".rtf".

On Thu, Feb 11, 2016 at 12:03 AM Susannah Jones <marysj...@gmail.com> wrote:
Hi! I'm trying to work with the beginner's tutorial with pie charts. I followed the directions, copied the source code, saved it to an html file, and then opened the said file into chrome but all I see is the source code instead of the actual pie chart. Am I missing something?

--
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 google-visualizati...@googlegroups.com.

To post to this group, send email to google-visua...@googlegroups.com.
--

unnamed.gif

Sergey Grabkovsky

Software Engineer

Google, Inc

gra...@google.com


--
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/GC_xZdQNO2Q/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-visualizati...@googlegroups.com.

To post to this group, send email to google-visua...@googlegroups.com.

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 google-visualizati...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.
--

unnamed.gif

Sergey Grabkovsky

Software Engineer

Google, Inc

gra...@google.com


--
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 google-visualizati...@googlegroups.com.

To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
--

unnamed.gif

Sergey Grabkovsky

Software Engineer

Google, Inc

gra...@google.com


--
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 google-visualizati...@googlegroups.com.

To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.

For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages