Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7054735
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T03:39:47+00:00 2026-05-28T03:39:47+00:00

How can i place values on the ‘google.visualization’ graph ? please see image attached.

  • 0

How can i place values on the ‘google.visualization’ graph ?

please see image attached.

graph example

var options = {
      width: 1024, height: 240,
      title: 'Clicks from Welcome email',
      vAxis: {title: 'email Clicks',  titleTextStyle: {color: 'black'}}
    };

this is the solution

data.addColumn({type:’number’, role:’annotation’});

in the google graph its all about layers, so i added this layer,
watch out that the type is the same type as in your rowData

var data = new google.visualization.DataTable();
data.addColumn(‘string’, ‘date’);
data.addColumn(‘number’, ‘Remove’);
data.addColumn({type:’number’, role:’annotation’}); // annotation role col.
data.addColumn(‘number’, ‘Add’);
data.addColumn({type:’number’, role:’annotation’}); // annotation role col.
data.addRows([]);

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T03:39:48+00:00Added an answer on May 28, 2026 at 3:39 am

    This type of functionality was recently introduced to gviz using DataTable roles: you can use extra columns of information in your datatable to create annotations and other types of functionality.

    See the first example here for a guide to what I think you want:
    http://code.google.com/apis/chart/interactive/docs/roles.html#whatrolesavailable

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there a config file in Symfony 1.4 where you can place custom values
Constants are beautiful people - they can hold in a unique place a value
Where in this pattern I can place services, about which I some much hear
I have an website where people can place a vote like this: http://mysite.com/vote/25 This
Is it possible to have multiple folders where I can place applications to be
i am using vb.net i just wanna ask if we can place a picture
There are <meta> tags and other things you can place in the <head> of
Can one place an arbitrary program (firefox, openoffice, etc...) in a QX11EmbedContainer? The fllowing
How can I place a form at the bottom-right of the screen when it
How can you place controls on a frame of a WPF window? I took

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.