Multiple XAxis with ZedGraph

喜你入骨 提交于 2019-12-10 22:49:08

问题


With ZedGraph, I can add multiple YAxis by doing the following:

YAxis yAxis3 = new YAxis("Distance, m");
pane.YAxisList.Add(yAxis3);

Is there a similar way to add an additional XAxis, that is not X2Axis?

What I want to do is have the inside XAxis reflect the month of the data. The outside XAxis would reflect the year. This way everything scales correctly without redundant information to the user. Both would be tied to the same value, just one displayed as MMM and the other as yyyy


回答1:


Quick answer: AFAIK unfortunately not.

Please provide more detailed information (e.g. why do you need another x-axis) maybe there's some workaround.



来源:https://stackoverflow.com/questions/4864163/multiple-xaxis-with-zedgraph

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!