1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta name="author" content="Emanuel Eichhammer" />
<meta name="copyright" content="(C) 2013-2015 Emanuel Eichhammer" />
<title>QCPGraph Class Reference</title>
<link href="qt.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top">
<a class="headerLink" href="index.html">Main Page</a> ·
<a class="headerLink" href="classoverview.html">Class Overview</a> ·
<a class="headerLink" href="hierarchy.html">Hierarchy</a> ·
<a class="headerLink" href="annotated.html">All Classes</a> ·
<a class="headerLink" href="pages.html">Special Pages</a>
<!-- Generated by Doxygen 1.8.6 -->
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-types">Public Types</a> |
<a href="#pub-methods">Public Functions</a> |
<a href="#pro-methods">Protected Functions</a> </div>
<div class="headertitle">
<div class="title">QCPGraph Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>A plottable representing a graph in a plot.
<a href="classQCPGraph.html#details">More...</a></p>
<div class="dynheader">
Inheritance diagram for QCPGraph:</div>
<div class="dyncontent">
<div class="center"><img src="classQCPGraph__inherit__graph.png" border="0" usemap="#QCPGraph_inherit__map" alt="Inheritance graph"/></div>
<map name="QCPGraph_inherit__map" id="QCPGraph_inherit__map">
<area shape="rect" id="node2" href="classQCPAbstractPlottable.html" title="The abstract base class for all data representing objects in a plot. " alt="" coords="4,77,144,101"/><area shape="rect" id="node3" href="classQCPLayerable.html" title="Base class for all drawable objects. " alt="" coords="24,5,125,29"/></map>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:ad60175cd9b5cac937c5ee685c32c0859"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPGraph.html#ad60175cd9b5cac937c5ee685c32c0859">LineStyle</a> </td></tr>
<tr class="separator:ad60175cd9b5cac937c5ee685c32c0859"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad23b514404bd2cb3216f57c90904d6af"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPGraph.html#ad23b514404bd2cb3216f57c90904d6af">ErrorType</a> </td></tr>
<tr class="separator:ad23b514404bd2cb3216f57c90904d6af"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Functions</h2></td></tr>
<tr class="memitem:a0393a38cf7183cbf46348eb6cf9a5a6c"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPGraph.html#a0393a38cf7183cbf46348eb6cf9a5a6c">QCPGraph</a> (<a class="el" href="classQCPAxis.html">QCPAxis</a> *keyAxis, <a class="el" href="classQCPAxis.html">QCPAxis</a> *valueAxis)</td></tr>
<tr class="separator:a0393a38cf7183cbf46348eb6cf9a5a6c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2f58436df4f86a2792b776a21642b3d9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="plottable-graph_8h.html#a84a9c4a4c2216ccfdcb5f3067cda76e3">QCPDataMap</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPGraph.html#a2f58436df4f86a2792b776a21642b3d9">data</a> () const </td></tr>
<tr class="separator:a2f58436df4f86a2792b776a21642b3d9"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad6db8d31abeac256a285fc68d6b9b9be"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad6db8d31abeac256a285fc68d6b9b9be"></a>
<a class="el" href="classQCPGraph.html#ad60175cd9b5cac937c5ee685c32c0859">LineStyle</a> </td><td class="memItemRight" valign="bottom"><b>lineStyle</b> () const </td></tr>
<tr class="separator:ad6db8d31abeac256a285fc68d6b9b9be"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae0227c79f4e42a350c2c99fb2fb879db"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae0227c79f4e42a350c2c99fb2fb879db"></a>
<a class="el" href="classQCPScatterStyle.html">QCPScatterStyle</a> </td><td class="memItemRight" valign="bottom"><b>scatterStyle</b> () const </td></tr>
<tr class="separator:ae0227c79f4e42a350c2c99fb2fb879db"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a250bcdf78abac87bc6d46ee6fd99a92d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a250bcdf78abac87bc6d46ee6fd99a92d"></a>
<a class="el" href="classQCPGraph.html#ad23b514404bd2cb3216f57c90904d6af">ErrorType</a> </td><td class="memItemRight" valign="bottom"><b>errorType</b> () const </td></tr>
<tr class="separator:a250bcdf78abac87bc6d46ee6fd99a92d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a83455e01093bb899f3b59d4a6fdcd57b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a83455e01093bb899f3b59d4a6fdcd57b"></a>
QPen </td><td class="memItemRight" valign="bottom"><b>errorPen</b> () const </td></tr>
<tr class="separator:a83455e01093bb899f3b59d4a6fdcd57b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae31efdcbc6ba3d73a7aeb83c774f958a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae31efdcbc6ba3d73a7aeb83c774f958a"></a>
double </td><td class="memItemRight" valign="bottom"><b>errorBarSize</b> () const </td></tr>
<tr class="separator:ae31efdcbc6ba3d73a7aeb83c774f958a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a04dbc050ff04561658ab1e7f3df37a01"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a04dbc050ff04561658ab1e7f3df37a01"></a>
bool </td><td class="memItemRight" valign="bottom"><b>errorBarSkipSymbol</b> () const </td></tr>
<tr class="separator:a04dbc050ff04561658ab1e7f3df37a01"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5369f23863e04a6164f8b66d49fd18f4"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5369f23863e04a6164f8b66d49fd18f4"></a>
<a class="el" href="classQCPGraph.html">QCPGraph</a> * </td><td class="memItemRight" valign="bottom"><b>channelFillGraph</b> () const </td></tr>
<tr class="separator:a5369f23863e04a6164f8b66d49fd18f4"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad3bea28ec910eedfa9b788928d610de0"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad3bea28ec910eedfa9b788928d610de0"></a>
bool </td><td class="memItemRight" valign="bottom"><b>adaptiveSampling</b> () const </td></tr>
<tr class="separator:ad3bea28ec910eedfa9b788928d610de0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1df2fd710545c8ba3b2c99a39a27bf8b"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPGraph.html#a1df2fd710545c8ba3b2c99a39a27bf8b">setData</a> (<a class="el" href="plottable-graph_8h.html#a84a9c4a4c2216ccfdcb5f3067cda76e3">QCPDataMap</a> *<a class="el" href="classQCPGraph.html#a2f58436df4f86a2792b776a21642b3d9">data</a>, bool copy=false)</td></tr>
<tr class="separator:a1df2fd710545c8ba3b2c99a39a27bf8b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4c55d8ac13bfa42c8c93747820891a76"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPGraph.html#a4c55d8ac13bfa42c8c93747820891a76">setData</a> (const QVector< double > &key, const QVector< double > &value)</td></tr>
<tr class="separator:a4c55d8ac13bfa42c8c93747820891a76"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:abce9f07c0d722bc3e4fa7bd73c7e5dfa"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPGraph.html#abce9f07c0d722bc3e4fa7bd73c7e5dfa">setDataKeyError</a> (const QVector< double > &key, const QVector< double > &value, const QVector< double > &keyError)</td></tr>
<tr class="separator:abce9f07c0d722bc3e4fa7bd73c7e5dfa"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac15c749c5fedf740d5692c6fe67143b8"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPGraph.html#ac15c749c5fedf740d5692c6fe67143b8">setDataKeyError</a> (const QVector< double > &key, const QVector< double > &value, const QVector< double > &keyErrorMinus, const QVector< double > &keyErrorPlus)</td></tr>
<tr class="separator:ac15c749c5fedf740d5692c6fe67143b8"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:acba6296eadcb36b93267628b8dae3de5"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPGraph.html#acba6296eadcb36b93267628b8dae3de5">setDataValueError</a> (const QVector< double > &key, const QVector< double > &value, const QVector< double > &valueError)</td></tr>
<tr class="separator:acba6296eadcb36b93267628b8dae3de5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3afbfd7222d739351c69387904776f93"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPGraph.html#a3afbfd7222d739351c69387904776f93">setDataValueError</a> (const QVector< double > &key, const QVector< double > &value, const QVector< double > &valueErrorMinus, const QVector< double > &valueErrorPlus)</td></tr>
<tr class="separator:a3afbfd7222d739351c69387904776f93"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a873fe46bdb20be5710428e474ade8908"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPGraph.html#a873fe46bdb20be5710428e474ade8908">setDataBothError</a> (const QVector< double > &key, const QVector< double > &value, const QVector< double > &keyError, const QVector< double > &valueError)</td></tr>
<tr class="separator:a873fe46bdb20be5710428e474ade8908"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:abb75736ecdbf6e6a7501e1da64fb18cf"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPGraph.html#abb75736ecdbf6e6a7501e1da64fb18cf">setDataBothError</a> (const QVector< double > &key, const QVector< double > &value, const QVector< double > &keyErrorMinus, const QVector< double > &keyErrorPlus, const QVector< double > &valueErrorMinus, const QVector< double > &valueErrorPlus)</td></tr>
<tr class="separator:abb75736ecdbf6e6a7501e1da64fb18cf"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a513fecccff5b2a50ce53f665338c60ff"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPGraph.html#a513fecccff5b2a50ce53f665338c60ff">setLineStyle</a> (<a class="el" href="classQCPGraph.html#ad60175cd9b5cac937c5ee685c32c0859">LineStyle</a> ls)</td></tr>
<tr class="separator:a513fecccff5b2a50ce53f665338c60ff"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a12bd17a8ba21983163ec5d8f42a9fea5"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPGraph.html#a12bd17a8ba21983163ec5d8f42a9fea5">setScatterStyle</a> (const <a class="el" href="classQCPScatterStyle.html">QCPScatterStyle</a> &style)</td></tr>
<tr class="separator:a12bd17a8ba21983163ec5d8f42a9fea5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac3614d799c3894f2bc646e99c7f73d38"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPGraph.html#ac3614d799c3894f2bc646e99c7f73d38">setErrorType</a> (<a class="el" href="classQCPGraph.html#ad23b514404bd2cb3216f57c90904d6af">ErrorType</a> errorType)</td></tr>
<tr class="separator:ac3614d799c3894f2bc646e99c7f73d38"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:abd4c7f81939e10776ea64603a704f22a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPGraph.html#abd4c7f81939e10776ea64603a704f22a">setErrorPen</a> (const QPen &pen)</td></tr>
<tr class="separator:abd4c7f81939e10776ea64603a704f22a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a10f50c5495ce45ef559ec2066194a335"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPGraph.html#a10f50c5495ce45ef559ec2066194a335">setErrorBarSize</a> (double size)</td></tr>
<tr class="separator:a10f50c5495ce45ef559ec2066194a335"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab1c1ee03d8dd94676a564e5e5f11aac2"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPGraph.html#ab1c1ee03d8dd94676a564e5e5f11aac2">setErrorBarSkipSymbol</a> (bool enabled)</td></tr>
<tr class="separator:ab1c1ee03d8dd94676a564e5e5f11aac2"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2d03156df1b64037a2e36cfa50351ca3"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPGraph.html#a2d03156df1b64037a2e36cfa50351ca3">setChannelFillGraph</a> (<a class="el" href="classQCPGraph.html">QCPGraph</a> *targetGraph)</td></tr>
<tr class="separator:a2d03156df1b64037a2e36cfa50351ca3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab468cd600160f327836aa0644291e64c"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPGraph.html#ab468cd600160f327836aa0644291e64c">setAdaptiveSampling</a> (bool enabled)</td></tr>
<tr class="separator:ab468cd600160f327836aa0644291e64c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa5c6181d84db72ce4dbe9dc15a34ef4f"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPGraph.html#aa5c6181d84db72ce4dbe9dc15a34ef4f">addData</a> (const <a class="el" href="plottable-graph_8h.html#a84a9c4a4c2216ccfdcb5f3067cda76e3">QCPDataMap</a> &dataMap)</td></tr>
<tr class="separator:aa5c6181d84db72ce4dbe9dc15a34ef4f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a80cc91e1e0ef77eb50afc5b366d0efd9"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPGraph.html#a80cc91e1e0ef77eb50afc5b366d0efd9">addData</a> (const <a class="el" href="classQCPData.html">QCPData</a> &<a class="el" href="classQCPGraph.html#a2f58436df4f86a2792b776a21642b3d9">data</a>)</td></tr>
<tr class="separator:a80cc91e1e0ef77eb50afc5b366d0efd9"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0bf98b1972286cfb7b1c4b7dd6ae2012"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPGraph.html#a0bf98b1972286cfb7b1c4b7dd6ae2012">addData</a> (double key, double value)</td></tr>
<tr class="separator:a0bf98b1972286cfb7b1c4b7dd6ae2012"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab6da6377541fe80d892a9893a92db9c6"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPGraph.html#ab6da6377541fe80d892a9893a92db9c6">addData</a> (const QVector< double > &keys, const QVector< double > &values)</td></tr>
<tr class="separator:ab6da6377541fe80d892a9893a92db9c6"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9fe0b3e54e8c7b61319bd03337e21e99"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPGraph.html#a9fe0b3e54e8c7b61319bd03337e21e99">removeDataBefore</a> (double key)</td></tr>
<tr class="separator:a9fe0b3e54e8c7b61319bd03337e21e99"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae42d645ef617cfc75fc0df58e62c522a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPGraph.html#ae42d645ef617cfc75fc0df58e62c522a">removeDataAfter</a> (double key)</td></tr>
<tr class="separator:ae42d645ef617cfc75fc0df58e62c522a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4a0fde50b7db9db0a85b5c5b6b10098f"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPGraph.html#a4a0fde50b7db9db0a85b5c5b6b10098f">removeData</a> (double fromKey, double toKey)</td></tr>
<tr class="separator:a4a0fde50b7db9db0a85b5c5b6b10098f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4a706020b4318f118381648ef18aca3f"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPGraph.html#a4a706020b4318f118381648ef18aca3f">removeData</a> (double key)</td></tr>
<tr class="separator:a4a706020b4318f118381648ef18aca3f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad4e94a4e44e5e76fbec81a72a977157d"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPGraph.html#ad4e94a4e44e5e76fbec81a72a977157d">clearData</a> ()</td></tr>
<tr class="separator:ad4e94a4e44e5e76fbec81a72a977157d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:abc9ff375aabcf2d21cca33d6baf85772"><td class="memItemLeft" align="right" valign="top">virtual double </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPGraph.html#abc9ff375aabcf2d21cca33d6baf85772">selectTest</a> (const QPointF &pos, bool onlySelectable, QVariant *details=0) const </td></tr>
<tr class="separator:abc9ff375aabcf2d21cca33d6baf85772"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa35b75b9032800d783df749c8a004ee9"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPGraph.html#aa35b75b9032800d783df749c8a004ee9">rescaleAxes</a> (bool onlyEnlarge, bool includeErrorBars) const </td></tr>
<tr class="separator:aa35b75b9032800d783df749c8a004ee9"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2108a729046b0ab6e0516afb249dab13"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPGraph.html#a2108a729046b0ab6e0516afb249dab13">rescaleKeyAxis</a> (bool onlyEnlarge, bool includeErrorBars) const </td></tr>
<tr class="separator:a2108a729046b0ab6e0516afb249dab13"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2ba0e1df416486d7e74299ef8cf68bba"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPGraph.html#a2ba0e1df416486d7e74299ef8cf68bba">rescaleValueAxis</a> (bool onlyEnlarge, bool includeErrorBars) const </td></tr>
<tr class="separator:a2ba0e1df416486d7e74299ef8cf68bba"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_methods_classQCPAbstractPlottable"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classQCPAbstractPlottable')"><img src="closed.png" alt="-"/> Public Functions inherited from <a class="el" href="classQCPAbstractPlottable.html">QCPAbstractPlottable</a></td></tr>
<tr class="memitem:af78a036e40db6f53a31abadc5323715a inherit pub_methods_classQCPAbstractPlottable"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAbstractPlottable.html#af78a036e40db6f53a31abadc5323715a">QCPAbstractPlottable</a> (<a class="el" href="classQCPAxis.html">QCPAxis</a> *keyAxis, <a class="el" href="classQCPAxis.html">QCPAxis</a> *valueAxis)</td></tr>
<tr class="separator:af78a036e40db6f53a31abadc5323715a inherit pub_methods_classQCPAbstractPlottable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1affc1972938e4364a9325e4e4e4dcea inherit pub_methods_classQCPAbstractPlottable"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1affc1972938e4364a9325e4e4e4dcea"></a>
QString </td><td class="memItemRight" valign="bottom"><b>name</b> () const </td></tr>
<tr class="separator:a1affc1972938e4364a9325e4e4e4dcea inherit pub_methods_classQCPAbstractPlottable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a68d1c358db03faae376ec47c589abf27 inherit pub_methods_classQCPAbstractPlottable"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a68d1c358db03faae376ec47c589abf27"></a>
bool </td><td class="memItemRight" valign="bottom"><b>antialiasedFill</b> () const </td></tr>
<tr class="separator:a68d1c358db03faae376ec47c589abf27 inherit pub_methods_classQCPAbstractPlottable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aefc379bcc011660a5371ecc6088a97eb inherit pub_methods_classQCPAbstractPlottable"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aefc379bcc011660a5371ecc6088a97eb"></a>
bool </td><td class="memItemRight" valign="bottom"><b>antialiasedScatters</b> () const </td></tr>
<tr class="separator:aefc379bcc011660a5371ecc6088a97eb inherit pub_methods_classQCPAbstractPlottable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a630cfb27ff99ab4373b09631748fcf4a inherit pub_methods_classQCPAbstractPlottable"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a630cfb27ff99ab4373b09631748fcf4a"></a>
bool </td><td class="memItemRight" valign="bottom"><b>antialiasedErrorBars</b> () const </td></tr>
<tr class="separator:a630cfb27ff99ab4373b09631748fcf4a inherit pub_methods_classQCPAbstractPlottable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a41d060007cc6b3037c9c04d22d0c0398 inherit pub_methods_classQCPAbstractPlottable"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a41d060007cc6b3037c9c04d22d0c0398"></a>
QPen </td><td class="memItemRight" valign="bottom"><b>pen</b> () const </td></tr>
<tr class="separator:a41d060007cc6b3037c9c04d22d0c0398 inherit pub_methods_classQCPAbstractPlottable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a006065572c5add883a944ea4cda699f3 inherit pub_methods_classQCPAbstractPlottable"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a006065572c5add883a944ea4cda699f3"></a>
QPen </td><td class="memItemRight" valign="bottom"><b>selectedPen</b> () const </td></tr>
<tr class="separator:a006065572c5add883a944ea4cda699f3 inherit pub_methods_classQCPAbstractPlottable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa74cdceb9c7286ef116fbfa58e0326e7 inherit pub_methods_classQCPAbstractPlottable"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa74cdceb9c7286ef116fbfa58e0326e7"></a>
QBrush </td><td class="memItemRight" valign="bottom"><b>brush</b> () const </td></tr>
<tr class="separator:aa74cdceb9c7286ef116fbfa58e0326e7 inherit pub_methods_classQCPAbstractPlottable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a403745791879916431adc872b49207e5 inherit pub_methods_classQCPAbstractPlottable"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a403745791879916431adc872b49207e5"></a>
QBrush </td><td class="memItemRight" valign="bottom"><b>selectedBrush</b> () const </td></tr>
<tr class="separator:a403745791879916431adc872b49207e5 inherit pub_methods_classQCPAbstractPlottable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a72c7a09c22963f2c943f07112b311103 inherit pub_methods_classQCPAbstractPlottable"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a72c7a09c22963f2c943f07112b311103"></a>
<a class="el" href="classQCPAxis.html">QCPAxis</a> * </td><td class="memItemRight" valign="bottom"><b>keyAxis</b> () const </td></tr>
<tr class="separator:a72c7a09c22963f2c943f07112b311103 inherit pub_methods_classQCPAbstractPlottable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3106f9d34d330a6097a8ec5905e5b519 inherit pub_methods_classQCPAbstractPlottable"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3106f9d34d330a6097a8ec5905e5b519"></a>
<a class="el" href="classQCPAxis.html">QCPAxis</a> * </td><td class="memItemRight" valign="bottom"><b>valueAxis</b> () const </td></tr>
<tr class="separator:a3106f9d34d330a6097a8ec5905e5b519 inherit pub_methods_classQCPAbstractPlottable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af895574da1ec0d050711b6c9deda296a inherit pub_methods_classQCPAbstractPlottable"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af895574da1ec0d050711b6c9deda296a"></a>
bool </td><td class="memItemRight" valign="bottom"><b>selectable</b> () const </td></tr>
<tr class="separator:af895574da1ec0d050711b6c9deda296a inherit pub_methods_classQCPAbstractPlottable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab901903adcb0e29467d63de72340ab29 inherit pub_methods_classQCPAbstractPlottable"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab901903adcb0e29467d63de72340ab29"></a>
bool </td><td class="memItemRight" valign="bottom"><b>selected</b> () const </td></tr>
<tr class="separator:ab901903adcb0e29467d63de72340ab29 inherit pub_methods_classQCPAbstractPlottable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab79c7ba76bc7fa89a4b3580e12149f1f inherit pub_methods_classQCPAbstractPlottable"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAbstractPlottable.html#ab79c7ba76bc7fa89a4b3580e12149f1f">setName</a> (const QString &name)</td></tr>
<tr class="separator:ab79c7ba76bc7fa89a4b3580e12149f1f inherit pub_methods_classQCPAbstractPlottable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a089d6b5577120239b55c39ed27c39536 inherit pub_methods_classQCPAbstractPlottable"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAbstractPlottable.html#a089d6b5577120239b55c39ed27c39536">setAntialiasedFill</a> (bool enabled)</td></tr>
<tr class="separator:a089d6b5577120239b55c39ed27c39536 inherit pub_methods_classQCPAbstractPlottable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2f03f067ede2ed4da6f7d0e4777a3f02 inherit pub_methods_classQCPAbstractPlottable"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAbstractPlottable.html#a2f03f067ede2ed4da6f7d0e4777a3f02">setAntialiasedScatters</a> (bool enabled)</td></tr>
<tr class="separator:a2f03f067ede2ed4da6f7d0e4777a3f02 inherit pub_methods_classQCPAbstractPlottable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a757beb744b96cf1855cca5ab9d3ecf52 inherit pub_methods_classQCPAbstractPlottable"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAbstractPlottable.html#a757beb744b96cf1855cca5ab9d3ecf52">setAntialiasedErrorBars</a> (bool enabled)</td></tr>
<tr class="separator:a757beb744b96cf1855cca5ab9d3ecf52 inherit pub_methods_classQCPAbstractPlottable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab74b09ae4c0e7e13142fe4b5bf46cac7 inherit pub_methods_classQCPAbstractPlottable"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAbstractPlottable.html#ab74b09ae4c0e7e13142fe4b5bf46cac7">setPen</a> (const QPen &pen)</td></tr>
<tr class="separator:ab74b09ae4c0e7e13142fe4b5bf46cac7 inherit pub_methods_classQCPAbstractPlottable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6911603cad23ab0469b108224517516f inherit pub_methods_classQCPAbstractPlottable"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAbstractPlottable.html#a6911603cad23ab0469b108224517516f">setSelectedPen</a> (const QPen &pen)</td></tr>
<tr class="separator:a6911603cad23ab0469b108224517516f inherit pub_methods_classQCPAbstractPlottable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7a4b92144dca6453a1f0f210e27edc74 inherit pub_methods_classQCPAbstractPlottable"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAbstractPlottable.html#a7a4b92144dca6453a1f0f210e27edc74">setBrush</a> (const QBrush &brush)</td></tr>
<tr class="separator:a7a4b92144dca6453a1f0f210e27edc74 inherit pub_methods_classQCPAbstractPlottable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae8c816874089f7a44001e8618e81a9dc inherit pub_methods_classQCPAbstractPlottable"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAbstractPlottable.html#ae8c816874089f7a44001e8618e81a9dc">setSelectedBrush</a> (const QBrush &brush)</td></tr>
<tr class="separator:ae8c816874089f7a44001e8618e81a9dc inherit pub_methods_classQCPAbstractPlottable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8524fa2994c63c0913ebd9bb2ffa3920 inherit pub_methods_classQCPAbstractPlottable"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAbstractPlottable.html#a8524fa2994c63c0913ebd9bb2ffa3920">setKeyAxis</a> (<a class="el" href="classQCPAxis.html">QCPAxis</a> *axis)</td></tr>
<tr class="separator:a8524fa2994c63c0913ebd9bb2ffa3920 inherit pub_methods_classQCPAbstractPlottable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a71626a07367e241ec62ad2c34baf21cb inherit pub_methods_classQCPAbstractPlottable"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAbstractPlottable.html#a71626a07367e241ec62ad2c34baf21cb">setValueAxis</a> (<a class="el" href="classQCPAxis.html">QCPAxis</a> *axis)</td></tr>
<tr class="separator:a71626a07367e241ec62ad2c34baf21cb inherit pub_methods_classQCPAbstractPlottable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a22c69299eb5569e0f6bf084877a37dc4 inherit pub_methods_classQCPAbstractPlottable"><td class="memItemLeft" align="right" valign="top">Q_SLOT void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAbstractPlottable.html#a22c69299eb5569e0f6bf084877a37dc4">setSelectable</a> (bool selectable)</td></tr>
<tr class="separator:a22c69299eb5569e0f6bf084877a37dc4 inherit pub_methods_classQCPAbstractPlottable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:afbd5428c2952f59d952e11ab5cd79176 inherit pub_methods_classQCPAbstractPlottable"><td class="memItemLeft" align="right" valign="top">Q_SLOT void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAbstractPlottable.html#afbd5428c2952f59d952e11ab5cd79176">setSelected</a> (bool selected)</td></tr>
<tr class="separator:afbd5428c2952f59d952e11ab5cd79176 inherit pub_methods_classQCPAbstractPlottable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a70f8cabfd808f7d5204b9f18c45c13f5 inherit pub_methods_classQCPAbstractPlottable"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAbstractPlottable.html#a70f8cabfd808f7d5204b9f18c45c13f5">addToLegend</a> ()</td></tr>
<tr class="separator:a70f8cabfd808f7d5204b9f18c45c13f5 inherit pub_methods_classQCPAbstractPlottable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa1f350e510326d012b9a9c9249736c83 inherit pub_methods_classQCPAbstractPlottable"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAbstractPlottable.html#aa1f350e510326d012b9a9c9249736c83">removeFromLegend</a> () const </td></tr>
<tr class="separator:aa1f350e510326d012b9a9c9249736c83 inherit pub_methods_classQCPAbstractPlottable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7e8fc3be43c27ccacd70a7bf9d74a5cd inherit pub_methods_classQCPAbstractPlottable"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAbstractPlottable.html#a7e8fc3be43c27ccacd70a7bf9d74a5cd">rescaleAxes</a> (bool onlyEnlarge=false) const </td></tr>
<tr class="separator:a7e8fc3be43c27ccacd70a7bf9d74a5cd inherit pub_methods_classQCPAbstractPlottable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1acecfcca3e7fcda00fcbaa3c886386f inherit pub_methods_classQCPAbstractPlottable"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAbstractPlottable.html#a1acecfcca3e7fcda00fcbaa3c886386f">rescaleKeyAxis</a> (bool onlyEnlarge=false) const </td></tr>
<tr class="separator:a1acecfcca3e7fcda00fcbaa3c886386f inherit pub_methods_classQCPAbstractPlottable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:abfd0805eb1d955c0111a990246658324 inherit pub_methods_classQCPAbstractPlottable"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAbstractPlottable.html#abfd0805eb1d955c0111a990246658324">rescaleValueAxis</a> (bool onlyEnlarge=false) const </td></tr>
<tr class="separator:abfd0805eb1d955c0111a990246658324 inherit pub_methods_classQCPAbstractPlottable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_methods_classQCPLayerable"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classQCPLayerable')"><img src="closed.png" alt="-"/> Public Functions inherited from <a class="el" href="classQCPLayerable.html">QCPLayerable</a></td></tr>
<tr class="memitem:a74c0fa237f29bf0e49565013fc5d1ec0 inherit pub_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayerable.html#a74c0fa237f29bf0e49565013fc5d1ec0">QCPLayerable</a> (<a class="el" href="classQCustomPlot.html">QCustomPlot</a> *plot, QString targetLayer=QString(), <a class="el" href="classQCPLayerable.html">QCPLayerable</a> *<a class="el" href="classQCPLayerable.html#a98d79f5b716d45eac4347befe546d0ec">parentLayerable</a>=0)</td></tr>
<tr class="separator:a74c0fa237f29bf0e49565013fc5d1ec0 inherit pub_methods_classQCPLayerable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a10a3cc92e0fa63e4a929e61d34e275a7 inherit pub_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a10a3cc92e0fa63e4a929e61d34e275a7"></a>
bool </td><td class="memItemRight" valign="bottom"><b>visible</b> () const </td></tr>
<tr class="separator:a10a3cc92e0fa63e4a929e61d34e275a7 inherit pub_methods_classQCPLayerable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab7e0e94461566093d36ffc0f5312b109 inherit pub_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab7e0e94461566093d36ffc0f5312b109"></a>
<a class="el" href="classQCustomPlot.html">QCustomPlot</a> * </td><td class="memItemRight" valign="bottom"><b>parentPlot</b> () const </td></tr>
<tr class="separator:ab7e0e94461566093d36ffc0f5312b109 inherit pub_methods_classQCPLayerable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a98d79f5b716d45eac4347befe546d0ec inherit pub_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classQCPLayerable.html">QCPLayerable</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayerable.html#a98d79f5b716d45eac4347befe546d0ec">parentLayerable</a> () const </td></tr>
<tr class="separator:a98d79f5b716d45eac4347befe546d0ec inherit pub_methods_classQCPLayerable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aea67e8c19145e70d68c286a36f6b8300 inherit pub_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aea67e8c19145e70d68c286a36f6b8300"></a>
<a class="el" href="classQCPLayer.html">QCPLayer</a> * </td><td class="memItemRight" valign="bottom"><b>layer</b> () const </td></tr>
<tr class="separator:aea67e8c19145e70d68c286a36f6b8300 inherit pub_methods_classQCPLayerable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aef5cb4aa899ed9dc9384fd614560291e inherit pub_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aef5cb4aa899ed9dc9384fd614560291e"></a>
bool </td><td class="memItemRight" valign="bottom"><b>antialiased</b> () const </td></tr>
<tr class="separator:aef5cb4aa899ed9dc9384fd614560291e inherit pub_methods_classQCPLayerable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3bed99ddc396b48ce3ebfdc0418744f8 inherit pub_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayerable.html#a3bed99ddc396b48ce3ebfdc0418744f8">setVisible</a> (bool on)</td></tr>
<tr class="separator:a3bed99ddc396b48ce3ebfdc0418744f8 inherit pub_methods_classQCPLayerable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab0d0da6d2de45a118886d2c8e16d5a54 inherit pub_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top">Q_SLOT bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayerable.html#ab0d0da6d2de45a118886d2c8e16d5a54">setLayer</a> (<a class="el" href="classQCPLayer.html">QCPLayer</a> *layer)</td></tr>
<tr class="separator:ab0d0da6d2de45a118886d2c8e16d5a54 inherit pub_methods_classQCPLayerable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab25a0e7b897993b44447caee0f142083 inherit pub_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayerable.html#ab25a0e7b897993b44447caee0f142083">setLayer</a> (const QString &layerName)</td></tr>
<tr class="separator:ab25a0e7b897993b44447caee0f142083 inherit pub_methods_classQCPLayerable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4fd43e89be4a553ead41652565ff0581 inherit pub_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayerable.html#a4fd43e89be4a553ead41652565ff0581">setAntialiased</a> (bool enabled)</td></tr>
<tr class="separator:a4fd43e89be4a553ead41652565ff0581 inherit pub_methods_classQCPLayerable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a30809f7455e9794bca7b6c737622fa63 inherit pub_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayerable.html#a30809f7455e9794bca7b6c737622fa63">realVisibility</a> () const </td></tr>
<tr class="separator:a30809f7455e9794bca7b6c737622fa63 inherit pub_methods_classQCPLayerable"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Functions</h2></td></tr>
<tr class="memitem:a659218cc62c2a7786213d9dd429c1c8d"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPGraph.html#a659218cc62c2a7786213d9dd429c1c8d">draw</a> (<a class="el" href="classQCPPainter.html">QCPPainter</a> *painter)</td></tr>
<tr class="separator:a659218cc62c2a7786213d9dd429c1c8d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a32115df0e940cf8ca7b687873c2d02ee"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPGraph.html#a32115df0e940cf8ca7b687873c2d02ee">drawLegendIcon</a> (<a class="el" href="classQCPPainter.html">QCPPainter</a> *painter, const QRectF &rect) const </td></tr>
<tr class="separator:a32115df0e940cf8ca7b687873c2d02ee"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:afc246ce6201ff564ac440efaec52ab11"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classQCPRange.html">QCPRange</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPGraph.html#afc246ce6201ff564ac440efaec52ab11">getKeyRange</a> (bool &foundRange, <a class="el" href="classQCPAbstractPlottable.html#a661743478a1d3c09d28ec2711d7653d8">SignDomain</a> inSignDomain=<a class="el" href="classQCPAbstractPlottable.html#a661743478a1d3c09d28ec2711d7653d8a082b98cfb91a7363a3b5cd17b0c1cd60">sdBoth</a>) const </td></tr>
<tr class="separator:afc246ce6201ff564ac440efaec52ab11"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a856e90b8ab6b31c344b14a863ab9e5d2"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classQCPRange.html">QCPRange</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPGraph.html#a856e90b8ab6b31c344b14a863ab9e5d2">getValueRange</a> (bool &foundRange, <a class="el" href="classQCPAbstractPlottable.html#a661743478a1d3c09d28ec2711d7653d8">SignDomain</a> inSignDomain=<a class="el" href="classQCPAbstractPlottable.html#a661743478a1d3c09d28ec2711d7653d8a082b98cfb91a7363a3b5cd17b0c1cd60">sdBoth</a>) const </td></tr>
<tr class="separator:a856e90b8ab6b31c344b14a863ab9e5d2"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa75c6f028124032416a5cf7145dfba60"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classQCPRange.html">QCPRange</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPGraph.html#aa75c6f028124032416a5cf7145dfba60">getKeyRange</a> (bool &foundRange, <a class="el" href="classQCPAbstractPlottable.html#a661743478a1d3c09d28ec2711d7653d8">SignDomain</a> inSignDomain, bool includeErrors) const </td></tr>
<tr class="separator:aa75c6f028124032416a5cf7145dfba60"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab964a21d680af93435d68126d8c5ab29"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classQCPRange.html">QCPRange</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPGraph.html#ab964a21d680af93435d68126d8c5ab29">getValueRange</a> (bool &foundRange, <a class="el" href="classQCPAbstractPlottable.html#a661743478a1d3c09d28ec2711d7653d8">SignDomain</a> inSignDomain, bool includeErrors) const </td></tr>
<tr class="separator:ab964a21d680af93435d68126d8c5ab29"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad6d07926e6d6b7cfa70258780d47b7a0"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPGraph.html#ad6d07926e6d6b7cfa70258780d47b7a0">drawFill</a> (<a class="el" href="classQCPPainter.html">QCPPainter</a> *painter, QVector< QPointF > *lineData) const </td></tr>
<tr class="separator:ad6d07926e6d6b7cfa70258780d47b7a0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6bdc385b122ce06134d4196373ae2250"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPGraph.html#a6bdc385b122ce06134d4196373ae2250">drawScatterPlot</a> (<a class="el" href="classQCPPainter.html">QCPPainter</a> *painter, QVector< <a class="el" href="classQCPData.html">QCPData</a> > *scatterData) const </td></tr>
<tr class="separator:a6bdc385b122ce06134d4196373ae2250"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:acebc22c3385829b19a87e6281fe6ade2"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPGraph.html#acebc22c3385829b19a87e6281fe6ade2">drawLinePlot</a> (<a class="el" href="classQCPPainter.html">QCPPainter</a> *painter, QVector< QPointF > *lineData) const </td></tr>
<tr class="separator:acebc22c3385829b19a87e6281fe6ade2"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:abc01180629621f1e47e94559227d3d8c"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPGraph.html#abc01180629621f1e47e94559227d3d8c">drawImpulsePlot</a> (<a class="el" href="classQCPPainter.html">QCPPainter</a> *painter, QVector< QPointF > *lineData) const </td></tr>
<tr class="separator:abc01180629621f1e47e94559227d3d8c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab420b46ba638dc3252439fe16687b244"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPGraph.html#ab420b46ba638dc3252439fe16687b244">getPreparedData</a> (QVector< <a class="el" href="classQCPData.html">QCPData</a> > *lineData, QVector< <a class="el" href="classQCPData.html">QCPData</a> > *scatterData) const </td></tr>
<tr class="separator:ab420b46ba638dc3252439fe16687b244"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a466c661e015188971c862031af946693"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPGraph.html#a466c661e015188971c862031af946693">getPlotData</a> (QVector< QPointF > *lineData, QVector< <a class="el" href="classQCPData.html">QCPData</a> > *scatterData) const </td></tr>
<tr class="separator:a466c661e015188971c862031af946693"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a45c4214b59ea11aa6d8d112bdc3b0e03"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPGraph.html#a45c4214b59ea11aa6d8d112bdc3b0e03">getScatterPlotData</a> (QVector< <a class="el" href="classQCPData.html">QCPData</a> > *scatterData) const </td></tr>
<tr class="separator:a45c4214b59ea11aa6d8d112bdc3b0e03"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae3d82ffd0c9a883482aabf47b0e6b5ee"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPGraph.html#ae3d82ffd0c9a883482aabf47b0e6b5ee">getLinePlotData</a> (QVector< QPointF > *linePixelData, QVector< <a class="el" href="classQCPData.html">QCPData</a> > *scatterData) const </td></tr>
<tr class="separator:ae3d82ffd0c9a883482aabf47b0e6b5ee"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a609cf4a78045b4d2a679bdff7623847e"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPGraph.html#a609cf4a78045b4d2a679bdff7623847e">getStepLeftPlotData</a> (QVector< QPointF > *linePixelData, QVector< <a class="el" href="classQCPData.html">QCPData</a> > *scatterData) const </td></tr>
<tr class="separator:a609cf4a78045b4d2a679bdff7623847e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3b9b8c8dc7a6fd9be6e253c25ee31809"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPGraph.html#a3b9b8c8dc7a6fd9be6e253c25ee31809">getStepRightPlotData</a> (QVector< QPointF > *linePixelData, QVector< <a class="el" href="classQCPData.html">QCPData</a> > *scatterData) const </td></tr>
<tr class="separator:a3b9b8c8dc7a6fd9be6e253c25ee31809"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad3713e7d8eb85a0afc34a81a5db5cd27"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPGraph.html#ad3713e7d8eb85a0afc34a81a5db5cd27">getStepCenterPlotData</a> (QVector< QPointF > *linePixelData, QVector< <a class="el" href="classQCPData.html">QCPData</a> > *scatterData) const </td></tr>
<tr class="separator:ad3713e7d8eb85a0afc34a81a5db5cd27"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1ca2b0762505767f116892609fb02062"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPGraph.html#a1ca2b0762505767f116892609fb02062">getImpulsePlotData</a> (QVector< QPointF > *linePixelData, QVector< <a class="el" href="classQCPData.html">QCPData</a> > *scatterData) const </td></tr>
<tr class="separator:a1ca2b0762505767f116892609fb02062"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4df6807066ce877705e999773e7ffbc4"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPGraph.html#a4df6807066ce877705e999773e7ffbc4">drawError</a> (<a class="el" href="classQCPPainter.html">QCPPainter</a> *painter, double x, double y, const <a class="el" href="classQCPData.html">QCPData</a> &<a class="el" href="classQCPGraph.html#a2f58436df4f86a2792b776a21642b3d9">data</a>) const </td></tr>
<tr class="separator:a4df6807066ce877705e999773e7ffbc4"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6a317cb14a83dae0841c7041a63d6d9d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPGraph.html#a6a317cb14a83dae0841c7041a63d6d9d">getVisibleDataBounds</a> (QCPDataMap::const_iterator &lower, QCPDataMap::const_iterator &upper) const </td></tr>
<tr class="separator:a6a317cb14a83dae0841c7041a63d6d9d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a13f6a3aa60227e03ab1f7aa8eec6589f"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPGraph.html#a13f6a3aa60227e03ab1f7aa8eec6589f">countDataInBounds</a> (const QCPDataMap::const_iterator &lower, const QCPDataMap::const_iterator &upper, int maxCount) const </td></tr>
<tr class="separator:a13f6a3aa60227e03ab1f7aa8eec6589f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5fa7884620d7c54b81dfbd255d97b636"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPGraph.html#a5fa7884620d7c54b81dfbd255d97b636">addFillBasePoints</a> (QVector< QPointF > *lineData) const </td></tr>
<tr class="separator:a5fa7884620d7c54b81dfbd255d97b636"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad31b49a90e91e538fd9caf011c913a68"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPGraph.html#ad31b49a90e91e538fd9caf011c913a68">removeFillBasePoints</a> (QVector< QPointF > *lineData) const </td></tr>
<tr class="separator:ad31b49a90e91e538fd9caf011c913a68"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a41f982e8ceaefe6a53eb7432f26d64b6"><td class="memItemLeft" align="right" valign="top">QPointF </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPGraph.html#a41f982e8ceaefe6a53eb7432f26d64b6">lowerFillBasePoint</a> (double lowerKey) const </td></tr>
<tr class="separator:a41f982e8ceaefe6a53eb7432f26d64b6"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a363d066c179e0f46cc93c12bafb0bfba"><td class="memItemLeft" align="right" valign="top">QPointF </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPGraph.html#a363d066c179e0f46cc93c12bafb0bfba">upperFillBasePoint</a> (double upperKey) const </td></tr>
<tr class="separator:a363d066c179e0f46cc93c12bafb0bfba"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0374b7268e35cab9802a6be2b5d726d7"><td class="memItemLeft" align="right" valign="top">const QPolygonF </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPGraph.html#a0374b7268e35cab9802a6be2b5d726d7">getChannelFillPolygon</a> (const QVector< QPointF > *lineData) const </td></tr>
<tr class="separator:a0374b7268e35cab9802a6be2b5d726d7"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6f4e9461d5925be9228fc4760249a04f"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPGraph.html#a6f4e9461d5925be9228fc4760249a04f">findIndexBelowX</a> (const QVector< QPointF > *<a class="el" href="classQCPGraph.html#a2f58436df4f86a2792b776a21642b3d9">data</a>, double x) const </td></tr>
<tr class="separator:a6f4e9461d5925be9228fc4760249a04f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:abab2a75b5e63630432bdd1f3b57f07fa"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPGraph.html#abab2a75b5e63630432bdd1f3b57f07fa">findIndexAboveX</a> (const QVector< QPointF > *<a class="el" href="classQCPGraph.html#a2f58436df4f86a2792b776a21642b3d9">data</a>, double x) const </td></tr>
<tr class="separator:abab2a75b5e63630432bdd1f3b57f07fa"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6c4d556de3d1e02f548401001f72c6ff"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPGraph.html#a6c4d556de3d1e02f548401001f72c6ff">findIndexBelowY</a> (const QVector< QPointF > *<a class="el" href="classQCPGraph.html#a2f58436df4f86a2792b776a21642b3d9">data</a>, double y) const </td></tr>
<tr class="separator:a6c4d556de3d1e02f548401001f72c6ff"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:adf50243f1df203883a2187089734bfcb"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPGraph.html#adf50243f1df203883a2187089734bfcb">findIndexAboveY</a> (const QVector< QPointF > *<a class="el" href="classQCPGraph.html#a2f58436df4f86a2792b776a21642b3d9">data</a>, double y) const </td></tr>
<tr class="separator:adf50243f1df203883a2187089734bfcb"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af93762a12a481a7edb4b3dd9e330dff1"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPGraph.html#af93762a12a481a7edb4b3dd9e330dff1">pointDistance</a> (const QPointF &pixelPoint) const </td></tr>
<tr class="separator:af93762a12a481a7edb4b3dd9e330dff1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pro_methods_classQCPAbstractPlottable"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classQCPAbstractPlottable')"><img src="closed.png" alt="-"/> Protected Functions inherited from <a class="el" href="classQCPAbstractPlottable.html">QCPAbstractPlottable</a></td></tr>
<tr class="memitem:ac01960b0827913922f5364d559c124ed inherit pro_methods_classQCPAbstractPlottable"><td class="memItemLeft" align="right" valign="top">virtual QRect </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAbstractPlottable.html#ac01960b0827913922f5364d559c124ed">clipRect</a> () const </td></tr>
<tr class="separator:ac01960b0827913922f5364d559c124ed inherit pro_methods_classQCPAbstractPlottable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5eef607bcc2aee8bfe2380a8710f6c64 inherit pro_methods_classQCPAbstractPlottable"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="namespaceQCP.html#a2ad6bb6281c7c2d593d4277b44c2b037">QCP::Interaction</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAbstractPlottable.html#a5eef607bcc2aee8bfe2380a8710f6c64">selectionCategory</a> () const </td></tr>
<tr class="separator:a5eef607bcc2aee8bfe2380a8710f6c64 inherit pro_methods_classQCPAbstractPlottable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a76e9d6cc7972dc1528f526d163766aca inherit pro_methods_classQCPAbstractPlottable"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAbstractPlottable.html#a76e9d6cc7972dc1528f526d163766aca">applyDefaultAntialiasingHint</a> (<a class="el" href="classQCPPainter.html">QCPPainter</a> *painter) const </td></tr>
<tr class="separator:a76e9d6cc7972dc1528f526d163766aca inherit pro_methods_classQCPAbstractPlottable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a16aaad02456aa23a759efd1ac90c79bf inherit pro_methods_classQCPAbstractPlottable"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAbstractPlottable.html#a16aaad02456aa23a759efd1ac90c79bf">selectEvent</a> (QMouseEvent *event, bool additive, const QVariant &details, bool *selectionStateChanged)</td></tr>
<tr class="separator:a16aaad02456aa23a759efd1ac90c79bf inherit pro_methods_classQCPAbstractPlottable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6fa0d0f95560ea8b01ee13f296dab2b1 inherit pro_methods_classQCPAbstractPlottable"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAbstractPlottable.html#a6fa0d0f95560ea8b01ee13f296dab2b1">deselectEvent</a> (bool *selectionStateChanged)</td></tr>
<tr class="separator:a6fa0d0f95560ea8b01ee13f296dab2b1 inherit pro_methods_classQCPAbstractPlottable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ade710a776104b14c1c835168ce1bfc5c inherit pro_methods_classQCPAbstractPlottable"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAbstractPlottable.html#ade710a776104b14c1c835168ce1bfc5c">coordsToPixels</a> (double key, double value, double &x, double &y) const </td></tr>
<tr class="separator:ade710a776104b14c1c835168ce1bfc5c inherit pro_methods_classQCPAbstractPlottable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9fd1c9df8391781f05b0be22fbe91e13 inherit pro_methods_classQCPAbstractPlottable"><td class="memItemLeft" align="right" valign="top">const QPointF </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAbstractPlottable.html#a9fd1c9df8391781f05b0be22fbe91e13">coordsToPixels</a> (double key, double value) const </td></tr>
<tr class="separator:a9fd1c9df8391781f05b0be22fbe91e13 inherit pro_methods_classQCPAbstractPlottable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a10408828446e9e0681c46d65120f382e inherit pro_methods_classQCPAbstractPlottable"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAbstractPlottable.html#a10408828446e9e0681c46d65120f382e">pixelsToCoords</a> (double x, double y, double &key, double &value) const </td></tr>
<tr class="separator:a10408828446e9e0681c46d65120f382e inherit pro_methods_classQCPAbstractPlottable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3e2c361cfcdfd5d803ada4d333a07e15 inherit pro_methods_classQCPAbstractPlottable"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAbstractPlottable.html#a3e2c361cfcdfd5d803ada4d333a07e15">pixelsToCoords</a> (const QPointF &pixelPos, double &key, double &value) const </td></tr>
<tr class="separator:a3e2c361cfcdfd5d803ada4d333a07e15 inherit pro_methods_classQCPAbstractPlottable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a19276ed2382a3a06464417b8788b1451 inherit pro_methods_classQCPAbstractPlottable"><td class="memItemLeft" align="right" valign="top">QPen </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAbstractPlottable.html#a19276ed2382a3a06464417b8788b1451">mainPen</a> () const </td></tr>
<tr class="separator:a19276ed2382a3a06464417b8788b1451 inherit pro_methods_classQCPAbstractPlottable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae74c123832da180c17e22203e748d9b7 inherit pro_methods_classQCPAbstractPlottable"><td class="memItemLeft" align="right" valign="top">QBrush </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAbstractPlottable.html#ae74c123832da180c17e22203e748d9b7">mainBrush</a> () const </td></tr>
<tr class="separator:ae74c123832da180c17e22203e748d9b7 inherit pro_methods_classQCPAbstractPlottable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac08a480155895e674dbfe5a5670e0ff3 inherit pro_methods_classQCPAbstractPlottable"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAbstractPlottable.html#ac08a480155895e674dbfe5a5670e0ff3">applyFillAntialiasingHint</a> (<a class="el" href="classQCPPainter.html">QCPPainter</a> *painter) const </td></tr>
<tr class="separator:ac08a480155895e674dbfe5a5670e0ff3 inherit pro_methods_classQCPAbstractPlottable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a753272ee225a62827e90c3e1e78de4b1 inherit pro_methods_classQCPAbstractPlottable"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAbstractPlottable.html#a753272ee225a62827e90c3e1e78de4b1">applyScattersAntialiasingHint</a> (<a class="el" href="classQCPPainter.html">QCPPainter</a> *painter) const </td></tr>
<tr class="separator:a753272ee225a62827e90c3e1e78de4b1 inherit pro_methods_classQCPAbstractPlottable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af687bfe6160255960558eb71f1f81e73 inherit pro_methods_classQCPAbstractPlottable"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAbstractPlottable.html#af687bfe6160255960558eb71f1f81e73">applyErrorBarsAntialiasingHint</a> (<a class="el" href="classQCPPainter.html">QCPPainter</a> *painter) const </td></tr>
<tr class="separator:af687bfe6160255960558eb71f1f81e73 inherit pro_methods_classQCPAbstractPlottable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5ea1cab44ca912dcdc96ed81ec5bed5d inherit pro_methods_classQCPAbstractPlottable"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAbstractPlottable.html#a5ea1cab44ca912dcdc96ed81ec5bed5d">distSqrToLine</a> (const QPointF &start, const QPointF &end, const QPointF &point) const </td></tr>
<tr class="separator:a5ea1cab44ca912dcdc96ed81ec5bed5d inherit pro_methods_classQCPAbstractPlottable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pro_methods_classQCPLayerable"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classQCPLayerable')"><img src="closed.png" alt="-"/> Protected Functions inherited from <a class="el" href="classQCPLayerable.html">QCPLayerable</a></td></tr>
<tr class="memitem:ab20b7dbd8e0249ed61adb9622c427382 inherit pro_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayerable.html#ab20b7dbd8e0249ed61adb9622c427382">parentPlotInitialized</a> (<a class="el" href="classQCustomPlot.html">QCustomPlot</a> *parentPlot)</td></tr>
<tr class="separator:ab20b7dbd8e0249ed61adb9622c427382 inherit pro_methods_classQCPLayerable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8cbe5a0c9a5674249982f5ca5f8e02bc inherit pro_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayerable.html#a8cbe5a0c9a5674249982f5ca5f8e02bc">initializeParentPlot</a> (<a class="el" href="classQCustomPlot.html">QCustomPlot</a> *parentPlot)</td></tr>
<tr class="separator:a8cbe5a0c9a5674249982f5ca5f8e02bc inherit pro_methods_classQCPLayerable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa23c893671f1f6744ac235cf2204cf3a inherit pro_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayerable.html#aa23c893671f1f6744ac235cf2204cf3a">setParentLayerable</a> (<a class="el" href="classQCPLayerable.html">QCPLayerable</a> *<a class="el" href="classQCPLayerable.html#a98d79f5b716d45eac4347befe546d0ec">parentLayerable</a>)</td></tr>
<tr class="separator:aa23c893671f1f6744ac235cf2204cf3a inherit pro_methods_classQCPLayerable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af94484cfb7cbbddb7de522e9be71d9a4 inherit pro_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayerable.html#af94484cfb7cbbddb7de522e9be71d9a4">moveToLayer</a> (<a class="el" href="classQCPLayer.html">QCPLayer</a> *layer, bool prepend)</td></tr>
<tr class="separator:af94484cfb7cbbddb7de522e9be71d9a4 inherit pro_methods_classQCPLayerable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a62bd552d1a45aa9accb24b310542279e inherit pro_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayerable.html#a62bd552d1a45aa9accb24b310542279e">applyAntialiasingHint</a> (<a class="el" href="classQCPPainter.html">QCPPainter</a> *painter, bool localAntialiased, <a class="el" href="namespaceQCP.html#ae55dbe315d41fe80f29ba88100843a0c">QCP::AntialiasedElement</a> overrideElement) const </td></tr>
<tr class="separator:a62bd552d1a45aa9accb24b310542279e inherit pro_methods_classQCPLayerable"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header signals_classQCPAbstractPlottable"><td colspan="2" onclick="javascript:toggleInherit('signals_classQCPAbstractPlottable')"><img src="closed.png" alt="-"/> Signals inherited from <a class="el" href="classQCPAbstractPlottable.html">QCPAbstractPlottable</a></td></tr>
<tr class="memitem:a3af66432b1dca93b28e00e78a8c7c1d9 inherit signals_classQCPAbstractPlottable"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAbstractPlottable.html#a3af66432b1dca93b28e00e78a8c7c1d9">selectionChanged</a> (bool selected)</td></tr>
<tr class="separator:a3af66432b1dca93b28e00e78a8c7c1d9 inherit signals_classQCPAbstractPlottable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0059caa3f3581f3959660fef8cbb71c4 inherit signals_classQCPAbstractPlottable"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAbstractPlottable.html#a0059caa3f3581f3959660fef8cbb71c4">selectableChanged</a> (bool selectable)</td></tr>
<tr class="separator:a0059caa3f3581f3959660fef8cbb71c4 inherit signals_classQCPAbstractPlottable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header signals_classQCPLayerable"><td colspan="2" onclick="javascript:toggleInherit('signals_classQCPLayerable')"><img src="closed.png" alt="-"/> Signals inherited from <a class="el" href="classQCPLayerable.html">QCPLayerable</a></td></tr>
<tr class="memitem:abbf8657cedea73ac1c3499b521c90eba inherit signals_classQCPLayerable"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayerable.html#abbf8657cedea73ac1c3499b521c90eba">layerChanged</a> (<a class="el" href="classQCPLayer.html">QCPLayer</a> *newLayer)</td></tr>
<tr class="separator:abbf8657cedea73ac1c3499b521c90eba inherit signals_classQCPLayerable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pro_types_classQCPAbstractPlottable"><td colspan="2" onclick="javascript:toggleInherit('pro_types_classQCPAbstractPlottable')"><img src="closed.png" alt="-"/> Protected Types inherited from <a class="el" href="classQCPAbstractPlottable.html">QCPAbstractPlottable</a></td></tr>
<tr class="memitem:a661743478a1d3c09d28ec2711d7653d8 inherit pro_types_classQCPAbstractPlottable"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAbstractPlottable.html#a661743478a1d3c09d28ec2711d7653d8">SignDomain</a> </td></tr>
<tr class="separator:a661743478a1d3c09d28ec2711d7653d8 inherit pro_types_classQCPAbstractPlottable"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>A plottable representing a graph in a plot. </p>
<div class="image">
<img src="QCPGraph.png" alt="QCPGraph.png"/>
</div>
<p>Usually <a class="el" href="classQCustomPlot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> creates graphs internally via <a class="el" href="classQCustomPlot.html#a6fb2873d35a8a8089842d81a70a54167">QCustomPlot::addGraph</a> and the resulting instance is accessed via <a class="el" href="classQCustomPlot.html#a6d3ed93c2bf46ab7fa670d66be4cddaf">QCustomPlot::graph</a>.</p>
<p>To plot data, assign it with the <a class="el" href="classQCPGraph.html#a1df2fd710545c8ba3b2c99a39a27bf8b">setData</a> or <a class="el" href="classQCPGraph.html#aa5c6181d84db72ce4dbe9dc15a34ef4f">addData</a> functions. Alternatively, you can also access and modify the graph's data via the <a class="el" href="classQCPGraph.html#a2f58436df4f86a2792b776a21642b3d9">data</a> method, which returns a pointer to the internal <a class="el" href="plottable-graph_8h.html#a84a9c4a4c2216ccfdcb5f3067cda76e3">QCPDataMap</a>.</p>
<p>Graphs are used to display single-valued data. Single-valued means that there should only be one data point per unique key coordinate. In other words, the graph can't have <em>loops</em>. If you do want to plot non-single-valued curves, rather use the <a class="el" href="classQCPCurve.html" title="A plottable representing a parametric curve in a plot. ">QCPCurve</a> plottable.</p>
<p>Gaps in the graph line can be created by adding data points with NaN as value (<code>qQNaN()</code> or <code>std::numeric_limits<double>::quiet_NaN()</code>) in between the two data points that shall be separated.</p>
<h1><a class="anchor" id="appearance"></a>
Changing the appearance</h1>
<p>The appearance of the graph is mainly determined by the line style, scatter style, brush and pen of the graph (<a class="el" href="classQCPGraph.html#a513fecccff5b2a50ce53f665338c60ff">setLineStyle</a>, <a class="el" href="classQCPGraph.html#a12bd17a8ba21983163ec5d8f42a9fea5">setScatterStyle</a>, <a class="el" href="classQCPAbstractPlottable.html#a7a4b92144dca6453a1f0f210e27edc74">setBrush</a>, <a class="el" href="classQCPAbstractPlottable.html#ab74b09ae4c0e7e13142fe4b5bf46cac7">setPen</a>).</p>
<h2><a class="anchor" id="filling"></a>
Filling under or between graphs</h2>
<p><a class="el" href="classQCPGraph.html" title="A plottable representing a graph in a plot. ">QCPGraph</a> knows two types of fills: Normal graph fills towards the zero-value-line parallel to the key axis of the graph, and fills between two graphs, called channel fills. To enable a fill, just set a brush with <a class="el" href="classQCPAbstractPlottable.html#a7a4b92144dca6453a1f0f210e27edc74">setBrush</a> which is neither Qt::NoBrush nor fully transparent.</p>
<p>By default, a normal fill towards the zero-value-line will be drawn. To set up a channel fill between this graph and another one, call <a class="el" href="classQCPGraph.html#a2d03156df1b64037a2e36cfa50351ca3">setChannelFillGraph</a> with the other graph as parameter.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCustomPlot.html#a6fb2873d35a8a8089842d81a70a54167">QCustomPlot::addGraph</a>, <a class="el" href="classQCustomPlot.html#a6d3ed93c2bf46ab7fa670d66be4cddaf">QCustomPlot::graph</a> </dd></dl>
</div><h2 class="groupheader">Member Enumeration Documentation</h2>
<a class="anchor" id="ad60175cd9b5cac937c5ee685c32c0859"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="classQCPGraph.html#ad60175cd9b5cac937c5ee685c32c0859">QCPGraph::LineStyle</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>Defines how the graph's line is represented visually in the plot. The line is drawn with the current pen of the graph (<a class="el" href="classQCPAbstractPlottable.html#ab74b09ae4c0e7e13142fe4b5bf46cac7">setPen</a>). </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPGraph.html#a513fecccff5b2a50ce53f665338c60ff">setLineStyle</a> </dd></dl>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><em><a class="anchor" id="ad60175cd9b5cac937c5ee685c32c0859aea9591b933733cc7b20786b71e60fa04"></a>lsNone</em> </td><td class="fielddoc">
<p>data points are not connected with any lines (e.g. data only represented with symbols according to the scatter style, see <a class="el" href="classQCPGraph.html#a12bd17a8ba21983163ec5d8f42a9fea5">setScatterStyle</a>) </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="ad60175cd9b5cac937c5ee685c32c0859a3c42a27b15aa3c92d399082fad8b7515"></a>lsLine</em> </td><td class="fielddoc">
<p>data points are connected by a straight line </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="ad60175cd9b5cac937c5ee685c32c0859ae10568bda57836487d9dec5eba1d6c6e"></a>lsStepLeft</em> </td><td class="fielddoc">
<p>line is drawn as steps where the step height is the value of the left data point </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="ad60175cd9b5cac937c5ee685c32c0859a9c37951f7d11aa070100fd16f2935c9e"></a>lsStepRight</em> </td><td class="fielddoc">
<p>line is drawn as steps where the step height is the value of the right data point </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="ad60175cd9b5cac937c5ee685c32c0859a5adf7b04da215a40a764c21294ea7366"></a>lsStepCenter</em> </td><td class="fielddoc">
<p>line is drawn as steps where the step is in between two data points </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="ad60175cd9b5cac937c5ee685c32c0859aa3b358b4ae7cca94aceeb8e529c12ebb"></a>lsImpulse</em> </td><td class="fielddoc">
<p>each data point is represented by a line parallel to the value axis, which reaches from the data point to the zero-value-line </p>
</td></tr>
</table>
</div>
</div>
<a class="anchor" id="ad23b514404bd2cb3216f57c90904d6af"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="classQCPGraph.html#ad23b514404bd2cb3216f57c90904d6af">QCPGraph::ErrorType</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>Defines what kind of error bars are drawn for each data point </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><em><a class="anchor" id="ad23b514404bd2cb3216f57c90904d6afaeae745e7cc1766bb8546e35d4b76a711"></a>etNone</em> </td><td class="fielddoc">
<p>No error bars are shown. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="ad23b514404bd2cb3216f57c90904d6afa2a5d89cd76fb8b6b18d71b8f6f6c0f43"></a>etKey</em> </td><td class="fielddoc">
<p>Error bars for the key dimension of the data point are shown. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="ad23b514404bd2cb3216f57c90904d6afa147022ccdc49f6bd48f904cb4f61872e"></a>etValue</em> </td><td class="fielddoc">
<p>Error bars for the value dimension of the data point are shown. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="ad23b514404bd2cb3216f57c90904d6afa761cb7d61670c1e2efecccd8974409ab"></a>etBoth</em> </td><td class="fielddoc">
<p>Error bars for both key and value dimensions of the data point are shown. </p>
</td></tr>
</table>
</div>
</div>
<h2 class="groupheader">Constructor & Destructor Documentation</h2>
<a class="anchor" id="a0393a38cf7183cbf46348eb6cf9a5a6c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">QCPGraph::QCPGraph </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classQCPAxis.html">QCPAxis</a> * </td>
<td class="paramname"><em>keyAxis</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classQCPAxis.html">QCPAxis</a> * </td>
<td class="paramname"><em>valueAxis</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Constructs a graph which uses <em>keyAxis</em> as its key axis ("x") and <em>valueAxis</em> as its value axis ("y"). <em>keyAxis</em> and <em>valueAxis</em> must reside in the same <a class="el" href="classQCustomPlot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> instance and not have the same orientation. If either of these restrictions is violated, a corresponding message is printed to the debug output (qDebug), the construction is not aborted, though.</p>
<p>The constructed <a class="el" href="classQCPGraph.html" title="A plottable representing a graph in a plot. ">QCPGraph</a> can be added to the plot with <a class="el" href="classQCustomPlot.html#ab7ad9174f701f9c6f64e378df77927a6">QCustomPlot::addPlottable</a>, <a class="el" href="classQCustomPlot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> then takes ownership of the graph.</p>
<p>To directly create a graph inside a plot, you can also use the simpler <a class="el" href="classQCustomPlot.html#a6fb2873d35a8a8089842d81a70a54167">QCustomPlot::addGraph</a> function. </p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a2f58436df4f86a2792b776a21642b3d9"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="plottable-graph_8h.html#a84a9c4a4c2216ccfdcb5f3067cda76e3">QCPDataMap</a> * QCPGraph::data </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns a pointer to the internal data storage of type <a class="el" href="plottable-graph_8h.html#a84a9c4a4c2216ccfdcb5f3067cda76e3">QCPDataMap</a>. You may use it to directly manipulate the data, which may be more convenient and faster than using the regular <a class="el" href="classQCPGraph.html#a1df2fd710545c8ba3b2c99a39a27bf8b">setData</a> or <a class="el" href="classQCPGraph.html#aa5c6181d84db72ce4dbe9dc15a34ef4f">addData</a> methods, in certain situations. </p>
</div>
</div>
<a class="anchor" id="a1df2fd710545c8ba3b2c99a39a27bf8b"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QCPGraph::setData </td>
<td>(</td>
<td class="paramtype"><a class="el" href="plottable-graph_8h.html#a84a9c4a4c2216ccfdcb5f3067cda76e3">QCPDataMap</a> * </td>
<td class="paramname"><em>data</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>copy</em> = <code>false</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Replaces the current data with the provided <em>data</em>.</p>
<p>If <em>copy</em> is set to true, data points in <em>data</em> will only be copied. if false, the graph takes ownership of the passed data and replaces the internal data pointer with it. This is significantly faster than copying for large datasets.</p>
<p>Alternatively, you can also access and modify the graph's data via the <a class="el" href="classQCPGraph.html#a2f58436df4f86a2792b776a21642b3d9">data</a> method, which returns a pointer to the internal <a class="el" href="plottable-graph_8h.html#a84a9c4a4c2216ccfdcb5f3067cda76e3">QCPDataMap</a>. </p>
</div>
</div>
<a class="anchor" id="a4c55d8ac13bfa42c8c93747820891a76"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QCPGraph::setData </td>
<td>(</td>
<td class="paramtype">const QVector< double > & </td>
<td class="paramname"><em>key</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const QVector< double > & </td>
<td class="paramname"><em>value</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>This is an overloaded function.</p>
<p>Replaces the current data with the provided points in <em>key</em> and <em>value</em> pairs. The provided vectors should have equal length. Else, the number of added points will be the size of the smallest vector. </p>
</div>
</div>
<a class="anchor" id="abce9f07c0d722bc3e4fa7bd73c7e5dfa"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QCPGraph::setDataKeyError </td>
<td>(</td>
<td class="paramtype">const QVector< double > & </td>
<td class="paramname"><em>key</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const QVector< double > & </td>
<td class="paramname"><em>value</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const QVector< double > & </td>
<td class="paramname"><em>keyError</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Replaces the current data with the provided points in <em>key</em> and <em>value</em> pairs. Additionally the symmetrical key error of the data points are set to the values in <em>keyError</em>. For error bars to show appropriately, see <a class="el" href="classQCPGraph.html#ac3614d799c3894f2bc646e99c7f73d38">setErrorType</a>. The provided vectors should have equal length. Else, the number of added points will be the size of the smallest vector.</p>
<p>For asymmetrical errors (plus different from minus), see the overloaded version of this function. </p>
</div>
</div>
<a class="anchor" id="ac15c749c5fedf740d5692c6fe67143b8"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QCPGraph::setDataKeyError </td>
<td>(</td>
<td class="paramtype">const QVector< double > & </td>
<td class="paramname"><em>key</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const QVector< double > & </td>
<td class="paramname"><em>value</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const QVector< double > & </td>
<td class="paramname"><em>keyErrorMinus</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const QVector< double > & </td>
<td class="paramname"><em>keyErrorPlus</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>This is an overloaded function. Replaces the current data with the provided points in <em>key</em> and <em>value</em> pairs. Additionally the negative key error of the data points are set to the values in <em>keyErrorMinus</em>, the positive key error to <em>keyErrorPlus</em>. For error bars to show appropriately, see <a class="el" href="classQCPGraph.html#ac3614d799c3894f2bc646e99c7f73d38">setErrorType</a>. The provided vectors should have equal length. Else, the number of added points will be the size of the smallest vector. </p>
</div>
</div>
<a class="anchor" id="acba6296eadcb36b93267628b8dae3de5"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QCPGraph::setDataValueError </td>
<td>(</td>
<td class="paramtype">const QVector< double > & </td>
<td class="paramname"><em>key</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const QVector< double > & </td>
<td class="paramname"><em>value</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const QVector< double > & </td>
<td class="paramname"><em>valueError</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Replaces the current data with the provided points in <em>key</em> and <em>value</em> pairs. Additionally the symmetrical value error of the data points are set to the values in <em>valueError</em>. For error bars to show appropriately, see <a class="el" href="classQCPGraph.html#ac3614d799c3894f2bc646e99c7f73d38">setErrorType</a>. The provided vectors should have equal length. Else, the number of added points will be the size of the smallest vector.</p>
<p>For asymmetrical errors (plus different from minus), see the overloaded version of this function. </p>
</div>
</div>
<a class="anchor" id="a3afbfd7222d739351c69387904776f93"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QCPGraph::setDataValueError </td>
<td>(</td>
<td class="paramtype">const QVector< double > & </td>
<td class="paramname"><em>key</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const QVector< double > & </td>
<td class="paramname"><em>value</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const QVector< double > & </td>
<td class="paramname"><em>valueErrorMinus</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const QVector< double > & </td>
<td class="paramname"><em>valueErrorPlus</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>This is an overloaded function. Replaces the current data with the provided points in <em>key</em> and <em>value</em> pairs. Additionally the negative value error of the data points are set to the values in <em>valueErrorMinus</em>, the positive value error to <em>valueErrorPlus</em>. For error bars to show appropriately, see <a class="el" href="classQCPGraph.html#ac3614d799c3894f2bc646e99c7f73d38">setErrorType</a>. The provided vectors should have equal length. Else, the number of added points will be the size of the smallest vector. </p>
</div>
</div>
<a class="anchor" id="a873fe46bdb20be5710428e474ade8908"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QCPGraph::setDataBothError </td>
<td>(</td>
<td class="paramtype">const QVector< double > & </td>
<td class="paramname"><em>key</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const QVector< double > & </td>
<td class="paramname"><em>value</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const QVector< double > & </td>
<td class="paramname"><em>keyError</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const QVector< double > & </td>
<td class="paramname"><em>valueError</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Replaces the current data with the provided points in <em>key</em> and <em>value</em> pairs. Additionally the symmetrical key and value errors of the data points are set to the values in <em>keyError</em> and <em>valueError</em>. For error bars to show appropriately, see <a class="el" href="classQCPGraph.html#ac3614d799c3894f2bc646e99c7f73d38">setErrorType</a>. The provided vectors should have equal length. Else, the number of added points will be the size of the smallest vector.</p>
<p>For asymmetrical errors (plus different from minus), see the overloaded version of this function. </p>
</div>
</div>
<a class="anchor" id="abb75736ecdbf6e6a7501e1da64fb18cf"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QCPGraph::setDataBothError </td>
<td>(</td>
<td class="paramtype">const QVector< double > & </td>
<td class="paramname"><em>key</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const QVector< double > & </td>
<td class="paramname"><em>value</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const QVector< double > & </td>
<td class="paramname"><em>keyErrorMinus</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const QVector< double > & </td>
<td class="paramname"><em>keyErrorPlus</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const QVector< double > & </td>
<td class="paramname"><em>valueErrorMinus</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const QVector< double > & </td>
<td class="paramname"><em>valueErrorPlus</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>This is an overloaded function. Replaces the current data with the provided points in <em>key</em> and <em>value</em> pairs. Additionally the negative key and value errors of the data points are set to the values in <em>keyErrorMinus</em> and <em>valueErrorMinus</em>. The positive key and value errors are set to the values in <em>keyErrorPlus</em> <em>valueErrorPlus</em>. For error bars to show appropriately, see <a class="el" href="classQCPGraph.html#ac3614d799c3894f2bc646e99c7f73d38">setErrorType</a>. The provided vectors should have equal length. Else, the number of added points will be the size of the smallest vector. </p>
</div>
</div>
<a class="anchor" id="a513fecccff5b2a50ce53f665338c60ff"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QCPGraph::setLineStyle </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classQCPGraph.html#ad60175cd9b5cac937c5ee685c32c0859">LineStyle</a> </td>
<td class="paramname"><em>ls</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets how the single data points are connected in the plot. For scatter-only plots, set <em>ls</em> to <a class="el" href="classQCPGraph.html#ad60175cd9b5cac937c5ee685c32c0859aea9591b933733cc7b20786b71e60fa04">lsNone</a> and <a class="el" href="classQCPGraph.html#a12bd17a8ba21983163ec5d8f42a9fea5">setScatterStyle</a> to the desired scatter style.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPGraph.html#a12bd17a8ba21983163ec5d8f42a9fea5">setScatterStyle</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a12bd17a8ba21983163ec5d8f42a9fea5"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QCPGraph::setScatterStyle </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classQCPScatterStyle.html">QCPScatterStyle</a> & </td>
<td class="paramname"><em>style</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the visual appearance of single data points in the plot. If set to <a class="el" href="classQCPScatterStyle.html#adb31525af6b680e6f1b7472e43859349abd144c291ca274f77053ec68cab6c022">QCPScatterStyle::ssNone</a>, no scatter points are drawn (e.g. for line-only-plots with appropriate line style).</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPScatterStyle.html" title="Represents the visual appearance of scatter points. ">QCPScatterStyle</a>, <a class="el" href="classQCPGraph.html#a513fecccff5b2a50ce53f665338c60ff">setLineStyle</a> </dd></dl>
</div>
</div>
<a class="anchor" id="ac3614d799c3894f2bc646e99c7f73d38"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QCPGraph::setErrorType </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classQCPGraph.html#ad23b514404bd2cb3216f57c90904d6af">ErrorType</a> </td>
<td class="paramname"><em>errorType</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets which kind of error bars (Key Error, Value Error or both) should be drawn on each data point. If you set <em>errorType</em> to something other than <a class="el" href="classQCPGraph.html#ad23b514404bd2cb3216f57c90904d6afaeae745e7cc1766bb8546e35d4b76a711">etNone</a>, make sure to actually pass error data via the specific setData functions along with the data points (e.g. <a class="el" href="classQCPGraph.html#acba6296eadcb36b93267628b8dae3de5">setDataValueError</a>, <a class="el" href="classQCPGraph.html#abce9f07c0d722bc3e4fa7bd73c7e5dfa">setDataKeyError</a>, <a class="el" href="classQCPGraph.html#a873fe46bdb20be5710428e474ade8908">setDataBothError</a>).</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPGraph.html#ad23b514404bd2cb3216f57c90904d6af">ErrorType</a> </dd></dl>
</div>
</div>
<a class="anchor" id="abd4c7f81939e10776ea64603a704f22a"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QCPGraph::setErrorPen </td>
<td>(</td>
<td class="paramtype">const QPen & </td>
<td class="paramname"><em>pen</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the pen with which the error bars will be drawn. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPGraph.html#a10f50c5495ce45ef559ec2066194a335">setErrorBarSize</a>, <a class="el" href="classQCPGraph.html#ac3614d799c3894f2bc646e99c7f73d38">setErrorType</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a10f50c5495ce45ef559ec2066194a335"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QCPGraph::setErrorBarSize </td>
<td>(</td>
<td class="paramtype">double </td>
<td class="paramname"><em>size</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the width of the handles at both ends of an error bar in pixels. </p>
</div>
</div>
<a class="anchor" id="ab1c1ee03d8dd94676a564e5e5f11aac2"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QCPGraph::setErrorBarSkipSymbol </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"><em>enabled</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>If <em>enabled</em> is set to true, the error bar will not be drawn as a solid line under the scatter symbol but leave some free space around the symbol.</p>
<p>This feature uses the current scatter size (<a class="el" href="classQCPScatterStyle.html#aaefdd031052892c4136129db68596e0f">QCPScatterStyle::setSize</a>) to determine the size of the area to leave blank. So when drawing Pixmaps as scatter points (<a class="el" href="classQCPScatterStyle.html#adb31525af6b680e6f1b7472e43859349a8718b849ca7c307b07b8e091efb0c31e">QCPScatterStyle::ssPixmap</a>), the scatter size must be set manually to a value corresponding to the size of the Pixmap, if the error bars should leave gaps to its boundaries.</p>
<p><a class="el" href="classQCPGraph.html#ac3614d799c3894f2bc646e99c7f73d38">setErrorType</a>, setErrorBarSize, setScatterStyle </p>
</div>
</div>
<a class="anchor" id="a2d03156df1b64037a2e36cfa50351ca3"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QCPGraph::setChannelFillGraph </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classQCPGraph.html">QCPGraph</a> * </td>
<td class="paramname"><em>targetGraph</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the target graph for filling the area between this graph and <em>targetGraph</em> with the current brush (<a class="el" href="classQCPAbstractPlottable.html#a7a4b92144dca6453a1f0f210e27edc74">setBrush</a>).</p>
<p>When <em>targetGraph</em> is set to 0, a normal graph fill to the zero-value-line will be shown. To disable any filling, set the brush to Qt::NoBrush.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAbstractPlottable.html#a7a4b92144dca6453a1f0f210e27edc74">setBrush</a> </dd></dl>
</div>
</div>
<a class="anchor" id="ab468cd600160f327836aa0644291e64c"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QCPGraph::setAdaptiveSampling </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"><em>enabled</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets whether adaptive sampling shall be used when plotting this graph. <a class="el" href="classQCustomPlot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a>'s adaptive sampling technique can drastically improve the replot performance for graphs with a larger number of points (e.g. above 10,000), without notably changing the appearance of the graph.</p>
<p>By default, adaptive sampling is enabled. Even if enabled, <a class="el" href="classQCustomPlot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> decides whether adaptive sampling shall actually be used on a per-graph basis. So leaving adaptive sampling enabled has no disadvantage in almost all cases.</p>
<div class="image">
<img src="adaptive-sampling-line.png" alt="adaptive-sampling-line.png"/>
<div class="caption">
A line plot of 500,000 points without and with adaptive sampling</div></div>
<p> As can be seen, line plots experience no visual degradation from adaptive sampling. Outliers are reproduced reliably, as well as the overall shape of the data set. The replot time reduces dramatically though. This allows <a class="el" href="classQCustomPlot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> to display large amounts of data in realtime.</p>
<div class="image">
<img src="adaptive-sampling-scatter.png" alt="adaptive-sampling-scatter.png"/>
<div class="caption">
A scatter plot of 100,000 points without and with adaptive sampling</div></div>
<p> Care must be taken when using high-density scatter plots in combination with adaptive sampling. The adaptive sampling algorithm treats scatter plots more carefully than line plots which still gives a significant reduction of replot times, but not quite as much as for line plots. This is because scatter plots inherently need more data points to be preserved in order to still resemble the original, non-adaptive-sampling plot. As shown above, the results still aren't quite identical, as banding occurs for the outer data points. This is in fact intentional, such that the boundaries of the data cloud stay visible to the viewer. How strong the banding appears, depends on the point density, i.e. the number of points in the plot.</p>
<p>For some situations with scatter plots it might thus be desirable to manually turn adaptive sampling off. For example, when saving the plot to disk. This can be achieved by setting <em>enabled</em> to false before issuing a command like <a class="el" href="classQCustomPlot.html#a7636261aff1f6d25c9da749ece3fc8b8">QCustomPlot::savePng</a>, and setting <em>enabled</em> back to true afterwards. </p>
</div>
</div>
<a class="anchor" id="aa5c6181d84db72ce4dbe9dc15a34ef4f"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QCPGraph::addData </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="plottable-graph_8h.html#a84a9c4a4c2216ccfdcb5f3067cda76e3">QCPDataMap</a> & </td>
<td class="paramname"><em>dataMap</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Adds the provided data points in <em>dataMap</em> to the current data.</p>
<p>Alternatively, you can also access and modify the graph's data via the <a class="el" href="classQCPGraph.html#a2f58436df4f86a2792b776a21642b3d9">data</a> method, which returns a pointer to the internal <a class="el" href="plottable-graph_8h.html#a84a9c4a4c2216ccfdcb5f3067cda76e3">QCPDataMap</a>.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPGraph.html#a4a0fde50b7db9db0a85b5c5b6b10098f">removeData</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a80cc91e1e0ef77eb50afc5b366d0efd9"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QCPGraph::addData </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classQCPData.html">QCPData</a> & </td>
<td class="paramname"><em>data</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>This is an overloaded function. Adds the provided single data point in <em>data</em> to the current data.</p>
<p>Alternatively, you can also access and modify the graph's data via the <a class="el" href="classQCPGraph.html#a2f58436df4f86a2792b776a21642b3d9">data</a> method, which returns a pointer to the internal <a class="el" href="plottable-graph_8h.html#a84a9c4a4c2216ccfdcb5f3067cda76e3">QCPDataMap</a>.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPGraph.html#a4a0fde50b7db9db0a85b5c5b6b10098f">removeData</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a0bf98b1972286cfb7b1c4b7dd6ae2012"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QCPGraph::addData </td>
<td>(</td>
<td class="paramtype">double </td>
<td class="paramname"><em>key</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double </td>
<td class="paramname"><em>value</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>This is an overloaded function. Adds the provided single data point as <em>key</em> and <em>value</em> pair to the current data.</p>
<p>Alternatively, you can also access and modify the graph's data via the <a class="el" href="classQCPGraph.html#a2f58436df4f86a2792b776a21642b3d9">data</a> method, which returns a pointer to the internal <a class="el" href="plottable-graph_8h.html#a84a9c4a4c2216ccfdcb5f3067cda76e3">QCPDataMap</a>.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPGraph.html#a4a0fde50b7db9db0a85b5c5b6b10098f">removeData</a> </dd></dl>
</div>
</div>
<a class="anchor" id="ab6da6377541fe80d892a9893a92db9c6"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QCPGraph::addData </td>
<td>(</td>
<td class="paramtype">const QVector< double > & </td>
<td class="paramname"><em>keys</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const QVector< double > & </td>
<td class="paramname"><em>values</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>This is an overloaded function. Adds the provided data points as <em>key</em> and <em>value</em> pairs to the current data.</p>
<p>Alternatively, you can also access and modify the graph's data via the <a class="el" href="classQCPGraph.html#a2f58436df4f86a2792b776a21642b3d9">data</a> method, which returns a pointer to the internal <a class="el" href="plottable-graph_8h.html#a84a9c4a4c2216ccfdcb5f3067cda76e3">QCPDataMap</a>.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPGraph.html#a4a0fde50b7db9db0a85b5c5b6b10098f">removeData</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a9fe0b3e54e8c7b61319bd03337e21e99"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QCPGraph::removeDataBefore </td>
<td>(</td>
<td class="paramtype">double </td>
<td class="paramname"><em>key</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Removes all data points with keys smaller than <em>key</em>. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPGraph.html#aa5c6181d84db72ce4dbe9dc15a34ef4f">addData</a>, <a class="el" href="classQCPGraph.html#ad4e94a4e44e5e76fbec81a72a977157d">clearData</a> </dd></dl>
</div>
</div>
<a class="anchor" id="ae42d645ef617cfc75fc0df58e62c522a"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QCPGraph::removeDataAfter </td>
<td>(</td>
<td class="paramtype">double </td>
<td class="paramname"><em>key</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Removes all data points with keys greater than <em>key</em>. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPGraph.html#aa5c6181d84db72ce4dbe9dc15a34ef4f">addData</a>, <a class="el" href="classQCPGraph.html#ad4e94a4e44e5e76fbec81a72a977157d">clearData</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a4a0fde50b7db9db0a85b5c5b6b10098f"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QCPGraph::removeData </td>
<td>(</td>
<td class="paramtype">double </td>
<td class="paramname"><em>fromKey</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double </td>
<td class="paramname"><em>toKey</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Removes all data points with keys between <em>fromKey</em> and <em>toKey</em>. if <em>fromKey</em> is greater or equal to <em>toKey</em>, the function does nothing. To remove a single data point with known key, use <a class="el" href="classQCPGraph.html#a4a706020b4318f118381648ef18aca3f">removeData(double key)</a>.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPGraph.html#aa5c6181d84db72ce4dbe9dc15a34ef4f">addData</a>, <a class="el" href="classQCPGraph.html#ad4e94a4e44e5e76fbec81a72a977157d">clearData</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a4a706020b4318f118381648ef18aca3f"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QCPGraph::removeData </td>
<td>(</td>
<td class="paramtype">double </td>
<td class="paramname"><em>key</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>This is an overloaded function.</p>
<p>Removes a single data point at <em>key</em>. If the position is not known with absolute precision, consider using <a class="el" href="classQCPGraph.html#a4a0fde50b7db9db0a85b5c5b6b10098f">removeData(double fromKey, double toKey)</a> with a small fuzziness interval around the suspected position, depeding on the precision with which the key is known.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPGraph.html#aa5c6181d84db72ce4dbe9dc15a34ef4f">addData</a>, <a class="el" href="classQCPGraph.html#ad4e94a4e44e5e76fbec81a72a977157d">clearData</a> </dd></dl>
</div>
</div>
<a class="anchor" id="ad4e94a4e44e5e76fbec81a72a977157d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void QCPGraph::clearData </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Removes all data points. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPGraph.html#a4a0fde50b7db9db0a85b5c5b6b10098f">removeData</a>, <a class="el" href="classQCPGraph.html#ae42d645ef617cfc75fc0df58e62c522a">removeDataAfter</a>, <a class="el" href="classQCPGraph.html#a9fe0b3e54e8c7b61319bd03337e21e99">removeDataBefore</a> </dd></dl>
<p>Implements <a class="el" href="classQCPAbstractPlottable.html#a86e5b8fd4b6ff4f4084e7ea4c573fc53">QCPAbstractPlottable</a>.</p>
</div>
</div>
<a class="anchor" id="abc9ff375aabcf2d21cca33d6baf85772"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">double QCPGraph::selectTest </td>
<td>(</td>
<td class="paramtype">const QPointF & </td>
<td class="paramname"><em>pos</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>onlySelectable</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">QVariant * </td>
<td class="paramname"><em>details</em> = <code>0</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>This function is used to decide whether a click hits a layerable object or not.</p>
<p><em>pos</em> is a point in pixel coordinates on the <a class="el" href="classQCustomPlot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> surface. This function returns the shortest pixel distance of this point to the object. If the object is either invisible or the distance couldn't be determined, -1.0 is returned. Further, if <em>onlySelectable</em> is true and the object is not selectable, -1.0 is returned, too.</p>
<p>If the object is represented not by single lines but by an area like a <a class="el" href="classQCPItemText.html">QCPItemText</a> or the bars of a <a class="el" href="classQCPBars.html">QCPBars</a> plottable, a click inside the area should also be considered a hit. In these cases this function thus returns a constant value greater zero but still below the parent plot's selection tolerance. (typically the selectionTolerance multiplied by 0.99).</p>
<p>Providing a constant value for area objects allows selecting line objects even when they are obscured by such area objects, by clicking close to the lines (i.e. closer than 0.99*selectionTolerance).</p>
<p>The actual setting of the selection state is not done by this function. This is handled by the parent <a class="el" href="classQCustomPlot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> when the mouseReleaseEvent occurs, and the finally selected object is notified via the selectEvent/deselectEvent methods.</p>
<p><em>details</em> is an optional output parameter. Every layerable subclass may place any information in <em>details</em>. This information will be passed to <a class="el" href="classQCPAbstractPlottable.html#a16aaad02456aa23a759efd1ac90c79bf">selectEvent</a> when the parent <a class="el" href="classQCustomPlot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> decides on the basis of this selectTest call, that the object was successfully selected. The subsequent call to <a class="el" href="classQCPAbstractPlottable.html#a16aaad02456aa23a759efd1ac90c79bf">selectEvent</a> will carry the <em>details</em>. This is useful for multi-part objects (like <a class="el" href="classQCPAxis.html" title="Manages a single axis inside a QCustomPlot. ">QCPAxis</a>). This way, a possibly complex calculation to decide which part was clicked is only done once in <a class="el" href="classQCPGraph.html#abc9ff375aabcf2d21cca33d6baf85772">selectTest</a>. The result (i.e. the actually clicked part) can then be placed in <em>details</em>. So in the subsequent <a class="el" href="classQCPAbstractPlottable.html#a16aaad02456aa23a759efd1ac90c79bf">selectEvent</a>, the decision which part was selected doesn't have to be done a second time for a single selection operation.</p>
<p>You may pass 0 as <em>details</em> to indicate that you are not interested in those selection details.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAbstractPlottable.html#a16aaad02456aa23a759efd1ac90c79bf">selectEvent</a>, <a class="el" href="classQCPAbstractPlottable.html#a6fa0d0f95560ea8b01ee13f296dab2b1">deselectEvent</a>, <a class="el" href="classQCustomPlot.html#a5ee1e2f6ae27419deca53e75907c27e5">QCustomPlot::setInteractions</a> </dd></dl>
<p>Implements <a class="el" href="classQCPAbstractPlottable.html#a38efe9641d972992a3d44204bc80ec1d">QCPAbstractPlottable</a>.</p>
</div>
</div>
<a class="anchor" id="aa35b75b9032800d783df749c8a004ee9"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QCPGraph::rescaleAxes </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"><em>onlyEnlarge</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>includeErrorBars</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>This is an overloaded function.</p>
<p>Allows to define whether error bars are taken into consideration when determining the new axis range.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPGraph.html#a2108a729046b0ab6e0516afb249dab13">rescaleKeyAxis</a>, <a class="el" href="classQCPGraph.html#a2ba0e1df416486d7e74299ef8cf68bba">rescaleValueAxis</a>, <a class="el" href="classQCPAbstractPlottable.html#a7e8fc3be43c27ccacd70a7bf9d74a5cd">QCPAbstractPlottable::rescaleAxes</a>, <a class="el" href="classQCustomPlot.html#ad86528f2cee6c7e446dea4a6e8839935">QCustomPlot::rescaleAxes</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a2108a729046b0ab6e0516afb249dab13"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QCPGraph::rescaleKeyAxis </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"><em>onlyEnlarge</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>includeErrorBars</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>This is an overloaded function.</p>
<p>Allows to define whether error bars (of kind <a class="el" href="classQCPGraph.html#ad23b514404bd2cb3216f57c90904d6afa2a5d89cd76fb8b6b18d71b8f6f6c0f43">QCPGraph::etKey</a>) are taken into consideration when determining the new axis range.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPGraph.html#aa35b75b9032800d783df749c8a004ee9">rescaleAxes</a>, <a class="el" href="classQCPAbstractPlottable.html#a1acecfcca3e7fcda00fcbaa3c886386f">QCPAbstractPlottable::rescaleKeyAxis</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a2ba0e1df416486d7e74299ef8cf68bba"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QCPGraph::rescaleValueAxis </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"><em>onlyEnlarge</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>includeErrorBars</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>This is an overloaded function.</p>
<p>Allows to define whether error bars (of kind <a class="el" href="classQCPGraph.html#ad23b514404bd2cb3216f57c90904d6afa147022ccdc49f6bd48f904cb4f61872e">QCPGraph::etValue</a>) are taken into consideration when determining the new axis range.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPGraph.html#aa35b75b9032800d783df749c8a004ee9">rescaleAxes</a>, <a class="el" href="classQCPAbstractPlottable.html#abfd0805eb1d955c0111a990246658324">QCPAbstractPlottable::rescaleValueAxis</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a659218cc62c2a7786213d9dd429c1c8d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void QCPGraph::draw </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classQCPPainter.html">QCPPainter</a> * </td>
<td class="paramname"><em>painter</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>This function draws the layerable with the specified <em>painter</em>. It is only called by <a class="el" href="classQCustomPlot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a>, if the layerable is visible (<a class="el" href="classQCPLayerable.html#a3bed99ddc396b48ce3ebfdc0418744f8">setVisible</a>).</p>
<p>Before this function is called, the painter's antialiasing state is set via <a class="el" href="classQCPAbstractPlottable.html#a76e9d6cc7972dc1528f526d163766aca">applyDefaultAntialiasingHint</a>, see the documentation there. Further, the clipping rectangle was set to <a class="el" href="classQCPAbstractPlottable.html#ac01960b0827913922f5364d559c124ed">clipRect</a>. </p>
<p>Implements <a class="el" href="classQCPAbstractPlottable.html#acbab5e30dcd04fd302b4a5902ac2c482">QCPAbstractPlottable</a>.</p>
</div>
</div>
<a class="anchor" id="a32115df0e940cf8ca7b687873c2d02ee"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void QCPGraph::drawLegendIcon </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classQCPPainter.html">QCPPainter</a> * </td>
<td class="paramname"><em>painter</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const QRectF & </td>
<td class="paramname"><em>rect</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>called by <a class="el" href="classQCPLegend.html#a4462151bf875ca85fa3815457c683fdc">QCPLegend::draw</a> (via <a class="el" href="classQCPPlottableLegendItem.html#a68a781c3de4f9959fdf82075052d43aa">QCPPlottableLegendItem::draw</a>) to create a graphical representation of this plottable inside <em>rect</em>, next to the plottable name.</p>
<p>The passed <em>painter</em> has its cliprect set to <em>rect</em>, so painting outside of <em>rect</em> won't appear outside the legend icon border. </p>
<p>Implements <a class="el" href="classQCPAbstractPlottable.html#a9a450783fd9ed539e589999fd390cdf7">QCPAbstractPlottable</a>.</p>
</div>
</div>
<a class="anchor" id="afc246ce6201ff564ac440efaec52ab11"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classQCPRange.html">QCPRange</a> QCPGraph::getKeyRange </td>
<td>(</td>
<td class="paramtype">bool & </td>
<td class="paramname"><em>foundRange</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classQCPAbstractPlottable.html#a661743478a1d3c09d28ec2711d7653d8">SignDomain</a> </td>
<td class="paramname"><em>inSignDomain</em> = <code><a class="el" href="classQCPAbstractPlottable.html#a661743478a1d3c09d28ec2711d7653d8a082b98cfb91a7363a3b5cd17b0c1cd60">sdBoth</a></code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>called by rescaleAxes functions to get the full data key bounds. For logarithmic plots, one can set <em>inSignDomain</em> to either <a class="el" href="classQCPAbstractPlottable.html#a661743478a1d3c09d28ec2711d7653d8a0fc9a70796ef60ad18ddd18056e6dc63">sdNegative</a> or <a class="el" href="classQCPAbstractPlottable.html#a661743478a1d3c09d28ec2711d7653d8a02951859f243a4d24e779cfbb5471030">sdPositive</a> in order to restrict the returned range to that sign domain. E.g. when only negative range is wanted, set <em>inSignDomain</em> to <a class="el" href="classQCPAbstractPlottable.html#a661743478a1d3c09d28ec2711d7653d8a0fc9a70796ef60ad18ddd18056e6dc63">sdNegative</a> and all positive points will be ignored for range calculation. For no restriction, just set <em>inSignDomain</em> to <a class="el" href="classQCPAbstractPlottable.html#a661743478a1d3c09d28ec2711d7653d8a082b98cfb91a7363a3b5cd17b0c1cd60">sdBoth</a> (default). <em>foundRange</em> is an output parameter that indicates whether a range could be found or not. If this is false, you shouldn't use the returned range (e.g. no points in data).</p>
<p>Note that <em>foundRange</em> is not the same as <a class="el" href="classQCPRange.html#ab38bd4841c77c7bb86c9eea0f142dcc0">QCPRange::validRange</a>, since the range returned by this function may have size zero, which wouldn't count as a valid range.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPGraph.html#aa35b75b9032800d783df749c8a004ee9">rescaleAxes</a>, <a class="el" href="classQCPGraph.html#a856e90b8ab6b31c344b14a863ab9e5d2">getValueRange</a> </dd></dl>
<p>Implements <a class="el" href="classQCPAbstractPlottable.html#a345d702b2e7e12c8cfdddff65ba85e8c">QCPAbstractPlottable</a>.</p>
</div>
</div>
<a class="anchor" id="a856e90b8ab6b31c344b14a863ab9e5d2"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classQCPRange.html">QCPRange</a> QCPGraph::getValueRange </td>
<td>(</td>
<td class="paramtype">bool & </td>
<td class="paramname"><em>foundRange</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classQCPAbstractPlottable.html#a661743478a1d3c09d28ec2711d7653d8">SignDomain</a> </td>
<td class="paramname"><em>inSignDomain</em> = <code><a class="el" href="classQCPAbstractPlottable.html#a661743478a1d3c09d28ec2711d7653d8a082b98cfb91a7363a3b5cd17b0c1cd60">sdBoth</a></code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>called by rescaleAxes functions to get the full data value bounds. For logarithmic plots, one can set <em>inSignDomain</em> to either <a class="el" href="classQCPAbstractPlottable.html#a661743478a1d3c09d28ec2711d7653d8a0fc9a70796ef60ad18ddd18056e6dc63">sdNegative</a> or <a class="el" href="classQCPAbstractPlottable.html#a661743478a1d3c09d28ec2711d7653d8a02951859f243a4d24e779cfbb5471030">sdPositive</a> in order to restrict the returned range to that sign domain. E.g. when only negative range is wanted, set <em>inSignDomain</em> to <a class="el" href="classQCPAbstractPlottable.html#a661743478a1d3c09d28ec2711d7653d8a0fc9a70796ef60ad18ddd18056e6dc63">sdNegative</a> and all positive points will be ignored for range calculation. For no restriction, just set <em>inSignDomain</em> to <a class="el" href="classQCPAbstractPlottable.html#a661743478a1d3c09d28ec2711d7653d8a082b98cfb91a7363a3b5cd17b0c1cd60">sdBoth</a> (default). <em>foundRange</em> is an output parameter that indicates whether a range could be found or not. If this is false, you shouldn't use the returned range (e.g. no points in data).</p>
<p>Note that <em>foundRange</em> is not the same as <a class="el" href="classQCPRange.html#ab38bd4841c77c7bb86c9eea0f142dcc0">QCPRange::validRange</a>, since the range returned by this function may have size zero, which wouldn't count as a valid range.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPGraph.html#aa35b75b9032800d783df749c8a004ee9">rescaleAxes</a>, <a class="el" href="classQCPGraph.html#afc246ce6201ff564ac440efaec52ab11">getKeyRange</a> </dd></dl>
<p>Implements <a class="el" href="classQCPAbstractPlottable.html#aa3331b415b5939fe4df60b78831b2799">QCPAbstractPlottable</a>.</p>
</div>
</div>
<a class="anchor" id="aa75c6f028124032416a5cf7145dfba60"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classQCPRange.html">QCPRange</a> QCPGraph::getKeyRange </td>
<td>(</td>
<td class="paramtype">bool & </td>
<td class="paramname"><em>foundRange</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classQCPAbstractPlottable.html#a661743478a1d3c09d28ec2711d7653d8">SignDomain</a> </td>
<td class="paramname"><em>inSignDomain</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>includeErrors</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>This is an overloaded function.</p>
<p>Allows to specify whether the error bars should be included in the range calculation.</p>
<dl class="section see"><dt>See Also</dt><dd>getKeyRange(bool &foundRange, SignDomain inSignDomain) </dd></dl>
</div>
</div>
<a class="anchor" id="ab964a21d680af93435d68126d8c5ab29"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classQCPRange.html">QCPRange</a> QCPGraph::getValueRange </td>
<td>(</td>
<td class="paramtype">bool & </td>
<td class="paramname"><em>foundRange</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classQCPAbstractPlottable.html#a661743478a1d3c09d28ec2711d7653d8">SignDomain</a> </td>
<td class="paramname"><em>inSignDomain</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>includeErrors</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>This is an overloaded function.</p>
<p>Allows to specify whether the error bars should be included in the range calculation.</p>
<dl class="section see"><dt>See Also</dt><dd>getValueRange(bool &foundRange, SignDomain inSignDomain) </dd></dl>
</div>
</div>
<a class="anchor" id="ad6d07926e6d6b7cfa70258780d47b7a0"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void QCPGraph::drawFill </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classQCPPainter.html">QCPPainter</a> * </td>
<td class="paramname"><em>painter</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">QVector< QPointF > * </td>
<td class="paramname"><em>lineData</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Draws the fill of the graph with the specified brush.</p>
<p>If the fill is a normal fill towards the zero-value-line, only the <em>lineData</em> is required (and two extra points at the zero-value-line, which are added by <a class="el" href="classQCPGraph.html#a5fa7884620d7c54b81dfbd255d97b636">addFillBasePoints</a> and removed by <a class="el" href="classQCPGraph.html#ad31b49a90e91e538fd9caf011c913a68">removeFillBasePoints</a> after the fill drawing is done).</p>
<p>If the fill is a channel fill between this <a class="el" href="classQCPGraph.html" title="A plottable representing a graph in a plot. ">QCPGraph</a> and another <a class="el" href="classQCPGraph.html" title="A plottable representing a graph in a plot. ">QCPGraph</a> (mChannelFillGraph), the more complex polygon is calculated with the <a class="el" href="classQCPGraph.html#a0374b7268e35cab9802a6be2b5d726d7">getChannelFillPolygon</a> function.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPGraph.html#acebc22c3385829b19a87e6281fe6ade2">drawLinePlot</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a6bdc385b122ce06134d4196373ae2250"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void QCPGraph::drawScatterPlot </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classQCPPainter.html">QCPPainter</a> * </td>
<td class="paramname"><em>painter</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">QVector< <a class="el" href="classQCPData.html">QCPData</a> > * </td>
<td class="paramname"><em>scatterData</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Draws scatter symbols at every data point passed in <em>scatterData</em>. scatter symbols are independent of the line style and are always drawn if the scatter style's shape is not <a class="el" href="classQCPScatterStyle.html#adb31525af6b680e6f1b7472e43859349abd144c291ca274f77053ec68cab6c022">QCPScatterStyle::ssNone</a>. Hence, the <em>scatterData</em> vector is outputted by all "get(...)PlotData" functions, together with the (line style dependent) line data.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPGraph.html#acebc22c3385829b19a87e6281fe6ade2">drawLinePlot</a>, <a class="el" href="classQCPGraph.html#abc01180629621f1e47e94559227d3d8c">drawImpulsePlot</a> </dd></dl>
</div>
</div>
<a class="anchor" id="acebc22c3385829b19a87e6281fe6ade2"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void QCPGraph::drawLinePlot </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classQCPPainter.html">QCPPainter</a> * </td>
<td class="paramname"><em>painter</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">QVector< QPointF > * </td>
<td class="paramname"><em>lineData</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Draws line graphs from the provided data. It connects all points in <em>lineData</em>, which was created by one of the "get(...)PlotData" functions for line styles that require simple line connections between the point vector they create. These are for example <a class="el" href="classQCPGraph.html#ae3d82ffd0c9a883482aabf47b0e6b5ee">getLinePlotData</a>, <a class="el" href="classQCPGraph.html#a609cf4a78045b4d2a679bdff7623847e">getStepLeftPlotData</a>, <a class="el" href="classQCPGraph.html#a3b9b8c8dc7a6fd9be6e253c25ee31809">getStepRightPlotData</a> and <a class="el" href="classQCPGraph.html#ad3713e7d8eb85a0afc34a81a5db5cd27">getStepCenterPlotData</a>.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPGraph.html#a6bdc385b122ce06134d4196373ae2250">drawScatterPlot</a>, <a class="el" href="classQCPGraph.html#abc01180629621f1e47e94559227d3d8c">drawImpulsePlot</a> </dd></dl>
</div>
</div>
<a class="anchor" id="abc01180629621f1e47e94559227d3d8c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void QCPGraph::drawImpulsePlot </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classQCPPainter.html">QCPPainter</a> * </td>
<td class="paramname"><em>painter</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">QVector< QPointF > * </td>
<td class="paramname"><em>lineData</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Draws impulses from the provided data, i.e. it connects all line pairs in <em>lineData</em>, which was created by <a class="el" href="classQCPGraph.html#a1ca2b0762505767f116892609fb02062">getImpulsePlotData</a>.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPGraph.html#a6bdc385b122ce06134d4196373ae2250">drawScatterPlot</a>, <a class="el" href="classQCPGraph.html#acebc22c3385829b19a87e6281fe6ade2">drawLinePlot</a> </dd></dl>
</div>
</div>
<a class="anchor" id="ab420b46ba638dc3252439fe16687b244"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void QCPGraph::getPreparedData </td>
<td>(</td>
<td class="paramtype">QVector< <a class="el" href="classQCPData.html">QCPData</a> > * </td>
<td class="paramname"><em>lineData</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">QVector< <a class="el" href="classQCPData.html">QCPData</a> > * </td>
<td class="paramname"><em>scatterData</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the <em>lineData</em> and <em>scatterData</em> that need to be plotted for this graph taking into consideration the current axis ranges and, if <a class="el" href="classQCPGraph.html#ab468cd600160f327836aa0644291e64c">setAdaptiveSampling</a> is enabled, local point densities.</p>
<p>0 may be passed as <em>lineData</em> or <em>scatterData</em> to indicate that the respective dataset isn't needed. For example, if the scatter style (<a class="el" href="classQCPGraph.html#a12bd17a8ba21983163ec5d8f42a9fea5">setScatterStyle</a>) is <a class="el" href="classQCPScatterStyle.html#adb31525af6b680e6f1b7472e43859349abd144c291ca274f77053ec68cab6c022">QCPScatterStyle::ssNone</a>, <em>scatterData</em> should be 0 to prevent unnecessary calculations.</p>
<p>This method is used by the various "get(...)PlotData" methods to get the basic working set of data. </p>
</div>
</div>
<a class="anchor" id="a466c661e015188971c862031af946693"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void QCPGraph::getPlotData </td>
<td>(</td>
<td class="paramtype">QVector< QPointF > * </td>
<td class="paramname"><em>lineData</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">QVector< <a class="el" href="classQCPData.html">QCPData</a> > * </td>
<td class="paramname"><em>scatterData</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>This function branches out to the line style specific "get(...)PlotData" functions, according to the line style of the graph.</p>
<p><em>lineData</em> will be filled with raw points that will be drawn with the according draw functions, e.g. <a class="el" href="classQCPGraph.html#acebc22c3385829b19a87e6281fe6ade2">drawLinePlot</a> and <a class="el" href="classQCPGraph.html#abc01180629621f1e47e94559227d3d8c">drawImpulsePlot</a>. These aren't necessarily the original data points, since for step plots for example, additional points are needed for drawing lines that make up steps. If the line style of the graph is <a class="el" href="classQCPGraph.html#ad60175cd9b5cac937c5ee685c32c0859aea9591b933733cc7b20786b71e60fa04">lsNone</a>, the <em>lineData</em> vector will be left untouched.</p>
<p><em>scatterData</em> will be filled with the original data points so <a class="el" href="classQCPGraph.html#a6bdc385b122ce06134d4196373ae2250">drawScatterPlot</a> can draw the scatter symbols accordingly. If no scatters need to be drawn, i.e. the scatter style's shape is <a class="el" href="classQCPScatterStyle.html#adb31525af6b680e6f1b7472e43859349abd144c291ca274f77053ec68cab6c022">QCPScatterStyle::ssNone</a>, pass 0 as <em>scatterData</em>, and this step will be skipped.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPGraph.html#a45c4214b59ea11aa6d8d112bdc3b0e03">getScatterPlotData</a>, <a class="el" href="classQCPGraph.html#ae3d82ffd0c9a883482aabf47b0e6b5ee">getLinePlotData</a>, <a class="el" href="classQCPGraph.html#a609cf4a78045b4d2a679bdff7623847e">getStepLeftPlotData</a>, <a class="el" href="classQCPGraph.html#a3b9b8c8dc7a6fd9be6e253c25ee31809">getStepRightPlotData</a>, <a class="el" href="classQCPGraph.html#ad3713e7d8eb85a0afc34a81a5db5cd27">getStepCenterPlotData</a>, <a class="el" href="classQCPGraph.html#a1ca2b0762505767f116892609fb02062">getImpulsePlotData</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a45c4214b59ea11aa6d8d112bdc3b0e03"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void QCPGraph::getScatterPlotData </td>
<td>(</td>
<td class="paramtype">QVector< <a class="el" href="classQCPData.html">QCPData</a> > * </td>
<td class="paramname"><em>scatterData</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>If line style is <a class="el" href="classQCPGraph.html#ad60175cd9b5cac937c5ee685c32c0859aea9591b933733cc7b20786b71e60fa04">lsNone</a> and the scatter style's shape is not <a class="el" href="classQCPScatterStyle.html#adb31525af6b680e6f1b7472e43859349abd144c291ca274f77053ec68cab6c022">QCPScatterStyle::ssNone</a>, this function serves at providing the visible data points in <em>scatterData</em>, so the <a class="el" href="classQCPGraph.html#a6bdc385b122ce06134d4196373ae2250">drawScatterPlot</a> function can draw the scatter points accordingly.</p>
<p>If line style is not <a class="el" href="classQCPGraph.html#ad60175cd9b5cac937c5ee685c32c0859aea9591b933733cc7b20786b71e60fa04">lsNone</a>, this function is not called and the data for the scatter points are (if needed) calculated inside the corresponding other "get(...)PlotData" functions.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPGraph.html#a6bdc385b122ce06134d4196373ae2250">drawScatterPlot</a> </dd></dl>
</div>
</div>
<a class="anchor" id="ae3d82ffd0c9a883482aabf47b0e6b5ee"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void QCPGraph::getLinePlotData </td>
<td>(</td>
<td class="paramtype">QVector< QPointF > * </td>
<td class="paramname"><em>linePixelData</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">QVector< <a class="el" href="classQCPData.html">QCPData</a> > * </td>
<td class="paramname"><em>scatterData</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Places the raw data points needed for a normal linearly connected graph in <em>linePixelData</em>.</p>
<p>As for all plot data retrieval functions, <em>scatterData</em> just contains all unaltered data (scatter) points that are visible for drawing scatter points, if necessary. If drawing scatter points is disabled (i.e. the scatter style's shape is <a class="el" href="classQCPScatterStyle.html#adb31525af6b680e6f1b7472e43859349abd144c291ca274f77053ec68cab6c022">QCPScatterStyle::ssNone</a>), pass 0 as <em>scatterData</em>, and the function will skip filling the vector.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPGraph.html#acebc22c3385829b19a87e6281fe6ade2">drawLinePlot</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a609cf4a78045b4d2a679bdff7623847e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void QCPGraph::getStepLeftPlotData </td>
<td>(</td>
<td class="paramtype">QVector< QPointF > * </td>
<td class="paramname"><em>linePixelData</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">QVector< <a class="el" href="classQCPData.html">QCPData</a> > * </td>
<td class="paramname"><em>scatterData</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Places the raw data points needed for a step plot with left oriented steps in <em>lineData</em>.</p>
<p>As for all plot data retrieval functions, <em>scatterData</em> just contains all unaltered data (scatter) points that are visible for drawing scatter points, if necessary. If drawing scatter points is disabled (i.e. the scatter style's shape is <a class="el" href="classQCPScatterStyle.html#adb31525af6b680e6f1b7472e43859349abd144c291ca274f77053ec68cab6c022">QCPScatterStyle::ssNone</a>), pass 0 as <em>scatterData</em>, and the function will skip filling the vector.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPGraph.html#acebc22c3385829b19a87e6281fe6ade2">drawLinePlot</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a3b9b8c8dc7a6fd9be6e253c25ee31809"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void QCPGraph::getStepRightPlotData </td>
<td>(</td>
<td class="paramtype">QVector< QPointF > * </td>
<td class="paramname"><em>linePixelData</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">QVector< <a class="el" href="classQCPData.html">QCPData</a> > * </td>
<td class="paramname"><em>scatterData</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Places the raw data points needed for a step plot with right oriented steps in <em>lineData</em>.</p>
<p>As for all plot data retrieval functions, <em>scatterData</em> just contains all unaltered data (scatter) points that are visible for drawing scatter points, if necessary. If drawing scatter points is disabled (i.e. the scatter style's shape is <a class="el" href="classQCPScatterStyle.html#adb31525af6b680e6f1b7472e43859349abd144c291ca274f77053ec68cab6c022">QCPScatterStyle::ssNone</a>), pass 0 as <em>scatterData</em>, and the function will skip filling the vector.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPGraph.html#acebc22c3385829b19a87e6281fe6ade2">drawLinePlot</a> </dd></dl>
</div>
</div>
<a class="anchor" id="ad3713e7d8eb85a0afc34a81a5db5cd27"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void QCPGraph::getStepCenterPlotData </td>
<td>(</td>
<td class="paramtype">QVector< QPointF > * </td>
<td class="paramname"><em>linePixelData</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">QVector< <a class="el" href="classQCPData.html">QCPData</a> > * </td>
<td class="paramname"><em>scatterData</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Places the raw data points needed for a step plot with centered steps in <em>lineData</em>.</p>
<p>As for all plot data retrieval functions, <em>scatterData</em> just contains all unaltered data (scatter) points that are visible for drawing scatter points, if necessary. If drawing scatter points is disabled (i.e. the scatter style's shape is <a class="el" href="classQCPScatterStyle.html#adb31525af6b680e6f1b7472e43859349abd144c291ca274f77053ec68cab6c022">QCPScatterStyle::ssNone</a>), pass 0 as <em>scatterData</em>, and the function will skip filling the vector.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPGraph.html#acebc22c3385829b19a87e6281fe6ade2">drawLinePlot</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a1ca2b0762505767f116892609fb02062"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void QCPGraph::getImpulsePlotData </td>
<td>(</td>
<td class="paramtype">QVector< QPointF > * </td>
<td class="paramname"><em>linePixelData</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">QVector< <a class="el" href="classQCPData.html">QCPData</a> > * </td>
<td class="paramname"><em>scatterData</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Places the raw data points needed for an impulse plot in <em>lineData</em>.</p>
<p>As for all plot data retrieval functions, <em>scatterData</em> just contains all unaltered data (scatter) points that are visible for drawing scatter points, if necessary. If drawing scatter points is disabled (i.e. the scatter style's shape is <a class="el" href="classQCPScatterStyle.html#adb31525af6b680e6f1b7472e43859349abd144c291ca274f77053ec68cab6c022">QCPScatterStyle::ssNone</a>), pass 0 as <em>scatterData</em>, and the function will skip filling the vector.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPGraph.html#abc01180629621f1e47e94559227d3d8c">drawImpulsePlot</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a4df6807066ce877705e999773e7ffbc4"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void QCPGraph::drawError </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classQCPPainter.html">QCPPainter</a> * </td>
<td class="paramname"><em>painter</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double </td>
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double </td>
<td class="paramname"><em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classQCPData.html">QCPData</a> & </td>
<td class="paramname"><em>data</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>called by the scatter drawing function (<a class="el" href="classQCPGraph.html#a6bdc385b122ce06134d4196373ae2250">drawScatterPlot</a>) to draw the error bars on one data point. <em>x</em> and <em>y</em> pixel positions of the data point are passed since they are already known in pixel coordinates in the drawing function, so we save some extra coordToPixel transforms here. <em>data</em> is therefore only used for the errors, not key and value. </p>
</div>
</div>
<a class="anchor" id="a6a317cb14a83dae0841c7041a63d6d9d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void QCPGraph::getVisibleDataBounds </td>
<td>(</td>
<td class="paramtype">QCPDataMap::const_iterator & </td>
<td class="paramname"><em>lower</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">QCPDataMap::const_iterator & </td>
<td class="paramname"><em>upper</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>called by <a class="el" href="classQCPGraph.html#ab420b46ba638dc3252439fe16687b244">getPreparedData</a> to determine which data (key) range is visible at the current key axis range setting, so only that needs to be processed.</p>
<p><em>lower</em> returns an iterator to the lowest data point that needs to be taken into account when plotting. Note that in order to get a clean plot all the way to the edge of the axis rect, <em>lower</em> may still be just outside the visible range.</p>
<p><em>upper</em> returns an iterator to the highest data point. Same as before, <em>upper</em> may also lie just outside of the visible range.</p>
<p>if the graph contains no data, both <em>lower</em> and <em>upper</em> point to constEnd. </p>
</div>
</div>
<a class="anchor" id="a13f6a3aa60227e03ab1f7aa8eec6589f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int QCPGraph::countDataInBounds </td>
<td>(</td>
<td class="paramtype">const QCPDataMap::const_iterator & </td>
<td class="paramname"><em>lower</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const QCPDataMap::const_iterator & </td>
<td class="paramname"><em>upper</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>maxCount</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Counts the number of data points between <em>lower</em> and <em>upper</em> (including them), up to a maximum of <em>maxCount</em>.</p>
<p>This function is used by <a class="el" href="classQCPGraph.html#ab420b46ba638dc3252439fe16687b244">getPreparedData</a> to determine whether adaptive sampling shall be used (if enabled via <a class="el" href="classQCPGraph.html#ab468cd600160f327836aa0644291e64c">setAdaptiveSampling</a>) or not. This is also why counting of data points only needs to be done until <em>maxCount</em> is reached, which should be set to the number of data points at which adaptive sampling sets in. </p>
</div>
</div>
<a class="anchor" id="a5fa7884620d7c54b81dfbd255d97b636"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void QCPGraph::addFillBasePoints </td>
<td>(</td>
<td class="paramtype">QVector< QPointF > * </td>
<td class="paramname"><em>lineData</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>The line data vector generated by e.g. getLinePlotData contains only the line that connects the data points. If the graph needs to be filled, two additional points need to be added at the value-zero-line in the lower and upper key positions of the graph. This function calculates these points and adds them to the end of <em>lineData</em>. Since the fill is typically drawn before the line stroke, these added points need to be removed again after the fill is done, with the removeFillBasePoints function.</p>
<p>The expanding of <em>lineData</em> by two points will not cause unnecessary memory reallocations, because the data vector generation functions (getLinePlotData etc.) reserve two extra points when they allocate memory for <em>lineData</em>.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPGraph.html#ad31b49a90e91e538fd9caf011c913a68">removeFillBasePoints</a>, <a class="el" href="classQCPGraph.html#a41f982e8ceaefe6a53eb7432f26d64b6">lowerFillBasePoint</a>, <a class="el" href="classQCPGraph.html#a363d066c179e0f46cc93c12bafb0bfba">upperFillBasePoint</a> </dd></dl>
</div>
</div>
<a class="anchor" id="ad31b49a90e91e538fd9caf011c913a68"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void QCPGraph::removeFillBasePoints </td>
<td>(</td>
<td class="paramtype">QVector< QPointF > * </td>
<td class="paramname"><em>lineData</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>removes the two points from <em>lineData</em> that were added by <a class="el" href="classQCPGraph.html#a5fa7884620d7c54b81dfbd255d97b636">addFillBasePoints</a>.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPGraph.html#a5fa7884620d7c54b81dfbd255d97b636">addFillBasePoints</a>, <a class="el" href="classQCPGraph.html#a41f982e8ceaefe6a53eb7432f26d64b6">lowerFillBasePoint</a>, <a class="el" href="classQCPGraph.html#a363d066c179e0f46cc93c12bafb0bfba">upperFillBasePoint</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a41f982e8ceaefe6a53eb7432f26d64b6"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">QPointF QCPGraph::lowerFillBasePoint </td>
<td>(</td>
<td class="paramtype">double </td>
<td class="paramname"><em>lowerKey</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>called by <a class="el" href="classQCPGraph.html#a5fa7884620d7c54b81dfbd255d97b636">addFillBasePoints</a> to conveniently assign the point which closes the fill polygon on the lower side of the zero-value-line parallel to the key axis. The logarithmic axis scale case is a bit special, since the zero-value-line in pixel coordinates is in positive or negative infinity. So this case is handled separately by just closing the fill polygon on the axis which lies in the direction towards the zero value.</p>
<p><em>lowerKey</em> will be the the key (in pixels) of the returned point. Depending on whether the key axis is horizontal or vertical, <em>lowerKey</em> will end up as the x or y value of the returned point, respectively.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPGraph.html#a363d066c179e0f46cc93c12bafb0bfba">upperFillBasePoint</a>, <a class="el" href="classQCPGraph.html#a5fa7884620d7c54b81dfbd255d97b636">addFillBasePoints</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a363d066c179e0f46cc93c12bafb0bfba"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">QPointF QCPGraph::upperFillBasePoint </td>
<td>(</td>
<td class="paramtype">double </td>
<td class="paramname"><em>upperKey</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>called by <a class="el" href="classQCPGraph.html#a5fa7884620d7c54b81dfbd255d97b636">addFillBasePoints</a> to conveniently assign the point which closes the fill polygon on the upper side of the zero-value-line parallel to the key axis. The logarithmic axis scale case is a bit special, since the zero-value-line in pixel coordinates is in positive or negative infinity. So this case is handled separately by just closing the fill polygon on the axis which lies in the direction towards the zero value.</p>
<p><em>upperKey</em> will be the the key (in pixels) of the returned point. Depending on whether the key axis is horizontal or vertical, <em>upperKey</em> will end up as the x or y value of the returned point, respectively.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPGraph.html#a41f982e8ceaefe6a53eb7432f26d64b6">lowerFillBasePoint</a>, <a class="el" href="classQCPGraph.html#a5fa7884620d7c54b81dfbd255d97b636">addFillBasePoints</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a0374b7268e35cab9802a6be2b5d726d7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">const QPolygonF QCPGraph::getChannelFillPolygon </td>
<td>(</td>
<td class="paramtype">const QVector< QPointF > * </td>
<td class="paramname"><em>lineData</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Generates the polygon needed for drawing channel fills between this graph (data passed via <em>lineData</em>) and the graph specified by mChannelFillGraph (data generated by calling its <a class="el" href="classQCPGraph.html#a466c661e015188971c862031af946693">getPlotData</a> function). May return an empty polygon if the key ranges have no overlap or fill target graph and this graph don't have same orientation (i.e. both key axes horizontal or both key axes vertical). For increased performance (due to implicit sharing), keep the returned QPolygonF const. </p>
</div>
</div>
<a class="anchor" id="a6f4e9461d5925be9228fc4760249a04f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int QCPGraph::findIndexBelowX </td>
<td>(</td>
<td class="paramtype">const QVector< QPointF > * </td>
<td class="paramname"><em>data</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double </td>
<td class="paramname"><em>x</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Finds the highest index of <em>data</em>, whose points x value is just below <em>x</em>. Assumes x values in <em>data</em> points are ordered ascending, as is the case when plotting with horizontal key axis.</p>
<p>Used to calculate the channel fill polygon, see <a class="el" href="classQCPGraph.html#a0374b7268e35cab9802a6be2b5d726d7">getChannelFillPolygon</a>. </p>
</div>
</div>
<a class="anchor" id="abab2a75b5e63630432bdd1f3b57f07fa"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int QCPGraph::findIndexAboveX </td>
<td>(</td>
<td class="paramtype">const QVector< QPointF > * </td>
<td class="paramname"><em>data</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double </td>
<td class="paramname"><em>x</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Finds the smallest index of <em>data</em>, whose points x value is just above <em>x</em>. Assumes x values in <em>data</em> points are ordered ascending, as is the case when plotting with horizontal key axis.</p>
<p>Used to calculate the channel fill polygon, see <a class="el" href="classQCPGraph.html#a0374b7268e35cab9802a6be2b5d726d7">getChannelFillPolygon</a>. </p>
</div>
</div>
<a class="anchor" id="a6c4d556de3d1e02f548401001f72c6ff"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int QCPGraph::findIndexBelowY </td>
<td>(</td>
<td class="paramtype">const QVector< QPointF > * </td>
<td class="paramname"><em>data</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double </td>
<td class="paramname"><em>y</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Finds the highest index of <em>data</em>, whose points y value is just below <em>y</em>. Assumes y values in <em>data</em> points are ordered descending, as is the case when plotting with vertical key axis (since keys are ordered ascending).</p>
<p>Used to calculate the channel fill polygon, see <a class="el" href="classQCPGraph.html#a0374b7268e35cab9802a6be2b5d726d7">getChannelFillPolygon</a>. </p>
</div>
</div>
<a class="anchor" id="adf50243f1df203883a2187089734bfcb"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int QCPGraph::findIndexAboveY </td>
<td>(</td>
<td class="paramtype">const QVector< QPointF > * </td>
<td class="paramname"><em>data</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double </td>
<td class="paramname"><em>y</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Finds the smallest index of <em>data</em>, whose points y value is just above <em>y</em>. Assumes y values in <em>data</em> points are ordered descending, as is the case when plotting with vertical key axis.</p>
<p>Used to calculate the channel fill polygon, see <a class="el" href="classQCPGraph.html#a0374b7268e35cab9802a6be2b5d726d7">getChannelFillPolygon</a>. </p>
</div>
</div>
<a class="anchor" id="af93762a12a481a7edb4b3dd9e330dff1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">double QCPGraph::pointDistance </td>
<td>(</td>
<td class="paramtype">const QPointF & </td>
<td class="paramname"><em>pixelPoint</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Calculates the (minimum) distance (in pixels) the graph's representation has from the given <em>pixelPoint</em> in pixels. This is used to determine whether the graph was clicked or not, e.g. in <a class="el" href="classQCPGraph.html#abc9ff375aabcf2d21cca33d6baf85772">selectTest</a>.</p>
<p>If either the graph has no data or if the line style is <a class="el" href="classQCPGraph.html#ad60175cd9b5cac937c5ee685c32c0859aea9591b933733cc7b20786b71e60fa04">lsNone</a> and the scatter style's shape is <a class="el" href="classQCPScatterStyle.html#adb31525af6b680e6f1b7472e43859349abd144c291ca274f77053ec68cab6c022">QCPScatterStyle::ssNone</a> (i.e. there is no visual representation of the graph), returns -1.0. </p>
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>src/plottables/<a class="el" href="plottable-graph_8h.html">plottable-graph.h</a></li>
<li>src/plottables/plottable-graph.cpp</li>
</ul>
</div><!-- contents -->
</body>
</html>
|