Skip to content

Instantly share code, notes, and snippets.

@ponsuke0531
Last active February 17, 2017 13:20
Show Gist options
  • Save ponsuke0531/916215ccfefa4628ad4ebeac40e6fc6e to your computer and use it in GitHub Desktop.
Save ponsuke0531/916215ccfefa4628ad4ebeac40e6fc6e to your computer and use it in GitHub Desktop.
Highcharts : Y軸目盛の表示がくっついた時の改善案 ref: http://qiita.com/ponsuke0531/items/b128af70aac7e221c7c1
<!DOCTYPE html>
<html>
<head>
<title>Highchartsの練習</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script src="http://code.highcharts.com/highcharts.js"></script>
<script type="text/javascript" src="js/myHighcharts.js"></script>
</head>
<body>
<div id="barChart" style="width:80%; height:30%;"></div>
</body>
</html>
これより上は「問題の状態」と同じ
function getBarChartOptions(seriesData) {
var yAxisTickInterval = 0.5;
var yAxisRotation = 75;
var barChartOptions = {
chart: {
これより下は「問題の状態」と同じ
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment