I have used plotgrid function to plot custom grid lines. My code is as follows but afl not showing gridlines above 1140.
Any correction needed to show all grid lines, please help
PlotGrid( 81, colorRed, 8, 1, 81 ); // dotted line 1 pixels thick, label
PlotGrid( 86, colorGreen, 10, 1, 86 ); // solid line 1 pixels thick, label
PlotGrid( 91, colorGreen, 10, 1, 91 ); // solid line 1 pixels thick, label
PlotGrid( 96, colorGreen, 10, 1, 96 ); // solid line 1 pixels thick, label
PlotGrid( 101, colorGreen, 10, 2, 101 ); // solid line 1 pixels thick, label
PlotGrid( 106, colorGreen, 10, 1, 106 ); // solid line 1 pixels thick, label
PlotGrid( 111, colorGreen, 10, 1, 111 ); // solid line 1 pixels thick, label
PlotGrid( 116, colorGreen, 10, 1, 116 ); // solid line 1 pixels thick, label
PlotGrid( 121, colorRed, 8, 1, 121 ); // dotted line 1 pixels thick, label
PlotGrid( 127, colorGreen, 10, 1, 127 ); // solid line 1 pixels thick, label
PlotGrid( 133, colorGreen, 10, 1, 133 ); // solid line 1 pixels thick, label
PlotGrid( 139, colorGreen, 10, 1, 139 ); // solid line 1 pixels thick, label
PlotGrid( 145, colorGreen, 10, 2, 145 ); // solid line 2 pixels thick, label
PlotGrid( 151, colorGreen, 10, 1, 151 ); // solid line 1 pixels thick, label
PlotGrid( 157, colorGreen, 10, 1, 157 ); // solid line 1 pixels thick, label
PlotGrid( 163, colorGreen, 10, 1, 163 ); // solid line 1 pixels thick, label
PlotGrid( 169, colorRed, 8, 1, 169 ); // dotted line 1 pixels thick, label
PlotGrid( 176, colorGreen, 10, 1, 176 ); // solid line 1 pixels thick, label
PlotGrid( 183, colorGreen, 10, 1, 183 ); // solid line 1 pixels thick, label
PlotGrid( 190, colorGreen, 10, 1, 190 ); // solid line 1 pixels thick, label
PlotGrid( 197, colorGreen, 10, 2, 197 ); // solid line 2 pixels thick, label
PlotGrid( 204, colorGreen, 10, 1, 204 ); // solid line 1 pixels thick, label
PlotGrid( 211, colorGreen, 10, 1, 211 ); // solid line 1 pixels thick, label
PlotGrid( 218, colorGreen, 10, 1, 218 ); // solid line 1 pixels thick, label
PlotGrid( 225, colorRed, 8, 1, 225 ); // dotted line 1 pixels thick, label
PlotGrid( 233, colorGreen, 10, 1, 233 ); // solid line 1 pixels thick, label
PlotGrid( 241, colorGreen, 10, 1, 241 ); // solid line 1 pixels thick, label
PlotGrid( 249, colorGreen, 10, 1, 249 ); // solid line 1 pixels thick, label
PlotGrid( 257, colorGreen, 10, 2, 257 ); // solid line 2 pixels thick, label
PlotGrid( 265, colorGreen, 10, 1, 265 ); // solid line 1 pixels thick, label
PlotGrid( 273, colorGreen, 10, 1, 273 ); // solid line 1 pixels thick, label
PlotGrid( 281, colorGreen, 10, 1, 281 ); // solid line 1 pixels thick, label
PlotGrid( 289, colorRed, 8, 1, 289 ); // dotted line 1 pixels thick, label
PlotGrid( 298, colorGreen, 10, 1, 298 ); // solid line 1 pixels thick, label
PlotGrid( 307, colorGreen, 10, 1, 307 ); // solid line 1 pixels thick, label
PlotGrid( 316, colorGreen, 10, 1, 316 ); // solid line 1 pixels thick, label
PlotGrid( 325, colorGreen, 10, 2, 325 ); // solid line 2 pixels thick, label
PlotGrid( 334, colorGreen, 10, 1, 334 ); // solid line 1 pixels thick, label
PlotGrid( 343, colorGreen, 10, 1, 343 ); // solid line 1 pixels thick, label
PlotGrid( 352, colorGreen, 10, 1, 352 ); // solid line 1 pixels thick, label
PlotGrid( 361, colorRed, 8, 1, 361 ); // dotted line 1 pixels thick, label
PlotGrid( 371, colorGreen, 10, 1, 371 ); // solid line 1 pixels thick, label
PlotGrid( 381, colorGreen, 10, 1, 381 ); // solid line 1 pixels thick, label
PlotGrid( 391, colorGreen, 10, 1, 391 ); // solid line 1 pixels thick, label
PlotGrid( 401, colorGreen, 10, 2, 401 ); // solid line 2 pixels thick, label
PlotGrid( 411, colorGreen, 10, 1, 411 ); // solid line 1 pixels thick, label
PlotGrid( 421, colorGreen, 10, 1, 421 ); // solid line 1 pixels thick, label
PlotGrid( 431, colorGreen, 10, 1, 431 ); // solid line 1 pixels thick, label
PlotGrid( 441, colorRed, 8, 1, 441 ); // dotted line 1 pixels thick, label
PlotGrid( 452, colorGreen, 10, 1, 452 ); // solid line 1 pixels thick, label
PlotGrid( 463, colorGreen, 10, 1, 463 ); // solid line 1 pixels thick, label
PlotGrid( 474, colorGreen, 10, 1, 474 ); // solid line 1 pixels thick, label
PlotGrid( 485, colorGreen, 10, 2, 485 ); // solid line 2 pixels thick, label
PlotGrid( 496, colorGreen, 10, 1, 496 ); // solid line 1 pixels thick, label
PlotGrid( 507, colorGreen, 10, 1, 507 ); // solid line 1 pixels thick, label
PlotGrid( 518, colorGreen, 10, 1, 518 ); // solid line 1 pixels thick, label
PlotGrid( 529, colorRed, 8, 1, 529 ); // dotted line 1 pixels thick, label
PlotGrid( 541, colorGreen, 10, 1, 541 ); // solid line 1 pixels thick, label
PlotGrid( 553, colorGreen, 10, 1, 553 ); // solid line 1 pixels thick, label
PlotGrid( 565, colorGreen, 10, 1, 565 ); // solid line 1 pixels thick, label
PlotGrid( 577, colorGreen, 10, 2, 577 ); // solid line 2 pixels thick, label
PlotGrid( 589, colorGreen, 10, 1, 589 ); // solid line 1 pixels thick, label
PlotGrid( 601, colorGreen, 10, 1, 601 ); // solid line 1 pixels thick, label
PlotGrid( 613, colorGreen, 10, 1, 613 ); // solid line 1 pixels thick, label
PlotGrid( 625, colorRed, 8, 1, 625 ); // dotted line 1 pixels thick, label
PlotGrid( 638, colorGreen, 10, 1, 638 ); // solid line 1 pixels thick, label
PlotGrid( 651, colorGreen, 10, 1, 651 ); // solid line 1 pixels thick, label
PlotGrid( 664, colorGreen, 10, 1, 664 ); // solid line 1 pixels thick, label
PlotGrid( 677, colorGreen, 10, 2, 677 ); // solid line 2 pixels thick, label
PlotGrid( 690, colorGreen, 10, 1, 690 ); // solid line 1 pixels thick, label
PlotGrid( 703, colorGreen, 10, 1, 701 ); // solid line 1 pixels thick, label
PlotGrid( 716, colorGreen, 10, 1, 716 ); // solid line 1 pixels thick, label
PlotGrid( 729, colorRed, 8, 1, 729 ); // dotted line 1 pixels thick, label
PlotGrid( 743, colorGreen, 10, 1, 743 ); // solid line 1 pixels thick, label
PlotGrid( 757, colorGreen, 10, 1, 757 ); // solid line 1 pixels thick, label
PlotGrid( 771, colorGreen, 10, 1, 771 ); // solid line 1 pixels thick, label
PlotGrid( 785, colorGreen, 10, 2, 785 ); // solid line 2 pixels thick, label
PlotGrid( 799, colorGreen, 10, 1, 799 ); // solid line 1 pixels thick, label
PlotGrid( 813, colorGreen, 10, 1, 813 ); // solid line 1 pixels thick, label
PlotGrid( 827, colorGreen, 10, 1, 827 ); // solid line 1 pixels thick, label
PlotGrid( 841, colorRed, 8, 1, 841 ); // dotted line 1 pixels thick, label
PlotGrid( 856, colorGreen, 10, 1, 856 ); // solid line 1 pixels thick, label
PlotGrid( 871, colorGreen, 10, 1, 871 ); // solid line 1 pixels thick, label
PlotGrid( 886, colorGreen, 10, 1, 886 ); // solid line 1 pixels thick, label
PlotGrid( 901, colorGreen, 10, 2, 901 ); // solid line 2 pixels thick, label
PlotGrid( 916, colorGreen, 10, 1, 916 ); // solid line 1 pixels thick, label
PlotGrid( 931, colorGreen, 10, 1, 931 ); // solid line 1 pixels thick, label
PlotGrid( 946, colorGreen, 10, 1, 946 ); // solid line 1 pixels thick, label
PlotGrid( 961, colorRed, 8, 1, 961 ); // dotted line 1 pixels thick, label
PlotGrid( 977, colorGreen, 10, 1, 977 ); // solid line 1 pixels thick, label
PlotGrid( 993, colorGreen, 10, 1, 993 ); // solid line 1 pixels thick, label
PlotGrid( 1009, colorGreen, 10, 1, 1009 ); // solid line 1 pixels thick, label
PlotGrid( 1025, colorGreen, 10, 2, 1025 ); // solid line 2 pixels thick, label
PlotGrid( 1041, colorGreen, 10, 1, 1041 ); // solid line 1 pixels thick, label
PlotGrid( 1057, colorGreen, 10, 1, 1057 ); // solid line 1 pixels thick, label
PlotGrid( 1073, colorGreen, 10, 1, 1073 ); // solid line 1 pixels thick, label
PlotGrid( 1089, colorRed, 8, 1, 1089 ); // dotted line 1 pixels thick, label
PlotGrid( 1106, colorGreen, 10, 1, 1106 ); // solid line 1 pixels thick, label
PlotGrid( 1123, colorGreen, 10, 1, 1123 ); // solid line 1 pixels thick, label
PlotGrid( 1140, colorGreen, 10, 1, 1140 ); // solid line 1 pixels thick, label
PlotGrid( 1157, colorGreen, 10, 2, 1157 ); // solid line 2 pixels thick, label
PlotGrid( 1174, colorGreen, 10, 1, 1174 ); // solid line 1 pixels thick, label
PlotGrid( 1191, colorGreen, 10, 1, 1191 ); // solid line 1 pixels thick, label
PlotGrid( 1208, colorGreen, 10, 1, 1208 ); // solid line 1 pixels thick, label
PlotGrid( 1225, colorRed, 8, 1, 1225 ); // dotted line 1 pixels thick, label
PlotGrid( 1243, colorGreen, 10, 1, 1243 ); // solid line 1 pixels thick, label
PlotGrid( 1261, colorGreen, 10, 1, 1261 ); // solid line 1 pixels thick, label
PlotGrid( 1279, colorGreen, 10, 1, 1279 ); // solid line 1 pixels thick, label
PlotGrid( 1297, colorGreen, 10, 2, 1297 ); // solid line 2 pixels thick, label
PlotGrid( 1315, colorGreen, 10, 1, 1315 ); // solid line 1 pixels thick, label
PlotGrid( 1333, colorGreen, 10, 1, 1333 ); // solid line 1 pixels thick, label
PlotGrid( 1351, colorGreen, 10, 1, 1351 ); // solid line 1 pixels thick, label
PlotGrid( 1369, colorRed, 8, 1, 1369 ); // dotted line 1 pixels thick, label