{"id":760,"date":"2021-11-24T09:11:23","date_gmt":"2021-11-24T00:11:23","guid":{"rendered":"http:\/\/www.onepage.co.kr\/wordpress\/?p=760"},"modified":"2021-11-24T09:11:23","modified_gmt":"2021-11-24T00:11:23","slug":"hide-the-y-axis-by-setting-the-value-of-yaxis-pointoncolumn","status":"publish","type":"post","link":"https:\/\/www.onepage.co.kr\/wordpress\/index.php\/2021\/11\/24\/hide-the-y-axis-by-setting-the-value-of-yaxis-pointoncolumn\/","title":{"rendered":"hide the y axis by setting the value of yAxis.pointOnColumn"},"content":{"rendered":"<ol dir=\"auto\">\n<li>For line chart, you can hide the y axis by setting the value of yAxis.pointOnColumn, yAxis.showLabel option to false as shown below.<\/li>\n<\/ol>\n<div class=\"highlight highlight-source-js position-relative overflow-auto\">\n<pre><span class=\"pl-k\">var<\/span> <span class=\"pl-s1\">options<\/span> <span class=\"pl-c1\">=<\/span> <span class=\"pl-kos\">{<\/span>\r\n    ...\r\n    <span class=\"pl-s1\">yAxis<\/span>: <span class=\"pl-kos\">{<\/span>\r\n        <span class=\"pl-s1\">pointOnColumn<\/span>: <span class=\"pl-c1\">false<\/span><span class=\"pl-kos\">,<\/span>\r\n        <span class=\"pl-c1\">showLabel<\/span>: <span class=\"pl-c1\">false<\/span>\r\n    <span class=\"pl-kos\">}<\/span><span class=\"pl-kos\">,<\/span>\r\n    ...\r\n<span class=\"pl-kos\">}<\/span><\/pre>\n<\/div>\n<ol dir=\"auto\" start=\"2\">\n<li>Can control the thickness of lines by giving series.pointWidth option as below, but there is no way to change the line weight of specific series group to different.<\/li>\n<\/ol>\n<div class=\"highlight highlight-source-js position-relative overflow-auto\">\n<pre><span class=\"pl-k\">var<\/span> <span class=\"pl-s1\">options<\/span> <span class=\"pl-c1\">=<\/span> <span class=\"pl-kos\">{<\/span>\r\n    ...\r\n    <span class=\"pl-s1\">series<\/span>: <span class=\"pl-kos\">{<\/span>\r\n        <span class=\"pl-s1\">pointWidth<\/span>: <span class=\"pl-c1\">1<\/span>\r\n    <span class=\"pl-kos\">}<\/span><span class=\"pl-kos\">,<\/span>\r\n    ...\r\n<span class=\"pl-kos\">}<\/span><\/pre>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>For line chart, you can hide the y axis by setting the value of yAxis.pointOnColumn, yAxis.showLabel option to false as shown below. var options = { &#8230; yAxis: { pointOnColumn: false, showLabel: false }, &#8230; } Can control the thickness of lines by giving series.pointWidth option as below, but there is no way to change [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-760","post","type-post","status-publish","format-standard","hentry","category-about-linux"],"_links":{"self":[{"href":"https:\/\/www.onepage.co.kr\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/760","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.onepage.co.kr\/wordpress\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.onepage.co.kr\/wordpress\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.onepage.co.kr\/wordpress\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.onepage.co.kr\/wordpress\/index.php\/wp-json\/wp\/v2\/comments?post=760"}],"version-history":[{"count":1,"href":"https:\/\/www.onepage.co.kr\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/760\/revisions"}],"predecessor-version":[{"id":761,"href":"https:\/\/www.onepage.co.kr\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/760\/revisions\/761"}],"wp:attachment":[{"href":"https:\/\/www.onepage.co.kr\/wordpress\/index.php\/wp-json\/wp\/v2\/media?parent=760"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.onepage.co.kr\/wordpress\/index.php\/wp-json\/wp\/v2\/categories?post=760"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.onepage.co.kr\/wordpress\/index.php\/wp-json\/wp\/v2\/tags?post=760"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}