Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 1968 by
victorta...@gmail.com: Bug: Line Chart Y-Axis label value
overlaps other Y-Axis label value
https://code.google.com/p/google-visualization-api-issues/issues/detail?id=1968
What steps will reproduce the problem? Please provide a link to a
demonstration page if at all possible, or attach code.
1. Add a line chart with the below code.
2. You will see I used dates/and number with decimal
3. Add high numbers within the tick range see code for example:
(Code also attached in a file).
var data = new google.visualization.DataTable();
data.addColumn('string', 'Date');
data.addColumn('number', 'IS Value');
data.addRow(['01/01/2015', parseFloat(10.00)]);
data.addRow(['03/01/2015', parseFloat(09.01)]);
var options = {
title: 'Patient IS (%) History',
legend: { position: 'bottom' },
width: 500,
height: 300,
lineWidth: 3,
pointSize: 10,
vAxis: { scaleType: "mirrorLog", title: 'IS (%) BCR-ABL',
ticks: [{ v: 0.00, f: '0.00' }, { v: 0.01, f: '0.01' }, { v: 0.10,
f: '0.10' }, { v: 1.00, f: '1.00' }, { v: 10.00, f: '10.00' }, { v: 100.00,
f: '100.00'}] },
hAxis: { title: 'Test Date' }
};
var chartDiv = document.getElementById('chart_div');
var chart = new google.visualization.LineChart(chartDiv);
console.log(chartDiv.innerHTML);
chart.draw(data, options);
What component is this issue related to (PieChart, LineChart, DataTable,
Query, etc)?
This issue is related to the LineChart graph.
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?
Windows 7 64 bit, Chrome browser.
*********************************************************
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.
*********************************************************
Attachments:
CodeIssue.txt 1.0 KB
Chart.png 16.2 KB
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings