Skip to content
This repository was archived by the owner on Apr 18, 2026. It is now read-only.
This repository was archived by the owner on Apr 18, 2026. It is now read-only.

vAxis title is not displaying #294

@orwant

Description

@orwant
What steps will reproduce the problem? Please provide a link to a
demonstration page if at all possible, or attach code.
1. Using the corechart package
2. Supply vAxis: {title: 'foo'} and hAxis: {title: 'bar'}
3. Note that hAxis appears and vAxis does not.

  google.load('visualization', '1', {packages: ['corechart']});
  google.setOnLoadCallback(drawChart);
  function drawChart() {
    // Create and populate the data table.
    var data = new google.visualization.DataTable();
    data.addColumn('number', 'Attack');
    data.addColumn('number', 'Damage');
    data.addRows([
      [550,6200],
      [560,6300],
      [560,6399],
      [580,6240]
    ]);

    // Create and draw the visualization.
    var chart = new google.visualization.ScatterChart(document.getElementById('chart'));
    chart.draw(data,
      {
        width: 600,
        height: 240,
        pointSize: 4,
        title: 'Damage vs. Attack',
        vAxis: {title: 'Damage'},
        hAxis: {title: 'Attack'},
        legend: 'none'
      }
    );
  }


What component is this issue related to (PieChart, LineChart, DataTable,
Query, etc)?
ScatterChart

Are you using the test environment (version 1.1)?
(If you are not sure, answer NO)
NO

What operating system and browser are you using?
Mac OS X 10.5.8
Tested in the following browsers:
Google Chrome: 5.0.375.38 beta
Firefox: 3.6.3
Safari: 4.0.5 (5531.22.7)


*********************************************************
For developers viewing this issue: please click the 'star' icon to be
notified of future changes, and to let us know how many of you are
interested in seeing it resolved.
*********************************************************

Original issue reported on code.google.com by wakko978 on 2010-05-25 15:47:04

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions