原因がわかった。IMAGE_GRAPH_AXIS_Y_SECONDARYはImage_Graph_Plotareaのaddの中で作られる。ここではじめて作るので、何も追加していない状態でgetAxisをするとnullが帰ってきてしまう。
解決法は、使う前に追加。
$plotarea->add(Image_Graph::factory('axis', IMAGE_GRAPH_AXIS_Y_SECONDARY));
Next Posts
Previous Posts
Already a Vox member? Sign in
Name:
Email:
[this is good] [c’est top] [いいですね] [das ist gut] [esto es genial] [ciò è buono] [isto é bom] [هذا هو الحكم] [참 좋습니다] [這個好] [这个好] [זה מעולה]
Explore friends, family, friends & family, or entire neighborhood.
Adding this item will make it viewable to everyone who has access to the group.
Adding this post, and any items in it, will make it viewable to everyone who has access to the group.
(Select up to five users maximum)
You've been logged out, please sign in to Vox with your email and password to complete this action.