Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ios/102.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
使用ShinobiCharts(iOS)将轴居中_Ios_Objective C_Plot_Shinobi - Fatal编程技术网

使用ShinobiCharts(iOS)将轴居中

使用ShinobiCharts(iOS)将轴居中,ios,objective-c,plot,shinobi,Ios,Objective C,Plot,Shinobi,我遵循了关于忍者图的快速入门教程,我想知道如何获得像这样的居中图 我成功地使用以下命令将x轴居中: chart.xAxis.axisPositionValue = @0; 如何使y轴也居中?提前谢谢 免责声明:我是Shinobi Control的开发人员 “axisPositionValue”是另一个轴上的数据项 例如,如果X轴的数据范围为0-10,Y轴的数据范围为0-100。要使两个轴都位于图表的中心,请将X轴的“axisPositionValue”和Y轴的“axisPositionVal

我遵循了关于忍者图的快速入门教程,我想知道如何获得像这样的居中图

我成功地使用以下命令将x轴居中:

chart.xAxis.axisPositionValue = @0;

如何使y轴也居中?提前谢谢

免责声明:我是Shinobi Control的开发人员

“axisPositionValue”是另一个轴上的数据项

例如,如果X轴的数据范围为0-10,Y轴的数据范围为0-100。要使两个轴都位于图表的中心,请将X轴的“axisPositionValue”和Y轴的“axisPositionValue”设置为5,如下所示:

chart.xAxis.axisPositionValue = @50;
chart.yAxis.axisPositionValue = @5;

如果您有任何问题,请告诉我。

免责声明:我是Shinobi Control的开发人员

“axisPositionValue”是另一个轴上的数据项

例如,如果X轴的数据范围为0-10,Y轴的数据范围为0-100。要使两个轴都位于图表的中心,请将X轴的“axisPositionValue”和Y轴的“axisPositionValue”设置为5,如下所示:

chart.xAxis.axisPositionValue = @50;
chart.yAxis.axisPositionValue = @5;
如果你有任何问题,请告诉我