classQCPAxis.html 196 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  5. <meta name="author" content="Emanuel Eichhammer" />
  6. <meta name="copyright" content="(C) 2013-2015 Emanuel Eichhammer" />
  7. <title>QCPAxis Class Reference</title>
  8. <link href="qt.css" rel="stylesheet" type="text/css"/>
  9. </head>
  10. <body>
  11. <div id="top">
  12. <a class="headerLink" href="index.html">Main Page</a> &middot;
  13. <a class="headerLink" href="classoverview.html">Class Overview</a> &middot;
  14. <a class="headerLink" href="hierarchy.html">Hierarchy</a> &middot;
  15. <a class="headerLink" href="annotated.html">All Classes</a> &middot;
  16. <a class="headerLink" href="pages.html">Special Pages</a>
  17. <!-- Generated by Doxygen 1.8.6 -->
  18. </div><!-- top -->
  19. <div class="header">
  20. <div class="summary">
  21. <a href="#pub-types">Public Types</a> &#124;
  22. <a href="#pub-methods">Public Functions</a> &#124;
  23. <a href="#signals">Signals</a> &#124;
  24. <a href="#pub-static-methods">Static Public Functions</a> &#124;
  25. <a href="#pro-methods">Protected Functions</a> </div>
  26. <div class="headertitle">
  27. <div class="title">QCPAxis Class Reference</div> </div>
  28. </div><!--header-->
  29. <div class="contents">
  30. <p>Manages a single axis inside 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>.
  31. <a href="classQCPAxis.html#details">More...</a></p>
  32. <div class="dynheader">
  33. Inheritance diagram for QCPAxis:</div>
  34. <div class="dyncontent">
  35. <div class="center"><img src="classQCPAxis__inherit__graph.png" border="0" usemap="#QCPAxis_inherit__map" alt="Inheritance graph"/></div>
  36. <map name="QCPAxis_inherit__map" id="QCPAxis_inherit__map">
  37. <area shape="rect" id="node2" href="classQCPLayerable.html" title="Base class for all drawable objects. " alt="" coords="5,5,107,29"/></map>
  38. </div>
  39. <table class="memberdecls">
  40. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
  41. Public Types</h2></td></tr>
  42. <tr class="memitem:ae2bcc1728b382f10f064612b368bc18a"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#ae2bcc1728b382f10f064612b368bc18a">AxisType</a> </td></tr>
  43. <tr class="separator:ae2bcc1728b382f10f064612b368bc18a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  44. <tr class="memitem:a4a7da0166f755f5abac23b765d184cad"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#a4a7da0166f755f5abac23b765d184cad">LabelType</a> </td></tr>
  45. <tr class="separator:a4a7da0166f755f5abac23b765d184cad"><td class="memSeparator" colspan="2">&#160;</td></tr>
  46. <tr class="memitem:a24b13374b9b8f75f47eed2ea78c37db9"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#a24b13374b9b8f75f47eed2ea78c37db9">LabelSide</a> </td></tr>
  47. <tr class="separator:a24b13374b9b8f75f47eed2ea78c37db9"><td class="memSeparator" colspan="2">&#160;</td></tr>
  48. <tr class="memitem:a36d8e8658dbaa179bf2aeb973db2d6f0"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#a36d8e8658dbaa179bf2aeb973db2d6f0">ScaleType</a> </td></tr>
  49. <tr class="separator:a36d8e8658dbaa179bf2aeb973db2d6f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
  50. <tr class="memitem:abee4c7a54c468b1385dfce2c898b115f"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#abee4c7a54c468b1385dfce2c898b115f">SelectablePart</a> </td></tr>
  51. <tr class="separator:abee4c7a54c468b1385dfce2c898b115f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  52. </table><table class="memberdecls">
  53. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
  54. Public Functions</h2></td></tr>
  55. <tr class="memitem:ac62c042968bae0e6d474fcfc57c9b71f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#ac62c042968bae0e6d474fcfc57c9b71f">QCPAxis</a> (<a class="el" href="classQCPAxisRect.html">QCPAxisRect</a> *parent, <a class="el" href="classQCPAxis.html#ae2bcc1728b382f10f064612b368bc18a">AxisType</a> type)</td></tr>
  56. <tr class="separator:ac62c042968bae0e6d474fcfc57c9b71f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  57. <tr class="memitem:a593c37bf6aa4990326dc09e24f45db7f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a593c37bf6aa4990326dc09e24f45db7f"></a>
  58. <a class="el" href="classQCPAxis.html#ae2bcc1728b382f10f064612b368bc18a">AxisType</a>&#160;</td><td class="memItemRight" valign="bottom"><b>axisType</b> () const </td></tr>
  59. <tr class="separator:a593c37bf6aa4990326dc09e24f45db7f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  60. <tr class="memitem:aada3102af43b029e3879bcbf2bddfabb"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aada3102af43b029e3879bcbf2bddfabb"></a>
  61. <a class="el" href="classQCPAxisRect.html">QCPAxisRect</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>axisRect</b> () const </td></tr>
  62. <tr class="separator:aada3102af43b029e3879bcbf2bddfabb"><td class="memSeparator" colspan="2">&#160;</td></tr>
  63. <tr class="memitem:a8563e13407bc0616da7f7c84e02de170"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8563e13407bc0616da7f7c84e02de170"></a>
  64. <a class="el" href="classQCPAxis.html#a36d8e8658dbaa179bf2aeb973db2d6f0">ScaleType</a>&#160;</td><td class="memItemRight" valign="bottom"><b>scaleType</b> () const </td></tr>
  65. <tr class="separator:a8563e13407bc0616da7f7c84e02de170"><td class="memSeparator" colspan="2">&#160;</td></tr>
  66. <tr class="memitem:ac937d2a602f865aff2ab6c1e288739f6"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac937d2a602f865aff2ab6c1e288739f6"></a>
  67. double&#160;</td><td class="memItemRight" valign="bottom"><b>scaleLogBase</b> () const </td></tr>
  68. <tr class="separator:ac937d2a602f865aff2ab6c1e288739f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
  69. <tr class="memitem:ab1ea79a4f5ea4cf42620f8f51c477ac4"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab1ea79a4f5ea4cf42620f8f51c477ac4"></a>
  70. const <a class="el" href="classQCPRange.html">QCPRange</a>&#160;</td><td class="memItemRight" valign="bottom"><b>range</b> () const </td></tr>
  71. <tr class="separator:ab1ea79a4f5ea4cf42620f8f51c477ac4"><td class="memSeparator" colspan="2">&#160;</td></tr>
  72. <tr class="memitem:ade26dc7994ccd8a11f64fd83377ee021"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ade26dc7994ccd8a11f64fd83377ee021"></a>
  73. bool&#160;</td><td class="memItemRight" valign="bottom"><b>rangeReversed</b> () const </td></tr>
  74. <tr class="separator:ade26dc7994ccd8a11f64fd83377ee021"><td class="memSeparator" colspan="2">&#160;</td></tr>
  75. <tr class="memitem:afc7f20e30dc2865ff6c39f3281f330c2"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afc7f20e30dc2865ff6c39f3281f330c2"></a>
  76. bool&#160;</td><td class="memItemRight" valign="bottom"><b>autoTicks</b> () const </td></tr>
  77. <tr class="separator:afc7f20e30dc2865ff6c39f3281f330c2"><td class="memSeparator" colspan="2">&#160;</td></tr>
  78. <tr class="memitem:ac87454a1342f5d2939ab59e68b4d515b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac87454a1342f5d2939ab59e68b4d515b"></a>
  79. int&#160;</td><td class="memItemRight" valign="bottom"><b>autoTickCount</b> () const </td></tr>
  80. <tr class="separator:ac87454a1342f5d2939ab59e68b4d515b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  81. <tr class="memitem:a7169da316ac25dec1606784152fbf2c1"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7169da316ac25dec1606784152fbf2c1"></a>
  82. bool&#160;</td><td class="memItemRight" valign="bottom"><b>autoTickLabels</b> () const </td></tr>
  83. <tr class="separator:a7169da316ac25dec1606784152fbf2c1"><td class="memSeparator" colspan="2">&#160;</td></tr>
  84. <tr class="memitem:ae762920261b0c24beb56b893e5a2471d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae762920261b0c24beb56b893e5a2471d"></a>
  85. bool&#160;</td><td class="memItemRight" valign="bottom"><b>autoTickStep</b> () const </td></tr>
  86. <tr class="separator:ae762920261b0c24beb56b893e5a2471d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  87. <tr class="memitem:ab9a950e16f373fe5c4b79078bb97c171"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab9a950e16f373fe5c4b79078bb97c171"></a>
  88. bool&#160;</td><td class="memItemRight" valign="bottom"><b>autoSubTicks</b> () const </td></tr>
  89. <tr class="separator:ab9a950e16f373fe5c4b79078bb97c171"><td class="memSeparator" colspan="2">&#160;</td></tr>
  90. <tr class="memitem:a61c504ec7c5bed9a63edf45345995d10"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a61c504ec7c5bed9a63edf45345995d10"></a>
  91. bool&#160;</td><td class="memItemRight" valign="bottom"><b>ticks</b> () const </td></tr>
  92. <tr class="separator:a61c504ec7c5bed9a63edf45345995d10"><td class="memSeparator" colspan="2">&#160;</td></tr>
  93. <tr class="memitem:a9a78fcccd98a73d37b3d991df7b6ef1d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9a78fcccd98a73d37b3d991df7b6ef1d"></a>
  94. bool&#160;</td><td class="memItemRight" valign="bottom"><b>tickLabels</b> () const </td></tr>
  95. <tr class="separator:a9a78fcccd98a73d37b3d991df7b6ef1d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  96. <tr class="memitem:af7bc2fac3f95949ecd0204d20dc1463b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af7bc2fac3f95949ecd0204d20dc1463b"></a>
  97. int&#160;</td><td class="memItemRight" valign="bottom"><b>tickLabelPadding</b> () const </td></tr>
  98. <tr class="separator:af7bc2fac3f95949ecd0204d20dc1463b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  99. <tr class="memitem:a8a6f58a1ce12cfc4fadd379167668e8d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8a6f58a1ce12cfc4fadd379167668e8d"></a>
  100. <a class="el" href="classQCPAxis.html#a4a7da0166f755f5abac23b765d184cad">LabelType</a>&#160;</td><td class="memItemRight" valign="bottom"><b>tickLabelType</b> () const </td></tr>
  101. <tr class="separator:a8a6f58a1ce12cfc4fadd379167668e8d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  102. <tr class="memitem:af6d7ad17f3398b114a413f7a3dc5ef9d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af6d7ad17f3398b114a413f7a3dc5ef9d"></a>
  103. QFont&#160;</td><td class="memItemRight" valign="bottom"><b>tickLabelFont</b> () const </td></tr>
  104. <tr class="separator:af6d7ad17f3398b114a413f7a3dc5ef9d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  105. <tr class="memitem:ac86d0636aa55ddd94df171f609897a32"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac86d0636aa55ddd94df171f609897a32"></a>
  106. QColor&#160;</td><td class="memItemRight" valign="bottom"><b>tickLabelColor</b> () const </td></tr>
  107. <tr class="separator:ac86d0636aa55ddd94df171f609897a32"><td class="memSeparator" colspan="2">&#160;</td></tr>
  108. <tr class="memitem:ab9199d72b8c4c06cc6c9b928c30d00d2"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab9199d72b8c4c06cc6c9b928c30d00d2"></a>
  109. double&#160;</td><td class="memItemRight" valign="bottom"><b>tickLabelRotation</b> () const </td></tr>
  110. <tr class="separator:ab9199d72b8c4c06cc6c9b928c30d00d2"><td class="memSeparator" colspan="2">&#160;</td></tr>
  111. <tr class="memitem:a0a33835705406506b02a445b1ba32357"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0a33835705406506b02a445b1ba32357"></a>
  112. <a class="el" href="classQCPAxis.html#a24b13374b9b8f75f47eed2ea78c37db9">LabelSide</a>&#160;</td><td class="memItemRight" valign="bottom"><b>tickLabelSide</b> () const </td></tr>
  113. <tr class="separator:a0a33835705406506b02a445b1ba32357"><td class="memSeparator" colspan="2">&#160;</td></tr>
  114. <tr class="memitem:a132b54ae184a12ed24c9af24f53dc70b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a132b54ae184a12ed24c9af24f53dc70b"></a>
  115. QString&#160;</td><td class="memItemRight" valign="bottom"><b>dateTimeFormat</b> () const </td></tr>
  116. <tr class="separator:a132b54ae184a12ed24c9af24f53dc70b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  117. <tr class="memitem:afdd04c56ed29a9d948f840fc76f0d383"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afdd04c56ed29a9d948f840fc76f0d383"></a>
  118. Qt::TimeSpec&#160;</td><td class="memItemRight" valign="bottom"><b>dateTimeSpec</b> () const </td></tr>
  119. <tr class="separator:afdd04c56ed29a9d948f840fc76f0d383"><td class="memSeparator" colspan="2">&#160;</td></tr>
  120. <tr class="memitem:ae6729b40845b29ffa5a440aa53cec215"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae6729b40845b29ffa5a440aa53cec215"></a>
  121. QString&#160;</td><td class="memItemRight" valign="bottom"><b>numberFormat</b> () const </td></tr>
  122. <tr class="separator:ae6729b40845b29ffa5a440aa53cec215"><td class="memSeparator" colspan="2">&#160;</td></tr>
  123. <tr class="memitem:a91cb2825060ac79a889296377fe0c7c1"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a91cb2825060ac79a889296377fe0c7c1"></a>
  124. int&#160;</td><td class="memItemRight" valign="bottom"><b>numberPrecision</b> () const </td></tr>
  125. <tr class="separator:a91cb2825060ac79a889296377fe0c7c1"><td class="memSeparator" colspan="2">&#160;</td></tr>
  126. <tr class="memitem:a0e6120d24266544441ab691f316a1b03"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0e6120d24266544441ab691f316a1b03"></a>
  127. double&#160;</td><td class="memItemRight" valign="bottom"><b>tickStep</b> () const </td></tr>
  128. <tr class="separator:a0e6120d24266544441ab691f316a1b03"><td class="memSeparator" colspan="2">&#160;</td></tr>
  129. <tr class="memitem:a5b00b14f480f926df976cc6c52309e78"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5b00b14f480f926df976cc6c52309e78"></a>
  130. QVector&lt; double &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>tickVector</b> () const </td></tr>
  131. <tr class="separator:a5b00b14f480f926df976cc6c52309e78"><td class="memSeparator" colspan="2">&#160;</td></tr>
  132. <tr class="memitem:a64e6fa81f943ad33dcaf3fa606687b93"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a64e6fa81f943ad33dcaf3fa606687b93"></a>
  133. QVector&lt; QString &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>tickVectorLabels</b> () const </td></tr>
  134. <tr class="separator:a64e6fa81f943ad33dcaf3fa606687b93"><td class="memSeparator" colspan="2">&#160;</td></tr>
  135. <tr class="memitem:a59265d65c5034695ac2578bccbbb0f4a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a59265d65c5034695ac2578bccbbb0f4a"></a>
  136. int&#160;</td><td class="memItemRight" valign="bottom"><b>tickLengthIn</b> () const </td></tr>
  137. <tr class="separator:a59265d65c5034695ac2578bccbbb0f4a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  138. <tr class="memitem:ae1b3d7473f50ba8544b2027c1cdc80f2"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae1b3d7473f50ba8544b2027c1cdc80f2"></a>
  139. int&#160;</td><td class="memItemRight" valign="bottom"><b>tickLengthOut</b> () const </td></tr>
  140. <tr class="separator:ae1b3d7473f50ba8544b2027c1cdc80f2"><td class="memSeparator" colspan="2">&#160;</td></tr>
  141. <tr class="memitem:a290b4c1375476826daa10e914cb71dab"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a290b4c1375476826daa10e914cb71dab"></a>
  142. int&#160;</td><td class="memItemRight" valign="bottom"><b>subTickCount</b> () const </td></tr>
  143. <tr class="separator:a290b4c1375476826daa10e914cb71dab"><td class="memSeparator" colspan="2">&#160;</td></tr>
  144. <tr class="memitem:a052e6ab2ada7e87fa5e5831dcbd4a517"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a052e6ab2ada7e87fa5e5831dcbd4a517"></a>
  145. int&#160;</td><td class="memItemRight" valign="bottom"><b>subTickLengthIn</b> () const </td></tr>
  146. <tr class="separator:a052e6ab2ada7e87fa5e5831dcbd4a517"><td class="memSeparator" colspan="2">&#160;</td></tr>
  147. <tr class="memitem:a091fdf8d1b3f9660e38b854578efb9bc"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a091fdf8d1b3f9660e38b854578efb9bc"></a>
  148. int&#160;</td><td class="memItemRight" valign="bottom"><b>subTickLengthOut</b> () const </td></tr>
  149. <tr class="separator:a091fdf8d1b3f9660e38b854578efb9bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
  150. <tr class="memitem:a4f6a7cd46fb104b1dad93e29cc78fe74"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4f6a7cd46fb104b1dad93e29cc78fe74"></a>
  151. QPen&#160;</td><td class="memItemRight" valign="bottom"><b>basePen</b> () const </td></tr>
  152. <tr class="separator:a4f6a7cd46fb104b1dad93e29cc78fe74"><td class="memSeparator" colspan="2">&#160;</td></tr>
  153. <tr class="memitem:a5eb206da4265c6c083db71d692da3bc4"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5eb206da4265c6c083db71d692da3bc4"></a>
  154. QPen&#160;</td><td class="memItemRight" valign="bottom"><b>tickPen</b> () const </td></tr>
  155. <tr class="separator:a5eb206da4265c6c083db71d692da3bc4"><td class="memSeparator" colspan="2">&#160;</td></tr>
  156. <tr class="memitem:a2e8bce6dd03e393dbdf6bb427461a726"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2e8bce6dd03e393dbdf6bb427461a726"></a>
  157. QPen&#160;</td><td class="memItemRight" valign="bottom"><b>subTickPen</b> () const </td></tr>
  158. <tr class="separator:a2e8bce6dd03e393dbdf6bb427461a726"><td class="memSeparator" colspan="2">&#160;</td></tr>
  159. <tr class="memitem:ae8029ae0b32e9d4d73dddcdd0a08c838"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae8029ae0b32e9d4d73dddcdd0a08c838"></a>
  160. QFont&#160;</td><td class="memItemRight" valign="bottom"><b>labelFont</b> () const </td></tr>
  161. <tr class="separator:ae8029ae0b32e9d4d73dddcdd0a08c838"><td class="memSeparator" colspan="2">&#160;</td></tr>
  162. <tr class="memitem:a7854c2875e3b8d86b210d108bd87aeb9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7854c2875e3b8d86b210d108bd87aeb9"></a>
  163. QColor&#160;</td><td class="memItemRight" valign="bottom"><b>labelColor</b> () const </td></tr>
  164. <tr class="separator:a7854c2875e3b8d86b210d108bd87aeb9"><td class="memSeparator" colspan="2">&#160;</td></tr>
  165. <tr class="memitem:ab3486dca5a6e9e3ca0e32678272ba549"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab3486dca5a6e9e3ca0e32678272ba549"></a>
  166. QString&#160;</td><td class="memItemRight" valign="bottom"><b>label</b> () const </td></tr>
  167. <tr class="separator:ab3486dca5a6e9e3ca0e32678272ba549"><td class="memSeparator" colspan="2">&#160;</td></tr>
  168. <tr class="memitem:a59c9a0e362dec811491fc9a0709d2afa"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a59c9a0e362dec811491fc9a0709d2afa"></a>
  169. int&#160;</td><td class="memItemRight" valign="bottom"><b>labelPadding</b> () const </td></tr>
  170. <tr class="separator:a59c9a0e362dec811491fc9a0709d2afa"><td class="memSeparator" colspan="2">&#160;</td></tr>
  171. <tr class="memitem:abb85015a9467ec176e70698307ec833a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abb85015a9467ec176e70698307ec833a"></a>
  172. int&#160;</td><td class="memItemRight" valign="bottom"><b>padding</b> () const </td></tr>
  173. <tr class="separator:abb85015a9467ec176e70698307ec833a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  174. <tr class="memitem:aebc032ac6eea164a02859c017f52d5e7"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aebc032ac6eea164a02859c017f52d5e7"></a>
  175. int&#160;</td><td class="memItemRight" valign="bottom"><b>offset</b> () const </td></tr>
  176. <tr class="separator:aebc032ac6eea164a02859c017f52d5e7"><td class="memSeparator" colspan="2">&#160;</td></tr>
  177. <tr class="memitem:a08323248a1cba4750ef07ceea159e0b3"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a08323248a1cba4750ef07ceea159e0b3"></a>
  178. SelectableParts&#160;</td><td class="memItemRight" valign="bottom"><b>selectedParts</b> () const </td></tr>
  179. <tr class="separator:a08323248a1cba4750ef07ceea159e0b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
  180. <tr class="memitem:ad2bff3d2ed3d35c10d44c0c02441bd2c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad2bff3d2ed3d35c10d44c0c02441bd2c"></a>
  181. SelectableParts&#160;</td><td class="memItemRight" valign="bottom"><b>selectableParts</b> () const </td></tr>
  182. <tr class="separator:ad2bff3d2ed3d35c10d44c0c02441bd2c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  183. <tr class="memitem:ae245bb3dcd0ec71eee38437de6e719f7"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae245bb3dcd0ec71eee38437de6e719f7"></a>
  184. QFont&#160;</td><td class="memItemRight" valign="bottom"><b>selectedTickLabelFont</b> () const </td></tr>
  185. <tr class="separator:ae245bb3dcd0ec71eee38437de6e719f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
  186. <tr class="memitem:a078bbc88b33595a5308350c2889c96d4"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a078bbc88b33595a5308350c2889c96d4"></a>
  187. QFont&#160;</td><td class="memItemRight" valign="bottom"><b>selectedLabelFont</b> () const </td></tr>
  188. <tr class="separator:a078bbc88b33595a5308350c2889c96d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
  189. <tr class="memitem:a5a3af4bd1a820bb7c6d4c85e1d8d452f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5a3af4bd1a820bb7c6d4c85e1d8d452f"></a>
  190. QColor&#160;</td><td class="memItemRight" valign="bottom"><b>selectedTickLabelColor</b> () const </td></tr>
  191. <tr class="separator:a5a3af4bd1a820bb7c6d4c85e1d8d452f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  192. <tr class="memitem:a8cf8de6ac7f1ca617e05412f669ed229"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8cf8de6ac7f1ca617e05412f669ed229"></a>
  193. QColor&#160;</td><td class="memItemRight" valign="bottom"><b>selectedLabelColor</b> () const </td></tr>
  194. <tr class="separator:a8cf8de6ac7f1ca617e05412f669ed229"><td class="memSeparator" colspan="2">&#160;</td></tr>
  195. <tr class="memitem:a5a3919ad7b60c2789b04c7e72387cfd6"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5a3919ad7b60c2789b04c7e72387cfd6"></a>
  196. QPen&#160;</td><td class="memItemRight" valign="bottom"><b>selectedBasePen</b> () const </td></tr>
  197. <tr class="separator:a5a3919ad7b60c2789b04c7e72387cfd6"><td class="memSeparator" colspan="2">&#160;</td></tr>
  198. <tr class="memitem:a9f86ef82e1d1a908ab4c68cfa5fe4175"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9f86ef82e1d1a908ab4c68cfa5fe4175"></a>
  199. QPen&#160;</td><td class="memItemRight" valign="bottom"><b>selectedTickPen</b> () const </td></tr>
  200. <tr class="separator:a9f86ef82e1d1a908ab4c68cfa5fe4175"><td class="memSeparator" colspan="2">&#160;</td></tr>
  201. <tr class="memitem:a1b264fdfef48c22aba36e76de7856784"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1b264fdfef48c22aba36e76de7856784"></a>
  202. QPen&#160;</td><td class="memItemRight" valign="bottom"><b>selectedSubTickPen</b> () const </td></tr>
  203. <tr class="separator:a1b264fdfef48c22aba36e76de7856784"><td class="memSeparator" colspan="2">&#160;</td></tr>
  204. <tr class="memitem:ac85aebbedf67d7bc9e1e5c182151536b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac85aebbedf67d7bc9e1e5c182151536b"></a>
  205. <a class="el" href="classQCPLineEnding.html">QCPLineEnding</a>&#160;</td><td class="memItemRight" valign="bottom"><b>lowerEnding</b> () const </td></tr>
  206. <tr class="separator:ac85aebbedf67d7bc9e1e5c182151536b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  207. <tr class="memitem:aad503ac95ee34e614ffee0bd66473e1a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aad503ac95ee34e614ffee0bd66473e1a"></a>
  208. <a class="el" href="classQCPLineEnding.html">QCPLineEnding</a>&#160;</td><td class="memItemRight" valign="bottom"><b>upperEnding</b> () const </td></tr>
  209. <tr class="separator:aad503ac95ee34e614ffee0bd66473e1a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  210. <tr class="memitem:ac4fb913cce3072b5e75a4635e0f6cd04"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classQCPGrid.html">QCPGrid</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#ac4fb913cce3072b5e75a4635e0f6cd04">grid</a> () const </td></tr>
  211. <tr class="separator:ac4fb913cce3072b5e75a4635e0f6cd04"><td class="memSeparator" colspan="2">&#160;</td></tr>
  212. <tr class="memitem:adef29cae617af4f519f6c40d1a866ca6"><td class="memItemLeft" align="right" valign="top">Q_SLOT void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#adef29cae617af4f519f6c40d1a866ca6">setScaleType</a> (<a class="el" href="classQCPAxis.html#a36d8e8658dbaa179bf2aeb973db2d6f0">QCPAxis::ScaleType</a> type)</td></tr>
  213. <tr class="separator:adef29cae617af4f519f6c40d1a866ca6"><td class="memSeparator" colspan="2">&#160;</td></tr>
  214. <tr class="memitem:a726186054be90487885a748aa1b42188"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#a726186054be90487885a748aa1b42188">setScaleLogBase</a> (double base)</td></tr>
  215. <tr class="separator:a726186054be90487885a748aa1b42188"><td class="memSeparator" colspan="2">&#160;</td></tr>
  216. <tr class="memitem:aebdfea5d44c3a0ad2b4700cd4d25b641"><td class="memItemLeft" align="right" valign="top">Q_SLOT void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#aebdfea5d44c3a0ad2b4700cd4d25b641">setRange</a> (const <a class="el" href="classQCPRange.html">QCPRange</a> &amp;range)</td></tr>
  217. <tr class="separator:aebdfea5d44c3a0ad2b4700cd4d25b641"><td class="memSeparator" colspan="2">&#160;</td></tr>
  218. <tr class="memitem:a57d6ee9e9009fe88cb19db476ec70bca"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#a57d6ee9e9009fe88cb19db476ec70bca">setRange</a> (double lower, double upper)</td></tr>
  219. <tr class="separator:a57d6ee9e9009fe88cb19db476ec70bca"><td class="memSeparator" colspan="2">&#160;</td></tr>
  220. <tr class="memitem:acf60e5b2d631fbc8c4548c3d579cb6d0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#acf60e5b2d631fbc8c4548c3d579cb6d0">setRange</a> (double position, double size, Qt::AlignmentFlag alignment)</td></tr>
  221. <tr class="separator:acf60e5b2d631fbc8c4548c3d579cb6d0"><td class="memSeparator" colspan="2">&#160;</td></tr>
  222. <tr class="memitem:afcf51227d337db28d1a9ce9a4d1bc91a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#afcf51227d337db28d1a9ce9a4d1bc91a">setRangeLower</a> (double lower)</td></tr>
  223. <tr class="separator:afcf51227d337db28d1a9ce9a4d1bc91a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  224. <tr class="memitem:acd3ca1247aa867b540cd5ec30ccd3bef"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#acd3ca1247aa867b540cd5ec30ccd3bef">setRangeUpper</a> (double upper)</td></tr>
  225. <tr class="separator:acd3ca1247aa867b540cd5ec30ccd3bef"><td class="memSeparator" colspan="2">&#160;</td></tr>
  226. <tr class="memitem:a2172fdb196b1a0dc3f40992fcad8e9e1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#a2172fdb196b1a0dc3f40992fcad8e9e1">setRangeReversed</a> (bool reversed)</td></tr>
  227. <tr class="separator:a2172fdb196b1a0dc3f40992fcad8e9e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
  228. <tr class="memitem:ae867c23d3a6a7bd4d09cc66c5d018f63"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#ae867c23d3a6a7bd4d09cc66c5d018f63">setAutoTicks</a> (bool on)</td></tr>
  229. <tr class="separator:ae867c23d3a6a7bd4d09cc66c5d018f63"><td class="memSeparator" colspan="2">&#160;</td></tr>
  230. <tr class="memitem:a7c7111cbeac9ec5fcb40f93a1ef51a0b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#a7c7111cbeac9ec5fcb40f93a1ef51a0b">setAutoTickCount</a> (int approximateCount)</td></tr>
  231. <tr class="separator:a7c7111cbeac9ec5fcb40f93a1ef51a0b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  232. <tr class="memitem:aaa47e3a6bac0c20d4beb9028f01bc1a1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#aaa47e3a6bac0c20d4beb9028f01bc1a1">setAutoTickLabels</a> (bool on)</td></tr>
  233. <tr class="separator:aaa47e3a6bac0c20d4beb9028f01bc1a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
  234. <tr class="memitem:a99fe77b034e06f5b723995beab96e741"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#a99fe77b034e06f5b723995beab96e741">setAutoTickStep</a> (bool on)</td></tr>
  235. <tr class="separator:a99fe77b034e06f5b723995beab96e741"><td class="memSeparator" colspan="2">&#160;</td></tr>
  236. <tr class="memitem:adcbdec7a60054b88571e89599f4a45bf"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#adcbdec7a60054b88571e89599f4a45bf">setAutoSubTicks</a> (bool on)</td></tr>
  237. <tr class="separator:adcbdec7a60054b88571e89599f4a45bf"><td class="memSeparator" colspan="2">&#160;</td></tr>
  238. <tr class="memitem:ac891409315bc379e3b1abdb162c1a011"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#ac891409315bc379e3b1abdb162c1a011">setTicks</a> (bool show)</td></tr>
  239. <tr class="separator:ac891409315bc379e3b1abdb162c1a011"><td class="memSeparator" colspan="2">&#160;</td></tr>
  240. <tr class="memitem:a04ba16e1f6f78d70f938519576ed32c8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#a04ba16e1f6f78d70f938519576ed32c8">setTickLabels</a> (bool show)</td></tr>
  241. <tr class="separator:a04ba16e1f6f78d70f938519576ed32c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
  242. <tr class="memitem:af302c479af9dbc2e9f0e44e07c0012ee"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#af302c479af9dbc2e9f0e44e07c0012ee">setTickLabelPadding</a> (int padding)</td></tr>
  243. <tr class="separator:af302c479af9dbc2e9f0e44e07c0012ee"><td class="memSeparator" colspan="2">&#160;</td></tr>
  244. <tr class="memitem:a54f24f5ce8feea25209388a863d7e448"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#a54f24f5ce8feea25209388a863d7e448">setTickLabelType</a> (<a class="el" href="classQCPAxis.html#a4a7da0166f755f5abac23b765d184cad">LabelType</a> type)</td></tr>
  245. <tr class="separator:a54f24f5ce8feea25209388a863d7e448"><td class="memSeparator" colspan="2">&#160;</td></tr>
  246. <tr class="memitem:a2b8690c4e8dbc39d9185d2b398ce7a6c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#a2b8690c4e8dbc39d9185d2b398ce7a6c">setTickLabelFont</a> (const QFont &amp;font)</td></tr>
  247. <tr class="separator:a2b8690c4e8dbc39d9185d2b398ce7a6c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  248. <tr class="memitem:a395e445c3fe496b935bee7b911ecfd1c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#a395e445c3fe496b935bee7b911ecfd1c">setTickLabelColor</a> (const QColor &amp;color)</td></tr>
  249. <tr class="separator:a395e445c3fe496b935bee7b911ecfd1c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  250. <tr class="memitem:a1bddd4413df8a576b7ad4b067fb33375"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#a1bddd4413df8a576b7ad4b067fb33375">setTickLabelRotation</a> (double degrees)</td></tr>
  251. <tr class="separator:a1bddd4413df8a576b7ad4b067fb33375"><td class="memSeparator" colspan="2">&#160;</td></tr>
  252. <tr class="memitem:a13ec644fc6e22715744c92c6dfa4f0fa"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#a13ec644fc6e22715744c92c6dfa4f0fa">setTickLabelSide</a> (<a class="el" href="classQCPAxis.html#a24b13374b9b8f75f47eed2ea78c37db9">LabelSide</a> side)</td></tr>
  253. <tr class="separator:a13ec644fc6e22715744c92c6dfa4f0fa"><td class="memSeparator" colspan="2">&#160;</td></tr>
  254. <tr class="memitem:a2ee0191daa03524a682113e63e05f7a7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#a2ee0191daa03524a682113e63e05f7a7">setDateTimeFormat</a> (const QString &amp;format)</td></tr>
  255. <tr class="separator:a2ee0191daa03524a682113e63e05f7a7"><td class="memSeparator" colspan="2">&#160;</td></tr>
  256. <tr class="memitem:a262e06731debed7eee11fa6a81d67eaf"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#a262e06731debed7eee11fa6a81d67eaf">setDateTimeSpec</a> (const Qt::TimeSpec &amp;timeSpec)</td></tr>
  257. <tr class="separator:a262e06731debed7eee11fa6a81d67eaf"><td class="memSeparator" colspan="2">&#160;</td></tr>
  258. <tr class="memitem:ae585a54dc2aac662e90a2ca82f002590"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#ae585a54dc2aac662e90a2ca82f002590">setNumberFormat</a> (const QString &amp;formatCode)</td></tr>
  259. <tr class="separator:ae585a54dc2aac662e90a2ca82f002590"><td class="memSeparator" colspan="2">&#160;</td></tr>
  260. <tr class="memitem:a21dc8023ad7500382ad9574b48137e63"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#a21dc8023ad7500382ad9574b48137e63">setNumberPrecision</a> (int precision)</td></tr>
  261. <tr class="separator:a21dc8023ad7500382ad9574b48137e63"><td class="memSeparator" colspan="2">&#160;</td></tr>
  262. <tr class="memitem:af727db0acc6492c4c774c0700e738205"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#af727db0acc6492c4c774c0700e738205">setTickStep</a> (double step)</td></tr>
  263. <tr class="separator:af727db0acc6492c4c774c0700e738205"><td class="memSeparator" colspan="2">&#160;</td></tr>
  264. <tr class="memitem:a871db94c5d796c80fcbe1a9d4506e27e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#a871db94c5d796c80fcbe1a9d4506e27e">setTickVector</a> (const QVector&lt; double &gt; &amp;vec)</td></tr>
  265. <tr class="separator:a871db94c5d796c80fcbe1a9d4506e27e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  266. <tr class="memitem:a921d3ba3853ca3bd2cce3459f7a243ed"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#a921d3ba3853ca3bd2cce3459f7a243ed">setTickVectorLabels</a> (const QVector&lt; QString &gt; &amp;vec)</td></tr>
  267. <tr class="separator:a921d3ba3853ca3bd2cce3459f7a243ed"><td class="memSeparator" colspan="2">&#160;</td></tr>
  268. <tr class="memitem:a62ec40bebe3540e9c1479a8fd2be3b0d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#a62ec40bebe3540e9c1479a8fd2be3b0d">setTickLength</a> (int inside, int outside=0)</td></tr>
  269. <tr class="separator:a62ec40bebe3540e9c1479a8fd2be3b0d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  270. <tr class="memitem:afae1a37a99611366275a51204d991739"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#afae1a37a99611366275a51204d991739">setTickLengthIn</a> (int inside)</td></tr>
  271. <tr class="separator:afae1a37a99611366275a51204d991739"><td class="memSeparator" colspan="2">&#160;</td></tr>
  272. <tr class="memitem:a3b8a0debd1ffedd2c22d0592dfbb4e62"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#a3b8a0debd1ffedd2c22d0592dfbb4e62">setTickLengthOut</a> (int outside)</td></tr>
  273. <tr class="separator:a3b8a0debd1ffedd2c22d0592dfbb4e62"><td class="memSeparator" colspan="2">&#160;</td></tr>
  274. <tr class="memitem:a4b1554ead9d7f9799650d51383e326dd"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#a4b1554ead9d7f9799650d51383e326dd">setSubTickCount</a> (int count)</td></tr>
  275. <tr class="separator:a4b1554ead9d7f9799650d51383e326dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
  276. <tr class="memitem:ab702d6fd42fc620607435339a1c2a2e1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#ab702d6fd42fc620607435339a1c2a2e1">setSubTickLength</a> (int inside, int outside=0)</td></tr>
  277. <tr class="separator:ab702d6fd42fc620607435339a1c2a2e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
  278. <tr class="memitem:ac46fa2a993a9f5789540977610acf1de"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#ac46fa2a993a9f5789540977610acf1de">setSubTickLengthIn</a> (int inside)</td></tr>
  279. <tr class="separator:ac46fa2a993a9f5789540977610acf1de"><td class="memSeparator" colspan="2">&#160;</td></tr>
  280. <tr class="memitem:a4c6dfc3963492ed72a77724012df5f23"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#a4c6dfc3963492ed72a77724012df5f23">setSubTickLengthOut</a> (int outside)</td></tr>
  281. <tr class="separator:a4c6dfc3963492ed72a77724012df5f23"><td class="memSeparator" colspan="2">&#160;</td></tr>
  282. <tr class="memitem:a778d45fb71b3c7ab3bb7079e18b058e4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#a778d45fb71b3c7ab3bb7079e18b058e4">setBasePen</a> (const QPen &amp;pen)</td></tr>
  283. <tr class="separator:a778d45fb71b3c7ab3bb7079e18b058e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
  284. <tr class="memitem:ad80923bcc1c5da4c4db602c5325e797e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#ad80923bcc1c5da4c4db602c5325e797e">setTickPen</a> (const QPen &amp;pen)</td></tr>
  285. <tr class="separator:ad80923bcc1c5da4c4db602c5325e797e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  286. <tr class="memitem:aede4028ae7516bd51a60618a8233f9cf"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#aede4028ae7516bd51a60618a8233f9cf">setSubTickPen</a> (const QPen &amp;pen)</td></tr>
  287. <tr class="separator:aede4028ae7516bd51a60618a8233f9cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
  288. <tr class="memitem:a71ac1a47f7547e490a8c4311d1433cf3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#a71ac1a47f7547e490a8c4311d1433cf3">setLabelFont</a> (const QFont &amp;font)</td></tr>
  289. <tr class="separator:a71ac1a47f7547e490a8c4311d1433cf3"><td class="memSeparator" colspan="2">&#160;</td></tr>
  290. <tr class="memitem:a6c906fe56d75f0122335b9f79b999608"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#a6c906fe56d75f0122335b9f79b999608">setLabelColor</a> (const QColor &amp;color)</td></tr>
  291. <tr class="separator:a6c906fe56d75f0122335b9f79b999608"><td class="memSeparator" colspan="2">&#160;</td></tr>
  292. <tr class="memitem:a33bcc382c111c9f31bb0687352a2dea4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#a33bcc382c111c9f31bb0687352a2dea4">setLabel</a> (const QString &amp;str)</td></tr>
  293. <tr class="separator:a33bcc382c111c9f31bb0687352a2dea4"><td class="memSeparator" colspan="2">&#160;</td></tr>
  294. <tr class="memitem:a4391192a766e5d20cfe5cbc17607a7a2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#a4391192a766e5d20cfe5cbc17607a7a2">setLabelPadding</a> (int padding)</td></tr>
  295. <tr class="separator:a4391192a766e5d20cfe5cbc17607a7a2"><td class="memSeparator" colspan="2">&#160;</td></tr>
  296. <tr class="memitem:a5691441cb3de9e9844855d339c0db279"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#a5691441cb3de9e9844855d339c0db279">setPadding</a> (int padding)</td></tr>
  297. <tr class="separator:a5691441cb3de9e9844855d339c0db279"><td class="memSeparator" colspan="2">&#160;</td></tr>
  298. <tr class="memitem:a04a652603cbe50eba9969ee6d68873c3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#a04a652603cbe50eba9969ee6d68873c3">setOffset</a> (int offset)</td></tr>
  299. <tr class="separator:a04a652603cbe50eba9969ee6d68873c3"><td class="memSeparator" colspan="2">&#160;</td></tr>
  300. <tr class="memitem:a845ccb560b7bc5281098a5be494145f6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#a845ccb560b7bc5281098a5be494145f6">setSelectedTickLabelFont</a> (const QFont &amp;font)</td></tr>
  301. <tr class="separator:a845ccb560b7bc5281098a5be494145f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
  302. <tr class="memitem:a02ec2a75d4d8401eaab834fbc6803d30"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#a02ec2a75d4d8401eaab834fbc6803d30">setSelectedLabelFont</a> (const QFont &amp;font)</td></tr>
  303. <tr class="separator:a02ec2a75d4d8401eaab834fbc6803d30"><td class="memSeparator" colspan="2">&#160;</td></tr>
  304. <tr class="memitem:a9bdbf5e63ab15187f3a1de9440129227"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#a9bdbf5e63ab15187f3a1de9440129227">setSelectedTickLabelColor</a> (const QColor &amp;color)</td></tr>
  305. <tr class="separator:a9bdbf5e63ab15187f3a1de9440129227"><td class="memSeparator" colspan="2">&#160;</td></tr>
  306. <tr class="memitem:a5d502dec597c634f491fdd73d151c72d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#a5d502dec597c634f491fdd73d151c72d">setSelectedLabelColor</a> (const QColor &amp;color)</td></tr>
  307. <tr class="separator:a5d502dec597c634f491fdd73d151c72d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  308. <tr class="memitem:aeb917a909215605b95ef2be843de1ee8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#aeb917a909215605b95ef2be843de1ee8">setSelectedBasePen</a> (const QPen &amp;pen)</td></tr>
  309. <tr class="separator:aeb917a909215605b95ef2be843de1ee8"><td class="memSeparator" colspan="2">&#160;</td></tr>
  310. <tr class="memitem:a8360502685eb782edbf04019c9345cdc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#a8360502685eb782edbf04019c9345cdc">setSelectedTickPen</a> (const QPen &amp;pen)</td></tr>
  311. <tr class="separator:a8360502685eb782edbf04019c9345cdc"><td class="memSeparator" colspan="2">&#160;</td></tr>
  312. <tr class="memitem:a2a00a7166600155eac26843132eb9576"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#a2a00a7166600155eac26843132eb9576">setSelectedSubTickPen</a> (const QPen &amp;pen)</td></tr>
  313. <tr class="separator:a2a00a7166600155eac26843132eb9576"><td class="memSeparator" colspan="2">&#160;</td></tr>
  314. <tr class="memitem:a513f9b9e326c505d9bec54880031b085"><td class="memItemLeft" align="right" valign="top">Q_SLOT void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#a513f9b9e326c505d9bec54880031b085">setSelectableParts</a> (const QCPAxis::SelectableParts &amp;selectableParts)</td></tr>
  315. <tr class="separator:a513f9b9e326c505d9bec54880031b085"><td class="memSeparator" colspan="2">&#160;</td></tr>
  316. <tr class="memitem:ab9d7a69277dcbed9119b3c1f25ca19c3"><td class="memItemLeft" align="right" valign="top">Q_SLOT void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#ab9d7a69277dcbed9119b3c1f25ca19c3">setSelectedParts</a> (const QCPAxis::SelectableParts &amp;selectedParts)</td></tr>
  317. <tr class="separator:ab9d7a69277dcbed9119b3c1f25ca19c3"><td class="memSeparator" colspan="2">&#160;</td></tr>
  318. <tr class="memitem:a08af1c72db9ae4dc8cb8a973d44405ab"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#a08af1c72db9ae4dc8cb8a973d44405ab">setLowerEnding</a> (const <a class="el" href="classQCPLineEnding.html">QCPLineEnding</a> &amp;ending)</td></tr>
  319. <tr class="separator:a08af1c72db9ae4dc8cb8a973d44405ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
  320. <tr class="memitem:a69119b892fc306f651763596685aa377"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#a69119b892fc306f651763596685aa377">setUpperEnding</a> (const <a class="el" href="classQCPLineEnding.html">QCPLineEnding</a> &amp;ending)</td></tr>
  321. <tr class="separator:a69119b892fc306f651763596685aa377"><td class="memSeparator" colspan="2">&#160;</td></tr>
  322. <tr class="memitem:a2877a6230920c118be65c6113089f467"><td class="memItemLeft" align="right" valign="top">virtual double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#a2877a6230920c118be65c6113089f467">selectTest</a> (const QPointF &amp;pos, bool onlySelectable, QVariant *details=0) const </td></tr>
  323. <tr class="separator:a2877a6230920c118be65c6113089f467"><td class="memSeparator" colspan="2">&#160;</td></tr>
  324. <tr class="memitem:a57483f2f60145ddc9e63f3af53959265"><td class="memItemLeft" align="right" valign="top">Qt::Orientation&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#a57483f2f60145ddc9e63f3af53959265">orientation</a> () const </td></tr>
  325. <tr class="separator:a57483f2f60145ddc9e63f3af53959265"><td class="memSeparator" colspan="2">&#160;</td></tr>
  326. <tr class="memitem:a18f3a68f2b691af1fd34b6593c886630"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#a18f3a68f2b691af1fd34b6593c886630">moveRange</a> (double diff)</td></tr>
  327. <tr class="separator:a18f3a68f2b691af1fd34b6593c886630"><td class="memSeparator" colspan="2">&#160;</td></tr>
  328. <tr class="memitem:a7072ff96fe690148f1bbcdb4f773ea1c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#a7072ff96fe690148f1bbcdb4f773ea1c">scaleRange</a> (double factor, double center)</td></tr>
  329. <tr class="separator:a7072ff96fe690148f1bbcdb4f773ea1c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  330. <tr class="memitem:af4bbd446dcaee5a83ac30ce9bcd6e125"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#af4bbd446dcaee5a83ac30ce9bcd6e125">setScaleRatio</a> (const <a class="el" href="classQCPAxis.html">QCPAxis</a> *otherAxis, double ratio=1.0)</td></tr>
  331. <tr class="separator:af4bbd446dcaee5a83ac30ce9bcd6e125"><td class="memSeparator" colspan="2">&#160;</td></tr>
  332. <tr class="memitem:a499345f02ebce4b23d8ccec96e58daa9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#a499345f02ebce4b23d8ccec96e58daa9">rescale</a> (bool onlyVisiblePlottables=false)</td></tr>
  333. <tr class="separator:a499345f02ebce4b23d8ccec96e58daa9"><td class="memSeparator" colspan="2">&#160;</td></tr>
  334. <tr class="memitem:ae9289ef7043b9d966af88eaa95b037d1"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#ae9289ef7043b9d966af88eaa95b037d1">pixelToCoord</a> (double value) const </td></tr>
  335. <tr class="separator:ae9289ef7043b9d966af88eaa95b037d1"><td class="memSeparator" colspan="2">&#160;</td></tr>
  336. <tr class="memitem:a985ae693b842fb0422b4390fe36d299a"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#a985ae693b842fb0422b4390fe36d299a">coordToPixel</a> (double value) const </td></tr>
  337. <tr class="separator:a985ae693b842fb0422b4390fe36d299a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  338. <tr class="memitem:ab2965a8ab1da948b897f1c006080760b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classQCPAxis.html#abee4c7a54c468b1385dfce2c898b115f">SelectablePart</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#ab2965a8ab1da948b897f1c006080760b">getPartAt</a> (const QPointF &amp;pos) const </td></tr>
  339. <tr class="separator:ab2965a8ab1da948b897f1c006080760b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  340. <tr class="memitem:a4f7404494cccdbfc00e1e865b7ed16a4"><td class="memItemLeft" align="right" valign="top">QList&lt; <a class="el" href="classQCPAbstractPlottable.html">QCPAbstractPlottable</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#a4f7404494cccdbfc00e1e865b7ed16a4">plottables</a> () const </td></tr>
  341. <tr class="separator:a4f7404494cccdbfc00e1e865b7ed16a4"><td class="memSeparator" colspan="2">&#160;</td></tr>
  342. <tr class="memitem:ad3919e7d7400f55446ea82018fe5e3a8"><td class="memItemLeft" align="right" valign="top">QList&lt; <a class="el" href="classQCPGraph.html">QCPGraph</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#ad3919e7d7400f55446ea82018fe5e3a8">graphs</a> () const </td></tr>
  343. <tr class="separator:ad3919e7d7400f55446ea82018fe5e3a8"><td class="memSeparator" colspan="2">&#160;</td></tr>
  344. <tr class="memitem:ae437656a5fd1a03721a8f2d7aab460fe"><td class="memItemLeft" align="right" valign="top">QList&lt; <a class="el" href="classQCPAbstractItem.html">QCPAbstractItem</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#ae437656a5fd1a03721a8f2d7aab460fe">items</a> () const </td></tr>
  345. <tr class="separator:ae437656a5fd1a03721a8f2d7aab460fe"><td class="memSeparator" colspan="2">&#160;</td></tr>
  346. <tr class="inherit_header pub_methods_classQCPLayerable"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classQCPLayerable')"><img src="closed.png" alt="-"/>&#160;Public Functions inherited from <a class="el" href="classQCPLayerable.html">QCPLayerable</a></td></tr>
  347. <tr class="memitem:a74c0fa237f29bf0e49565013fc5d1ec0 inherit pub_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top">&#160;</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>
  348. <tr class="separator:a74c0fa237f29bf0e49565013fc5d1ec0 inherit pub_methods_classQCPLayerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
  349. <tr class="memitem:a10a3cc92e0fa63e4a929e61d34e275a7 inherit pub_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a10a3cc92e0fa63e4a929e61d34e275a7"></a>
  350. bool&#160;</td><td class="memItemRight" valign="bottom"><b>visible</b> () const </td></tr>
  351. <tr class="separator:a10a3cc92e0fa63e4a929e61d34e275a7 inherit pub_methods_classQCPLayerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
  352. <tr class="memitem:ab7e0e94461566093d36ffc0f5312b109 inherit pub_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab7e0e94461566093d36ffc0f5312b109"></a>
  353. <a class="el" href="classQCustomPlot.html">QCustomPlot</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>parentPlot</b> () const </td></tr>
  354. <tr class="separator:ab7e0e94461566093d36ffc0f5312b109 inherit pub_methods_classQCPLayerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
  355. <tr class="memitem:a98d79f5b716d45eac4347befe546d0ec inherit pub_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classQCPLayerable.html">QCPLayerable</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayerable.html#a98d79f5b716d45eac4347befe546d0ec">parentLayerable</a> () const </td></tr>
  356. <tr class="separator:a98d79f5b716d45eac4347befe546d0ec inherit pub_methods_classQCPLayerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
  357. <tr class="memitem:aea67e8c19145e70d68c286a36f6b8300 inherit pub_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aea67e8c19145e70d68c286a36f6b8300"></a>
  358. <a class="el" href="classQCPLayer.html">QCPLayer</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>layer</b> () const </td></tr>
  359. <tr class="separator:aea67e8c19145e70d68c286a36f6b8300 inherit pub_methods_classQCPLayerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
  360. <tr class="memitem:aef5cb4aa899ed9dc9384fd614560291e inherit pub_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aef5cb4aa899ed9dc9384fd614560291e"></a>
  361. bool&#160;</td><td class="memItemRight" valign="bottom"><b>antialiased</b> () const </td></tr>
  362. <tr class="separator:aef5cb4aa899ed9dc9384fd614560291e inherit pub_methods_classQCPLayerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
  363. <tr class="memitem:a3bed99ddc396b48ce3ebfdc0418744f8 inherit pub_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayerable.html#a3bed99ddc396b48ce3ebfdc0418744f8">setVisible</a> (bool on)</td></tr>
  364. <tr class="separator:a3bed99ddc396b48ce3ebfdc0418744f8 inherit pub_methods_classQCPLayerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
  365. <tr class="memitem:ab0d0da6d2de45a118886d2c8e16d5a54 inherit pub_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top">Q_SLOT bool&#160;</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>
  366. <tr class="separator:ab0d0da6d2de45a118886d2c8e16d5a54 inherit pub_methods_classQCPLayerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
  367. <tr class="memitem:ab25a0e7b897993b44447caee0f142083 inherit pub_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayerable.html#ab25a0e7b897993b44447caee0f142083">setLayer</a> (const QString &amp;layerName)</td></tr>
  368. <tr class="separator:ab25a0e7b897993b44447caee0f142083 inherit pub_methods_classQCPLayerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
  369. <tr class="memitem:a4fd43e89be4a553ead41652565ff0581 inherit pub_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayerable.html#a4fd43e89be4a553ead41652565ff0581">setAntialiased</a> (bool enabled)</td></tr>
  370. <tr class="separator:a4fd43e89be4a553ead41652565ff0581 inherit pub_methods_classQCPLayerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
  371. <tr class="memitem:a30809f7455e9794bca7b6c737622fa63 inherit pub_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayerable.html#a30809f7455e9794bca7b6c737622fa63">realVisibility</a> () const </td></tr>
  372. <tr class="separator:a30809f7455e9794bca7b6c737622fa63 inherit pub_methods_classQCPLayerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
  373. </table><table class="memberdecls">
  374. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="signals"></a>
  375. Signals</h2></td></tr>
  376. <tr class="memitem:af46d99613d29518795134ec4928e3873"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#af46d99613d29518795134ec4928e3873">ticksRequest</a> ()</td></tr>
  377. <tr class="separator:af46d99613d29518795134ec4928e3873"><td class="memSeparator" colspan="2">&#160;</td></tr>
  378. <tr class="memitem:a0894084e4c16a1736534c4095746f910"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#a0894084e4c16a1736534c4095746f910">rangeChanged</a> (const <a class="el" href="classQCPRange.html">QCPRange</a> &amp;newRange)</td></tr>
  379. <tr class="separator:a0894084e4c16a1736534c4095746f910"><td class="memSeparator" colspan="2">&#160;</td></tr>
  380. <tr class="memitem:aac8576288e8e31f16186124bc10dd10d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#aac8576288e8e31f16186124bc10dd10d">rangeChanged</a> (const <a class="el" href="classQCPRange.html">QCPRange</a> &amp;newRange, const <a class="el" href="classQCPRange.html">QCPRange</a> &amp;oldRange)</td></tr>
  381. <tr class="separator:aac8576288e8e31f16186124bc10dd10d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  382. <tr class="memitem:a3505ed8a93bd2e349d858d84996bf767"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#a3505ed8a93bd2e349d858d84996bf767">scaleTypeChanged</a> (<a class="el" href="classQCPAxis.html#a36d8e8658dbaa179bf2aeb973db2d6f0">QCPAxis::ScaleType</a> scaleType)</td></tr>
  383. <tr class="separator:a3505ed8a93bd2e349d858d84996bf767"><td class="memSeparator" colspan="2">&#160;</td></tr>
  384. <tr class="memitem:a62b598abeee7174a05f9d542cc85b1f5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#a62b598abeee7174a05f9d542cc85b1f5">selectionChanged</a> (const QCPAxis::SelectableParts &amp;parts)</td></tr>
  385. <tr class="separator:a62b598abeee7174a05f9d542cc85b1f5"><td class="memSeparator" colspan="2">&#160;</td></tr>
  386. <tr class="memitem:aa5ff1fd851139028a3bb4efcb31de9fc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#aa5ff1fd851139028a3bb4efcb31de9fc">selectableChanged</a> (const QCPAxis::SelectableParts &amp;parts)</td></tr>
  387. <tr class="separator:aa5ff1fd851139028a3bb4efcb31de9fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
  388. <tr class="inherit_header signals_classQCPLayerable"><td colspan="2" onclick="javascript:toggleInherit('signals_classQCPLayerable')"><img src="closed.png" alt="-"/>&#160;Signals inherited from <a class="el" href="classQCPLayerable.html">QCPLayerable</a></td></tr>
  389. <tr class="memitem:abbf8657cedea73ac1c3499b521c90eba inherit signals_classQCPLayerable"><td class="memItemLeft" align="right" valign="top">void&#160;</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>
  390. <tr class="separator:abbf8657cedea73ac1c3499b521c90eba inherit signals_classQCPLayerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
  391. </table><table class="memberdecls">
  392. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
  393. Static Public Functions</h2></td></tr>
  394. <tr class="memitem:ac0a6b77bd52bec6c81cd62d167cfeba6"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classQCPAxis.html#ae2bcc1728b382f10f064612b368bc18a">AxisType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#ac0a6b77bd52bec6c81cd62d167cfeba6">marginSideToAxisType</a> (<a class="el" href="namespaceQCP.html#a7e487e3e2ccb62ab7771065bab7cae54">QCP::MarginSide</a> side)</td></tr>
  395. <tr class="separator:ac0a6b77bd52bec6c81cd62d167cfeba6"><td class="memSeparator" colspan="2">&#160;</td></tr>
  396. <tr class="memitem:a9a68b3e45f1b1e33d4d807822342516c"><td class="memItemLeft" align="right" valign="top">static Qt::Orientation&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#a9a68b3e45f1b1e33d4d807822342516c">orientation</a> (<a class="el" href="classQCPAxis.html#ae2bcc1728b382f10f064612b368bc18a">AxisType</a> type)</td></tr>
  397. <tr class="separator:a9a68b3e45f1b1e33d4d807822342516c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  398. <tr class="memitem:aa85ba73dfee6483e23825461b725e363"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classQCPAxis.html#ae2bcc1728b382f10f064612b368bc18a">AxisType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#aa85ba73dfee6483e23825461b725e363">opposite</a> (<a class="el" href="classQCPAxis.html#ae2bcc1728b382f10f064612b368bc18a">AxisType</a> type)</td></tr>
  399. <tr class="separator:aa85ba73dfee6483e23825461b725e363"><td class="memSeparator" colspan="2">&#160;</td></tr>
  400. </table><table class="memberdecls">
  401. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
  402. Protected Functions</h2></td></tr>
  403. <tr class="memitem:a57d9e961bae7d62f5b4e1f143e660c78"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#a57d9e961bae7d62f5b4e1f143e660c78">setupTickVectors</a> ()</td></tr>
  404. <tr class="separator:a57d9e961bae7d62f5b4e1f143e660c78"><td class="memSeparator" colspan="2">&#160;</td></tr>
  405. <tr class="memitem:a626eef437c874148df1a5ac78506d463"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#a626eef437c874148df1a5ac78506d463">generateAutoTicks</a> ()</td></tr>
  406. <tr class="separator:a626eef437c874148df1a5ac78506d463"><td class="memSeparator" colspan="2">&#160;</td></tr>
  407. <tr class="memitem:a3c5c045019fcdc0843a3e064eda7478a"><td class="memItemLeft" align="right" valign="top">virtual int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#a3c5c045019fcdc0843a3e064eda7478a">calculateAutoSubTickCount</a> (double tickStep) const </td></tr>
  408. <tr class="separator:a3c5c045019fcdc0843a3e064eda7478a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  409. <tr class="memitem:a47bdb0a55de6759489ee47665199aebb"><td class="memItemLeft" align="right" valign="top">virtual int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#a47bdb0a55de6759489ee47665199aebb">calculateMargin</a> ()</td></tr>
  410. <tr class="separator:a47bdb0a55de6759489ee47665199aebb"><td class="memSeparator" colspan="2">&#160;</td></tr>
  411. <tr class="memitem:a13bde39eb1e0b7c14a02935689be8aba"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#a13bde39eb1e0b7c14a02935689be8aba">applyDefaultAntialiasingHint</a> (<a class="el" href="classQCPPainter.html">QCPPainter</a> *painter) const </td></tr>
  412. <tr class="separator:a13bde39eb1e0b7c14a02935689be8aba"><td class="memSeparator" colspan="2">&#160;</td></tr>
  413. <tr class="memitem:a258b1e783eda5cd14ec5552c696a424e"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#a258b1e783eda5cd14ec5552c696a424e">draw</a> (<a class="el" href="classQCPPainter.html">QCPPainter</a> *painter)</td></tr>
  414. <tr class="separator:a258b1e783eda5cd14ec5552c696a424e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  415. <tr class="memitem:aca53b2f365dfc1257cba9e62395aa68f"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="namespaceQCP.html#a2ad6bb6281c7c2d593d4277b44c2b037">QCP::Interaction</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#aca53b2f365dfc1257cba9e62395aa68f">selectionCategory</a> () const </td></tr>
  416. <tr class="separator:aca53b2f365dfc1257cba9e62395aa68f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  417. <tr class="memitem:aa8a5fe80e2898ec08ada26b5fbee9eca"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#aa8a5fe80e2898ec08ada26b5fbee9eca">selectEvent</a> (QMouseEvent *event, bool additive, const QVariant &amp;details, bool *selectionStateChanged)</td></tr>
  418. <tr class="separator:aa8a5fe80e2898ec08ada26b5fbee9eca"><td class="memSeparator" colspan="2">&#160;</td></tr>
  419. <tr class="memitem:a53512242cde6ec21943a3ba10dbf78c3"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#a53512242cde6ec21943a3ba10dbf78c3">deselectEvent</a> (bool *selectionStateChanged)</td></tr>
  420. <tr class="separator:a53512242cde6ec21943a3ba10dbf78c3"><td class="memSeparator" colspan="2">&#160;</td></tr>
  421. <tr class="memitem:a06320a944d1120732cc0d72fe1306d8b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#a06320a944d1120732cc0d72fe1306d8b">visibleTickBounds</a> (int &amp;lowIndex, int &amp;highIndex) const </td></tr>
  422. <tr class="separator:a06320a944d1120732cc0d72fe1306d8b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  423. <tr class="memitem:a1385765db2419ee5fb5505a6cf9130fb"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#a1385765db2419ee5fb5505a6cf9130fb">baseLog</a> (double value) const </td></tr>
  424. <tr class="separator:a1385765db2419ee5fb5505a6cf9130fb"><td class="memSeparator" colspan="2">&#160;</td></tr>
  425. <tr class="memitem:a97d69f021a05126fcb978d0aefea47b8"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#a97d69f021a05126fcb978d0aefea47b8">basePow</a> (double value) const </td></tr>
  426. <tr class="separator:a97d69f021a05126fcb978d0aefea47b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
  427. <tr class="memitem:a3eb0681d31baf579bb73b86a0153cb02"><td class="memItemLeft" align="right" valign="top">QPen&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#a3eb0681d31baf579bb73b86a0153cb02">getBasePen</a> () const </td></tr>
  428. <tr class="separator:a3eb0681d31baf579bb73b86a0153cb02"><td class="memSeparator" colspan="2">&#160;</td></tr>
  429. <tr class="memitem:a7f503910be40fb1717e1635be3ef17e1"><td class="memItemLeft" align="right" valign="top">QPen&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#a7f503910be40fb1717e1635be3ef17e1">getTickPen</a> () const </td></tr>
  430. <tr class="separator:a7f503910be40fb1717e1635be3ef17e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
  431. <tr class="memitem:ab4f7e60a40eb051c775afcaeab895c85"><td class="memItemLeft" align="right" valign="top">QPen&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#ab4f7e60a40eb051c775afcaeab895c85">getSubTickPen</a> () const </td></tr>
  432. <tr class="separator:ab4f7e60a40eb051c775afcaeab895c85"><td class="memSeparator" colspan="2">&#160;</td></tr>
  433. <tr class="memitem:aef30b66668986523225089a67280ec7a"><td class="memItemLeft" align="right" valign="top">QFont&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#aef30b66668986523225089a67280ec7a">getTickLabelFont</a> () const </td></tr>
  434. <tr class="separator:aef30b66668986523225089a67280ec7a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  435. <tr class="memitem:ab0768eb2879efb202645d19ff789e63e"><td class="memItemLeft" align="right" valign="top">QFont&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#ab0768eb2879efb202645d19ff789e63e">getLabelFont</a> () const </td></tr>
  436. <tr class="separator:ab0768eb2879efb202645d19ff789e63e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  437. <tr class="memitem:a0f8583f7ac24ccc70d39fdd2389cad6e"><td class="memItemLeft" align="right" valign="top">QColor&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#a0f8583f7ac24ccc70d39fdd2389cad6e">getTickLabelColor</a> () const </td></tr>
  438. <tr class="separator:a0f8583f7ac24ccc70d39fdd2389cad6e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  439. <tr class="memitem:a42bd69b9e9c571f13624079be18ccdc1"><td class="memItemLeft" align="right" valign="top">QColor&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxis.html#a42bd69b9e9c571f13624079be18ccdc1">getLabelColor</a> () const </td></tr>
  440. <tr class="separator:a42bd69b9e9c571f13624079be18ccdc1"><td class="memSeparator" colspan="2">&#160;</td></tr>
  441. <tr class="inherit_header pro_methods_classQCPLayerable"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classQCPLayerable')"><img src="closed.png" alt="-"/>&#160;Protected Functions inherited from <a class="el" href="classQCPLayerable.html">QCPLayerable</a></td></tr>
  442. <tr class="memitem:ab20b7dbd8e0249ed61adb9622c427382 inherit pro_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</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>
  443. <tr class="separator:ab20b7dbd8e0249ed61adb9622c427382 inherit pro_methods_classQCPLayerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
  444. <tr class="memitem:a07a8f746640c3704b09910df297afcba inherit pro_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top">virtual QRect&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayerable.html#a07a8f746640c3704b09910df297afcba">clipRect</a> () const </td></tr>
  445. <tr class="separator:a07a8f746640c3704b09910df297afcba inherit pro_methods_classQCPLayerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
  446. <tr class="memitem:a8cbe5a0c9a5674249982f5ca5f8e02bc inherit pro_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top">void&#160;</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>
  447. <tr class="separator:a8cbe5a0c9a5674249982f5ca5f8e02bc inherit pro_methods_classQCPLayerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
  448. <tr class="memitem:aa23c893671f1f6744ac235cf2204cf3a inherit pro_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top">void&#160;</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>
  449. <tr class="separator:aa23c893671f1f6744ac235cf2204cf3a inherit pro_methods_classQCPLayerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
  450. <tr class="memitem:af94484cfb7cbbddb7de522e9be71d9a4 inherit pro_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top">bool&#160;</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>
  451. <tr class="separator:af94484cfb7cbbddb7de522e9be71d9a4 inherit pro_methods_classQCPLayerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
  452. <tr class="memitem:a62bd552d1a45aa9accb24b310542279e inherit pro_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top">void&#160;</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>
  453. <tr class="separator:a62bd552d1a45aa9accb24b310542279e inherit pro_methods_classQCPLayerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
  454. </table>
  455. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  456. <div class="textblock"><p>Manages a single axis inside 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>. </p>
  457. <p>Usually doesn't need to be instantiated externally. Access QCustomPlot's default four axes via <a class="el" href="classQCustomPlot.html#a9a79cd0158a4c7f30cbc702f0fd800e4">QCustomPlot::xAxis</a> (bottom), <a class="el" href="classQCustomPlot.html#af6fea5679725b152c14facd920b19367">QCustomPlot::yAxis</a> (left), <a class="el" href="classQCustomPlot.html#ada41599f22cad901c030f3dcbdd82fd9">QCustomPlot::xAxis2</a> (top) and <a class="el" href="classQCustomPlot.html#af13fdc5bce7d0fabd640f13ba805c0b7">QCustomPlot::yAxis2</a> (right).</p>
  458. <p>Axes are always part of an axis rect, see <a class="el" href="classQCPAxisRect.html" title="Holds multiple axes and arranges them in a rectangular shape. ">QCPAxisRect</a>. </p>
  459. <div class="image">
  460. <img src="AxisNamesOverview.png" alt="AxisNamesOverview.png"/>
  461. </div>
  462. <center>Naming convention of axis parts</center><p> <br/>
  463. </p>
  464. <div class="image">
  465. <img src="AxisRectSpacingOverview.png" alt="AxisRectSpacingOverview.png"/>
  466. </div>
  467. <center>Overview of the spacings and paddings that define the geometry of an axis. The dashed gray line on the left represents 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> widget border.</center> </div><h2 class="groupheader">Member Enumeration Documentation</h2>
  468. <a class="anchor" id="ae2bcc1728b382f10f064612b368bc18a"></a>
  469. <div class="memitem">
  470. <div class="memproto">
  471. <table class="memname">
  472. <tr>
  473. <td class="memname">enum <a class="el" href="classQCPAxis.html#ae2bcc1728b382f10f064612b368bc18a">QCPAxis::AxisType</a></td>
  474. </tr>
  475. </table>
  476. </div><div class="memdoc">
  477. <p>Defines at which side of the axis rect the axis will appear. This also affects how the tick marks are drawn, on which side the labels are placed etc. </p>
  478. <table class="fieldtable">
  479. <tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><em><a class="anchor" id="ae2bcc1728b382f10f064612b368bc18aaf84aa6cac6fb6099f54a2cbf7546b730"></a>atLeft</em>&#160;</td><td class="fielddoc">
  480. <p><code>0x01</code> Axis is vertical and on the left side of the axis rect </p>
  481. </td></tr>
  482. <tr><td class="fieldname"><em><a class="anchor" id="ae2bcc1728b382f10f064612b368bc18aadf5509f7d29199ef2f263b1dd224b345"></a>atRight</em>&#160;</td><td class="fielddoc">
  483. <p><code>0x02</code> Axis is vertical and on the right side of the axis rect </p>
  484. </td></tr>
  485. <tr><td class="fieldname"><em><a class="anchor" id="ae2bcc1728b382f10f064612b368bc18aac0ece2b680d3f545e701f75af1655977"></a>atTop</em>&#160;</td><td class="fielddoc">
  486. <p><code>0x04</code> Axis is horizontal and on the top side of the axis rect </p>
  487. </td></tr>
  488. <tr><td class="fieldname"><em><a class="anchor" id="ae2bcc1728b382f10f064612b368bc18aa220d68888516b6c3b493d144f1ba438f"></a>atBottom</em>&#160;</td><td class="fielddoc">
  489. <p><code>0x08</code> Axis is horizontal and on the bottom side of the axis rect </p>
  490. </td></tr>
  491. </table>
  492. </div>
  493. </div>
  494. <a class="anchor" id="a4a7da0166f755f5abac23b765d184cad"></a>
  495. <div class="memitem">
  496. <div class="memproto">
  497. <table class="memname">
  498. <tr>
  499. <td class="memname">enum <a class="el" href="classQCPAxis.html#a4a7da0166f755f5abac23b765d184cad">QCPAxis::LabelType</a></td>
  500. </tr>
  501. </table>
  502. </div><div class="memdoc">
  503. <p>When automatic tick label generation is enabled (<a class="el" href="classQCPAxis.html#aaa47e3a6bac0c20d4beb9028f01bc1a1">setAutoTickLabels</a>), defines how the coordinate of the tick is interpreted, i.e. translated into a string.</p>
  504. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxis.html#a54f24f5ce8feea25209388a863d7e448">setTickLabelType</a> </dd></dl>
  505. <table class="fieldtable">
  506. <tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><em><a class="anchor" id="a4a7da0166f755f5abac23b765d184cada7f1eacf3b73adaefd334bea04e094b7e"></a>ltNumber</em>&#160;</td><td class="fielddoc">
  507. <p>Tick coordinate is regarded as normal number and will be displayed as such. (see <a class="el" href="classQCPAxis.html#ae585a54dc2aac662e90a2ca82f002590">setNumberFormat</a>) </p>
  508. </td></tr>
  509. <tr><td class="fieldname"><em><a class="anchor" id="a4a7da0166f755f5abac23b765d184cadafc70594a9d877124dd11ccc187d4ac52"></a>ltDateTime</em>&#160;</td><td class="fielddoc">
  510. <p>Tick coordinate is regarded as a date/time (seconds since 1970-01-01T00:00:00 UTC) and will be displayed and formatted as such. (for details, see <a class="el" href="classQCPAxis.html#a2ee0191daa03524a682113e63e05f7a7">setDateTimeFormat</a>) </p>
  511. </td></tr>
  512. </table>
  513. </div>
  514. </div>
  515. <a class="anchor" id="a24b13374b9b8f75f47eed2ea78c37db9"></a>
  516. <div class="memitem">
  517. <div class="memproto">
  518. <table class="memname">
  519. <tr>
  520. <td class="memname">enum <a class="el" href="classQCPAxis.html#a24b13374b9b8f75f47eed2ea78c37db9">QCPAxis::LabelSide</a></td>
  521. </tr>
  522. </table>
  523. </div><div class="memdoc">
  524. <p>Defines on which side of the axis the tick labels (numbers) shall appear.</p>
  525. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxis.html#a13ec644fc6e22715744c92c6dfa4f0fa">setTickLabelSide</a> </dd></dl>
  526. <table class="fieldtable">
  527. <tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><em><a class="anchor" id="a24b13374b9b8f75f47eed2ea78c37db9aae7b027ac2839cf4ad611df30236fc3f"></a>lsInside</em>&#160;</td><td class="fielddoc">
  528. <p>Tick labels will be displayed inside the axis rect and clipped to the inner axis rect. </p>
  529. </td></tr>
  530. <tr><td class="fieldname"><em><a class="anchor" id="a24b13374b9b8f75f47eed2ea78c37db9a2eadb509fc0c9a8b35b85c86ec9f3c7a"></a>lsOutside</em>&#160;</td><td class="fielddoc">
  531. <p>Tick labels will be displayed outside the axis rect. </p>
  532. </td></tr>
  533. </table>
  534. </div>
  535. </div>
  536. <a class="anchor" id="a36d8e8658dbaa179bf2aeb973db2d6f0"></a>
  537. <div class="memitem">
  538. <div class="memproto">
  539. <table class="memname">
  540. <tr>
  541. <td class="memname">enum <a class="el" href="classQCPAxis.html#a36d8e8658dbaa179bf2aeb973db2d6f0">QCPAxis::ScaleType</a></td>
  542. </tr>
  543. </table>
  544. </div><div class="memdoc">
  545. <p>Defines the scale of an axis. </p>
  546. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxis.html#adef29cae617af4f519f6c40d1a866ca6">setScaleType</a> </dd></dl>
  547. <table class="fieldtable">
  548. <tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><em><a class="anchor" id="a36d8e8658dbaa179bf2aeb973db2d6f0aff6e30a11a828bc850caffab0ff994f6"></a>stLinear</em>&#160;</td><td class="fielddoc">
  549. <p>Linear scaling. </p>
  550. </td></tr>
  551. <tr><td class="fieldname"><em><a class="anchor" id="a36d8e8658dbaa179bf2aeb973db2d6f0abf5b785ad976618816dc6f79b73216d4"></a>stLogarithmic</em>&#160;</td><td class="fielddoc">
  552. <p>Logarithmic scaling with correspondingly transformed plots and (major) tick marks at every base power (see <a class="el" href="classQCPAxis.html#a726186054be90487885a748aa1b42188">setScaleLogBase</a>). </p>
  553. </td></tr>
  554. </table>
  555. </div>
  556. </div>
  557. <a class="anchor" id="abee4c7a54c468b1385dfce2c898b115f"></a>
  558. <div class="memitem">
  559. <div class="memproto">
  560. <table class="memname">
  561. <tr>
  562. <td class="memname">enum <a class="el" href="classQCPAxis.html#abee4c7a54c468b1385dfce2c898b115f">QCPAxis::SelectablePart</a></td>
  563. </tr>
  564. </table>
  565. </div><div class="memdoc">
  566. <p>Defines the selectable parts of an axis. </p>
  567. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxis.html#a513f9b9e326c505d9bec54880031b085">setSelectableParts</a>, <a class="el" href="classQCPAxis.html#ab9d7a69277dcbed9119b3c1f25ca19c3">setSelectedParts</a> </dd></dl>
  568. <table class="fieldtable">
  569. <tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><em><a class="anchor" id="abee4c7a54c468b1385dfce2c898b115fae0df8123a5528d5ccf87cb7794f971ea"></a>spNone</em>&#160;</td><td class="fielddoc">
  570. <p>None of the selectable parts. </p>
  571. </td></tr>
  572. <tr><td class="fieldname"><em><a class="anchor" id="abee4c7a54c468b1385dfce2c898b115fa8949d2c1a31eccae9be7ed32e7a1ae38"></a>spAxis</em>&#160;</td><td class="fielddoc">
  573. <p>The axis backbone and tick marks. </p>
  574. </td></tr>
  575. <tr><td class="fieldname"><em><a class="anchor" id="abee4c7a54c468b1385dfce2c898b115fa584e0a3dc4d064880647619f4bd4e771"></a>spTickLabels</em>&#160;</td><td class="fielddoc">
  576. <p>Tick labels (numbers) of this axis (as a whole, not individually) </p>
  577. </td></tr>
  578. <tr><td class="fieldname"><em><a class="anchor" id="abee4c7a54c468b1385dfce2c898b115fa851e0600e0d08b4f5fee9361e3fedabd"></a>spAxisLabel</em>&#160;</td><td class="fielddoc">
  579. <p>The axis label. </p>
  580. </td></tr>
  581. </table>
  582. </div>
  583. </div>
  584. <h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
  585. <a class="anchor" id="ac62c042968bae0e6d474fcfc57c9b71f"></a>
  586. <div class="memitem">
  587. <div class="memproto">
  588. <table class="mlabels">
  589. <tr>
  590. <td class="mlabels-left">
  591. <table class="memname">
  592. <tr>
  593. <td class="memname">QCPAxis::QCPAxis </td>
  594. <td>(</td>
  595. <td class="paramtype"><a class="el" href="classQCPAxisRect.html">QCPAxisRect</a> *&#160;</td>
  596. <td class="paramname"><em>parent</em>, </td>
  597. </tr>
  598. <tr>
  599. <td class="paramkey"></td>
  600. <td></td>
  601. <td class="paramtype"><a class="el" href="classQCPAxis.html#ae2bcc1728b382f10f064612b368bc18a">AxisType</a>&#160;</td>
  602. <td class="paramname"><em>type</em>&#160;</td>
  603. </tr>
  604. <tr>
  605. <td></td>
  606. <td>)</td>
  607. <td></td><td></td>
  608. </tr>
  609. </table>
  610. </td>
  611. <td class="mlabels-right">
  612. <span class="mlabels"><span class="mlabel">explicit</span></span> </td>
  613. </tr>
  614. </table>
  615. </div><div class="memdoc">
  616. <p>Constructs an Axis instance of Type <em>type</em> for the axis rect <em>parent</em>.</p>
  617. <p>Usually it isn't necessary to instantiate axes directly, because you can let <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> create them for you with <a class="el" href="classQCPAxisRect.html#a2dc336092ccc57d44a46194c8a23e4f4">QCPAxisRect::addAxis</a>. If you want to use own QCPAxis-subclasses however, create them manually and then inject them also via <a class="el" href="classQCPAxisRect.html#a2dc336092ccc57d44a46194c8a23e4f4">QCPAxisRect::addAxis</a>. </p>
  618. </div>
  619. </div>
  620. <h2 class="groupheader">Member Function Documentation</h2>
  621. <a class="anchor" id="ac4fb913cce3072b5e75a4635e0f6cd04"></a>
  622. <div class="memitem">
  623. <div class="memproto">
  624. <table class="mlabels">
  625. <tr>
  626. <td class="mlabels-left">
  627. <table class="memname">
  628. <tr>
  629. <td class="memname"><a class="el" href="classQCPGrid.html">QCPGrid</a> * QCPAxis::grid </td>
  630. <td>(</td>
  631. <td class="paramname"></td><td>)</td>
  632. <td> const</td>
  633. </tr>
  634. </table>
  635. </td>
  636. <td class="mlabels-right">
  637. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  638. </tr>
  639. </table>
  640. </div><div class="memdoc">
  641. <p>Returns the <a class="el" href="classQCPGrid.html">QCPGrid</a> instance belonging to this axis. Access it to set details about the way the grid is displayed. </p>
  642. </div>
  643. </div>
  644. <a class="anchor" id="adef29cae617af4f519f6c40d1a866ca6"></a>
  645. <div class="memitem">
  646. <div class="memproto">
  647. <table class="memname">
  648. <tr>
  649. <td class="memname">void QCPAxis::setScaleType </td>
  650. <td>(</td>
  651. <td class="paramtype"><a class="el" href="classQCPAxis.html#a36d8e8658dbaa179bf2aeb973db2d6f0">QCPAxis::ScaleType</a>&#160;</td>
  652. <td class="paramname"><em>type</em></td><td>)</td>
  653. <td></td>
  654. </tr>
  655. </table>
  656. </div><div class="memdoc">
  657. <p>Sets whether the axis uses a linear scale or a logarithmic scale. If <em>type</em> is set to <a class="el" href="classQCPAxis.html#a36d8e8658dbaa179bf2aeb973db2d6f0abf5b785ad976618816dc6f79b73216d4">stLogarithmic</a>, the logarithm base can be set with <a class="el" href="classQCPAxis.html#a726186054be90487885a748aa1b42188">setScaleLogBase</a>. In logarithmic axis scaling, major tick marks appear at all powers of the logarithm base. Properties like tick step (<a class="el" href="classQCPAxis.html#af727db0acc6492c4c774c0700e738205">setTickStep</a>) don't apply in logarithmic scaling. If you wish a decimal base but less major ticks, consider choosing a logarithm base of 100, 1000 or even higher.</p>
  658. <p>If <em>type</em> is <a class="el" href="classQCPAxis.html#a36d8e8658dbaa179bf2aeb973db2d6f0abf5b785ad976618816dc6f79b73216d4">stLogarithmic</a> and the number format (<a class="el" href="classQCPAxis.html#ae585a54dc2aac662e90a2ca82f002590">setNumberFormat</a>) uses the 'b' option (beautifully typeset decimal powers), the display usually is "1 [multiplication sign] 10
  659. [superscript] n", which looks unnatural for logarithmic scaling (the "1 [multiplication sign]" part). To only display the decimal power, set the number precision to zero with <a class="el" href="classQCPAxis.html#a21dc8023ad7500382ad9574b48137e63">setNumberPrecision</a>. </p>
  660. </div>
  661. </div>
  662. <a class="anchor" id="a726186054be90487885a748aa1b42188"></a>
  663. <div class="memitem">
  664. <div class="memproto">
  665. <table class="memname">
  666. <tr>
  667. <td class="memname">void QCPAxis::setScaleLogBase </td>
  668. <td>(</td>
  669. <td class="paramtype">double&#160;</td>
  670. <td class="paramname"><em>base</em></td><td>)</td>
  671. <td></td>
  672. </tr>
  673. </table>
  674. </div><div class="memdoc">
  675. <p>If <a class="el" href="classQCPAxis.html#adef29cae617af4f519f6c40d1a866ca6">setScaleType</a> is set to <a class="el" href="classQCPAxis.html#a36d8e8658dbaa179bf2aeb973db2d6f0abf5b785ad976618816dc6f79b73216d4">stLogarithmic</a>, <em>base</em> will be the logarithm base of the scaling. In logarithmic axis scaling, major tick marks appear at all powers of <em>base</em>.</p>
  676. <p>Properties like tick step (<a class="el" href="classQCPAxis.html#af727db0acc6492c4c774c0700e738205">setTickStep</a>) don't apply in logarithmic scaling. If you wish a decimal base but less major ticks, consider choosing <em>base</em> 100, 1000 or even higher. </p>
  677. </div>
  678. </div>
  679. <a class="anchor" id="aebdfea5d44c3a0ad2b4700cd4d25b641"></a>
  680. <div class="memitem">
  681. <div class="memproto">
  682. <table class="memname">
  683. <tr>
  684. <td class="memname">void QCPAxis::setRange </td>
  685. <td>(</td>
  686. <td class="paramtype">const <a class="el" href="classQCPRange.html">QCPRange</a> &amp;&#160;</td>
  687. <td class="paramname"><em>range</em></td><td>)</td>
  688. <td></td>
  689. </tr>
  690. </table>
  691. </div><div class="memdoc">
  692. <p>Sets the range of the axis.</p>
  693. <p>This slot may be connected with the <a class="el" href="classQCPAxis.html#a0894084e4c16a1736534c4095746f910">rangeChanged</a> signal of another axis so this axis is always synchronized with the other axis range, when it changes.</p>
  694. <p>To invert the direction of an axis, use <a class="el" href="classQCPAxis.html#a2172fdb196b1a0dc3f40992fcad8e9e1">setRangeReversed</a>. </p>
  695. </div>
  696. </div>
  697. <a class="anchor" id="a57d6ee9e9009fe88cb19db476ec70bca"></a>
  698. <div class="memitem">
  699. <div class="memproto">
  700. <table class="memname">
  701. <tr>
  702. <td class="memname">void QCPAxis::setRange </td>
  703. <td>(</td>
  704. <td class="paramtype">double&#160;</td>
  705. <td class="paramname"><em>lower</em>, </td>
  706. </tr>
  707. <tr>
  708. <td class="paramkey"></td>
  709. <td></td>
  710. <td class="paramtype">double&#160;</td>
  711. <td class="paramname"><em>upper</em>&#160;</td>
  712. </tr>
  713. <tr>
  714. <td></td>
  715. <td>)</td>
  716. <td></td><td></td>
  717. </tr>
  718. </table>
  719. </div><div class="memdoc">
  720. <p>This is an overloaded function.</p>
  721. <p>Sets the lower and upper bound of the axis range.</p>
  722. <p>To invert the direction of an axis, use <a class="el" href="classQCPAxis.html#a2172fdb196b1a0dc3f40992fcad8e9e1">setRangeReversed</a>.</p>
  723. <p>There is also a slot to set a range, see <a class="el" href="classQCPAxis.html#aebdfea5d44c3a0ad2b4700cd4d25b641">setRange(const QCPRange &amp;range)</a>. </p>
  724. </div>
  725. </div>
  726. <a class="anchor" id="acf60e5b2d631fbc8c4548c3d579cb6d0"></a>
  727. <div class="memitem">
  728. <div class="memproto">
  729. <table class="memname">
  730. <tr>
  731. <td class="memname">void QCPAxis::setRange </td>
  732. <td>(</td>
  733. <td class="paramtype">double&#160;</td>
  734. <td class="paramname"><em>position</em>, </td>
  735. </tr>
  736. <tr>
  737. <td class="paramkey"></td>
  738. <td></td>
  739. <td class="paramtype">double&#160;</td>
  740. <td class="paramname"><em>size</em>, </td>
  741. </tr>
  742. <tr>
  743. <td class="paramkey"></td>
  744. <td></td>
  745. <td class="paramtype">Qt::AlignmentFlag&#160;</td>
  746. <td class="paramname"><em>alignment</em>&#160;</td>
  747. </tr>
  748. <tr>
  749. <td></td>
  750. <td>)</td>
  751. <td></td><td></td>
  752. </tr>
  753. </table>
  754. </div><div class="memdoc">
  755. <p>This is an overloaded function.</p>
  756. <p>Sets the range of the axis.</p>
  757. <p>The <em>position</em> coordinate indicates together with the <em>alignment</em> parameter, where the new range will be positioned. <em>size</em> defines the size of the new axis range. <em>alignment</em> may be Qt::AlignLeft, Qt::AlignRight or Qt::AlignCenter. This will cause the left border, right border, or center of the range to be aligned with <em>position</em>. Any other values of <em>alignment</em> will default to Qt::AlignCenter. </p>
  758. </div>
  759. </div>
  760. <a class="anchor" id="afcf51227d337db28d1a9ce9a4d1bc91a"></a>
  761. <div class="memitem">
  762. <div class="memproto">
  763. <table class="memname">
  764. <tr>
  765. <td class="memname">void QCPAxis::setRangeLower </td>
  766. <td>(</td>
  767. <td class="paramtype">double&#160;</td>
  768. <td class="paramname"><em>lower</em></td><td>)</td>
  769. <td></td>
  770. </tr>
  771. </table>
  772. </div><div class="memdoc">
  773. <p>Sets the lower bound of the axis range. The upper bound is not changed. </p>
  774. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxis.html#aebdfea5d44c3a0ad2b4700cd4d25b641">setRange</a> </dd></dl>
  775. </div>
  776. </div>
  777. <a class="anchor" id="acd3ca1247aa867b540cd5ec30ccd3bef"></a>
  778. <div class="memitem">
  779. <div class="memproto">
  780. <table class="memname">
  781. <tr>
  782. <td class="memname">void QCPAxis::setRangeUpper </td>
  783. <td>(</td>
  784. <td class="paramtype">double&#160;</td>
  785. <td class="paramname"><em>upper</em></td><td>)</td>
  786. <td></td>
  787. </tr>
  788. </table>
  789. </div><div class="memdoc">
  790. <p>Sets the upper bound of the axis range. The lower bound is not changed. </p>
  791. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxis.html#aebdfea5d44c3a0ad2b4700cd4d25b641">setRange</a> </dd></dl>
  792. </div>
  793. </div>
  794. <a class="anchor" id="a2172fdb196b1a0dc3f40992fcad8e9e1"></a>
  795. <div class="memitem">
  796. <div class="memproto">
  797. <table class="memname">
  798. <tr>
  799. <td class="memname">void QCPAxis::setRangeReversed </td>
  800. <td>(</td>
  801. <td class="paramtype">bool&#160;</td>
  802. <td class="paramname"><em>reversed</em></td><td>)</td>
  803. <td></td>
  804. </tr>
  805. </table>
  806. </div><div class="memdoc">
  807. <p>Sets whether the axis range (direction) is displayed reversed. Normally, the values on horizontal axes increase left to right, on vertical axes bottom to top. When <em>reversed</em> is set to true, the direction of increasing values is inverted.</p>
  808. <p>Note that the range and data interface stays the same for reversed axes, e.g. the <em>lower</em> part of the <a class="el" href="classQCPAxis.html#aebdfea5d44c3a0ad2b4700cd4d25b641">setRange</a> interface will still reference the mathematically smaller number than the <em>upper</em> part. </p>
  809. </div>
  810. </div>
  811. <a class="anchor" id="ae867c23d3a6a7bd4d09cc66c5d018f63"></a>
  812. <div class="memitem">
  813. <div class="memproto">
  814. <table class="memname">
  815. <tr>
  816. <td class="memname">void QCPAxis::setAutoTicks </td>
  817. <td>(</td>
  818. <td class="paramtype">bool&#160;</td>
  819. <td class="paramname"><em>on</em></td><td>)</td>
  820. <td></td>
  821. </tr>
  822. </table>
  823. </div><div class="memdoc">
  824. <p>Sets whether the tick positions should be calculated automatically (either from an automatically generated tick step or a tick step provided manually via <a class="el" href="classQCPAxis.html#af727db0acc6492c4c774c0700e738205">setTickStep</a>, see <a class="el" href="classQCPAxis.html#a99fe77b034e06f5b723995beab96e741">setAutoTickStep</a>).</p>
  825. <p>If <em>on</em> is set to false, you must provide the tick positions manually via <a class="el" href="classQCPAxis.html#a871db94c5d796c80fcbe1a9d4506e27e">setTickVector</a>. For these manual ticks you may let <a class="el" href="classQCPAxis.html" title="Manages a single axis inside a QCustomPlot. ">QCPAxis</a> generate the appropriate labels automatically by leaving <a class="el" href="classQCPAxis.html#aaa47e3a6bac0c20d4beb9028f01bc1a1">setAutoTickLabels</a> set to true. If you also wish to control the displayed labels manually, set <a class="el" href="classQCPAxis.html#aaa47e3a6bac0c20d4beb9028f01bc1a1">setAutoTickLabels</a> to false and provide the label strings with <a class="el" href="classQCPAxis.html#a921d3ba3853ca3bd2cce3459f7a243ed">setTickVectorLabels</a>.</p>
  826. <p>If you need dynamically calculated tick vectors (and possibly tick label vectors), set the vectors in a slot connected to the <a class="el" href="classQCPAxis.html#af46d99613d29518795134ec4928e3873">ticksRequest</a> signal.</p>
  827. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxis.html#aaa47e3a6bac0c20d4beb9028f01bc1a1">setAutoTickLabels</a>, <a class="el" href="classQCPAxis.html#adcbdec7a60054b88571e89599f4a45bf">setAutoSubTicks</a>, <a class="el" href="classQCPAxis.html#a7c7111cbeac9ec5fcb40f93a1ef51a0b">setAutoTickCount</a>, <a class="el" href="classQCPAxis.html#a99fe77b034e06f5b723995beab96e741">setAutoTickStep</a> </dd></dl>
  828. </div>
  829. </div>
  830. <a class="anchor" id="a7c7111cbeac9ec5fcb40f93a1ef51a0b"></a>
  831. <div class="memitem">
  832. <div class="memproto">
  833. <table class="memname">
  834. <tr>
  835. <td class="memname">void QCPAxis::setAutoTickCount </td>
  836. <td>(</td>
  837. <td class="paramtype">int&#160;</td>
  838. <td class="paramname"><em>approximateCount</em></td><td>)</td>
  839. <td></td>
  840. </tr>
  841. </table>
  842. </div><div class="memdoc">
  843. <p>When <a class="el" href="classQCPAxis.html#a99fe77b034e06f5b723995beab96e741">setAutoTickStep</a> is true, <em>approximateCount</em> determines how many ticks should be generated in the visible range, approximately.</p>
  844. <p>It's not guaranteed that this number of ticks is met exactly, but approximately within a tolerance of about two.</p>
  845. <p>Only values greater than zero are accepted as <em>approximateCount</em>.</p>
  846. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxis.html#a99fe77b034e06f5b723995beab96e741">setAutoTickStep</a>, <a class="el" href="classQCPAxis.html#ae867c23d3a6a7bd4d09cc66c5d018f63">setAutoTicks</a>, <a class="el" href="classQCPAxis.html#adcbdec7a60054b88571e89599f4a45bf">setAutoSubTicks</a> </dd></dl>
  847. </div>
  848. </div>
  849. <a class="anchor" id="aaa47e3a6bac0c20d4beb9028f01bc1a1"></a>
  850. <div class="memitem">
  851. <div class="memproto">
  852. <table class="memname">
  853. <tr>
  854. <td class="memname">void QCPAxis::setAutoTickLabels </td>
  855. <td>(</td>
  856. <td class="paramtype">bool&#160;</td>
  857. <td class="paramname"><em>on</em></td><td>)</td>
  858. <td></td>
  859. </tr>
  860. </table>
  861. </div><div class="memdoc">
  862. <p>Sets whether the tick labels are generated automatically. Depending on the tick label type (<a class="el" href="classQCPAxis.html#a4a7da0166f755f5abac23b765d184cada7f1eacf3b73adaefd334bea04e094b7e">ltNumber</a> or <a class="el" href="classQCPAxis.html#a4a7da0166f755f5abac23b765d184cadafc70594a9d877124dd11ccc187d4ac52">ltDateTime</a>), the labels will either show the coordinate as floating point number (<a class="el" href="classQCPAxis.html#ae585a54dc2aac662e90a2ca82f002590">setNumberFormat</a>), or a date/time formatted according to <a class="el" href="classQCPAxis.html#a2ee0191daa03524a682113e63e05f7a7">setDateTimeFormat</a>.</p>
  863. <p>If <em>on</em> is set to false, you should provide the tick labels via <a class="el" href="classQCPAxis.html#a921d3ba3853ca3bd2cce3459f7a243ed">setTickVectorLabels</a>. This is usually used in a combination with <a class="el" href="classQCPAxis.html#ae867c23d3a6a7bd4d09cc66c5d018f63">setAutoTicks</a> set to false for complete control over tick positions and labels, e.g. when the ticks should be at multiples of pi and show "2pi", "3pi" etc. as tick labels.</p>
  864. <p>If you need dynamically calculated tick vectors (and possibly tick label vectors), set the vectors in a slot connected to the <a class="el" href="classQCPAxis.html#af46d99613d29518795134ec4928e3873">ticksRequest</a> signal.</p>
  865. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxis.html#ae867c23d3a6a7bd4d09cc66c5d018f63">setAutoTicks</a> </dd></dl>
  866. </div>
  867. </div>
  868. <a class="anchor" id="a99fe77b034e06f5b723995beab96e741"></a>
  869. <div class="memitem">
  870. <div class="memproto">
  871. <table class="memname">
  872. <tr>
  873. <td class="memname">void QCPAxis::setAutoTickStep </td>
  874. <td>(</td>
  875. <td class="paramtype">bool&#160;</td>
  876. <td class="paramname"><em>on</em></td><td>)</td>
  877. <td></td>
  878. </tr>
  879. </table>
  880. </div><div class="memdoc">
  881. <p>Sets whether the tick step, i.e. the interval between two (major) ticks, is calculated automatically. If <em>on</em> is set to true, the axis finds a tick step that is reasonable for human readable plots.</p>
  882. <p>The number of ticks the algorithm aims for within the visible range can be specified with <a class="el" href="classQCPAxis.html#a7c7111cbeac9ec5fcb40f93a1ef51a0b">setAutoTickCount</a>.</p>
  883. <p>If <em>on</em> is set to false, you may set the tick step manually with <a class="el" href="classQCPAxis.html#af727db0acc6492c4c774c0700e738205">setTickStep</a>.</p>
  884. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxis.html#ae867c23d3a6a7bd4d09cc66c5d018f63">setAutoTicks</a>, <a class="el" href="classQCPAxis.html#adcbdec7a60054b88571e89599f4a45bf">setAutoSubTicks</a>, <a class="el" href="classQCPAxis.html#a7c7111cbeac9ec5fcb40f93a1ef51a0b">setAutoTickCount</a> </dd></dl>
  885. </div>
  886. </div>
  887. <a class="anchor" id="adcbdec7a60054b88571e89599f4a45bf"></a>
  888. <div class="memitem">
  889. <div class="memproto">
  890. <table class="memname">
  891. <tr>
  892. <td class="memname">void QCPAxis::setAutoSubTicks </td>
  893. <td>(</td>
  894. <td class="paramtype">bool&#160;</td>
  895. <td class="paramname"><em>on</em></td><td>)</td>
  896. <td></td>
  897. </tr>
  898. </table>
  899. </div><div class="memdoc">
  900. <p>Sets whether the number of sub ticks in one tick interval is determined automatically. This works, as long as the tick step mantissa is a multiple of 0.5. When <a class="el" href="classQCPAxis.html#a99fe77b034e06f5b723995beab96e741">setAutoTickStep</a> is enabled, this is always the case.</p>
  901. <p>When <em>on</em> is set to false, you may set the sub tick count with <a class="el" href="classQCPAxis.html#a4b1554ead9d7f9799650d51383e326dd">setSubTickCount</a> manually.</p>
  902. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxis.html#a7c7111cbeac9ec5fcb40f93a1ef51a0b">setAutoTickCount</a>, <a class="el" href="classQCPAxis.html#ae867c23d3a6a7bd4d09cc66c5d018f63">setAutoTicks</a>, <a class="el" href="classQCPAxis.html#a99fe77b034e06f5b723995beab96e741">setAutoTickStep</a> </dd></dl>
  903. </div>
  904. </div>
  905. <a class="anchor" id="ac891409315bc379e3b1abdb162c1a011"></a>
  906. <div class="memitem">
  907. <div class="memproto">
  908. <table class="memname">
  909. <tr>
  910. <td class="memname">void QCPAxis::setTicks </td>
  911. <td>(</td>
  912. <td class="paramtype">bool&#160;</td>
  913. <td class="paramname"><em>show</em></td><td>)</td>
  914. <td></td>
  915. </tr>
  916. </table>
  917. </div><div class="memdoc">
  918. <p>Sets whether tick marks are displayed.</p>
  919. <p>Note that setting <em>show</em> to false does not imply that tick labels are invisible, too. To achieve that, see <a class="el" href="classQCPAxis.html#a04ba16e1f6f78d70f938519576ed32c8">setTickLabels</a>. </p>
  920. </div>
  921. </div>
  922. <a class="anchor" id="a04ba16e1f6f78d70f938519576ed32c8"></a>
  923. <div class="memitem">
  924. <div class="memproto">
  925. <table class="memname">
  926. <tr>
  927. <td class="memname">void QCPAxis::setTickLabels </td>
  928. <td>(</td>
  929. <td class="paramtype">bool&#160;</td>
  930. <td class="paramname"><em>show</em></td><td>)</td>
  931. <td></td>
  932. </tr>
  933. </table>
  934. </div><div class="memdoc">
  935. <p>Sets whether tick labels are displayed. Tick labels are the numbers drawn next to tick marks. </p>
  936. </div>
  937. </div>
  938. <a class="anchor" id="af302c479af9dbc2e9f0e44e07c0012ee"></a>
  939. <div class="memitem">
  940. <div class="memproto">
  941. <table class="memname">
  942. <tr>
  943. <td class="memname">void QCPAxis::setTickLabelPadding </td>
  944. <td>(</td>
  945. <td class="paramtype">int&#160;</td>
  946. <td class="paramname"><em>padding</em></td><td>)</td>
  947. <td></td>
  948. </tr>
  949. </table>
  950. </div><div class="memdoc">
  951. <p>Sets the distance between the axis base line (including any outward ticks) and the tick labels. </p>
  952. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxis.html#a4391192a766e5d20cfe5cbc17607a7a2">setLabelPadding</a>, <a class="el" href="classQCPAxis.html#a5691441cb3de9e9844855d339c0db279">setPadding</a> </dd></dl>
  953. </div>
  954. </div>
  955. <a class="anchor" id="a54f24f5ce8feea25209388a863d7e448"></a>
  956. <div class="memitem">
  957. <div class="memproto">
  958. <table class="memname">
  959. <tr>
  960. <td class="memname">void QCPAxis::setTickLabelType </td>
  961. <td>(</td>
  962. <td class="paramtype"><a class="el" href="classQCPAxis.html#a4a7da0166f755f5abac23b765d184cad">LabelType</a>&#160;</td>
  963. <td class="paramname"><em>type</em></td><td>)</td>
  964. <td></td>
  965. </tr>
  966. </table>
  967. </div><div class="memdoc">
  968. <p>Sets whether the tick labels display numbers or dates/times.</p>
  969. <p>If <em>type</em> is set to <a class="el" href="classQCPAxis.html#a4a7da0166f755f5abac23b765d184cada7f1eacf3b73adaefd334bea04e094b7e">ltNumber</a>, the format specifications of <a class="el" href="classQCPAxis.html#ae585a54dc2aac662e90a2ca82f002590">setNumberFormat</a> apply.</p>
  970. <p>If <em>type</em> is set to <a class="el" href="classQCPAxis.html#a4a7da0166f755f5abac23b765d184cadafc70594a9d877124dd11ccc187d4ac52">ltDateTime</a>, the format specifications of <a class="el" href="classQCPAxis.html#a2ee0191daa03524a682113e63e05f7a7">setDateTimeFormat</a> apply.</p>
  971. <p>In <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>, date/time coordinates are <code>double</code> numbers representing the seconds since 1970-01-01T00:00:00 UTC. This format can be retrieved from QDateTime objects with the QDateTime::toTime_t() function. Since this only gives a resolution of one second, there is also the QDateTime::toMSecsSinceEpoch() function which returns the timespan described above in milliseconds. Divide its return value by 1000.0 to get a value with the format needed for date/time plotting, with a resolution of one millisecond.</p>
  972. <p>Using the toMSecsSinceEpoch function allows dates that go back to 2nd January 4713 B.C. (represented by a negative number), unlike the toTime_t function, which works with unsigned integers and thus only goes back to 1st January 1970. So both for range and accuracy, use of toMSecsSinceEpoch()/1000.0 should be preferred as key coordinate for date/time axes.</p>
  973. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxis.html#a04ba16e1f6f78d70f938519576ed32c8">setTickLabels</a> </dd></dl>
  974. </div>
  975. </div>
  976. <a class="anchor" id="a2b8690c4e8dbc39d9185d2b398ce7a6c"></a>
  977. <div class="memitem">
  978. <div class="memproto">
  979. <table class="memname">
  980. <tr>
  981. <td class="memname">void QCPAxis::setTickLabelFont </td>
  982. <td>(</td>
  983. <td class="paramtype">const QFont &amp;&#160;</td>
  984. <td class="paramname"><em>font</em></td><td>)</td>
  985. <td></td>
  986. </tr>
  987. </table>
  988. </div><div class="memdoc">
  989. <p>Sets the font of the tick labels.</p>
  990. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxis.html#a04ba16e1f6f78d70f938519576ed32c8">setTickLabels</a>, <a class="el" href="classQCPAxis.html#a395e445c3fe496b935bee7b911ecfd1c">setTickLabelColor</a> </dd></dl>
  991. </div>
  992. </div>
  993. <a class="anchor" id="a395e445c3fe496b935bee7b911ecfd1c"></a>
  994. <div class="memitem">
  995. <div class="memproto">
  996. <table class="memname">
  997. <tr>
  998. <td class="memname">void QCPAxis::setTickLabelColor </td>
  999. <td>(</td>
  1000. <td class="paramtype">const QColor &amp;&#160;</td>
  1001. <td class="paramname"><em>color</em></td><td>)</td>
  1002. <td></td>
  1003. </tr>
  1004. </table>
  1005. </div><div class="memdoc">
  1006. <p>Sets the color of the tick labels.</p>
  1007. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxis.html#a04ba16e1f6f78d70f938519576ed32c8">setTickLabels</a>, <a class="el" href="classQCPAxis.html#a2b8690c4e8dbc39d9185d2b398ce7a6c">setTickLabelFont</a> </dd></dl>
  1008. </div>
  1009. </div>
  1010. <a class="anchor" id="a1bddd4413df8a576b7ad4b067fb33375"></a>
  1011. <div class="memitem">
  1012. <div class="memproto">
  1013. <table class="memname">
  1014. <tr>
  1015. <td class="memname">void QCPAxis::setTickLabelRotation </td>
  1016. <td>(</td>
  1017. <td class="paramtype">double&#160;</td>
  1018. <td class="paramname"><em>degrees</em></td><td>)</td>
  1019. <td></td>
  1020. </tr>
  1021. </table>
  1022. </div><div class="memdoc">
  1023. <p>Sets the rotation of the tick labels. If <em>degrees</em> is zero, the labels are drawn normally. Else, the tick labels are drawn rotated by <em>degrees</em> clockwise. The specified angle is bound to values from -90 to 90 degrees.</p>
  1024. <p>If <em>degrees</em> is exactly -90, 0 or 90, the tick labels are centered on the tick coordinate. For other angles, the label is drawn with an offset such that it seems to point toward or away from the tick mark. </p>
  1025. </div>
  1026. </div>
  1027. <a class="anchor" id="a13ec644fc6e22715744c92c6dfa4f0fa"></a>
  1028. <div class="memitem">
  1029. <div class="memproto">
  1030. <table class="memname">
  1031. <tr>
  1032. <td class="memname">void QCPAxis::setTickLabelSide </td>
  1033. <td>(</td>
  1034. <td class="paramtype"><a class="el" href="classQCPAxis.html#a24b13374b9b8f75f47eed2ea78c37db9">LabelSide</a>&#160;</td>
  1035. <td class="paramname"><em>side</em></td><td>)</td>
  1036. <td></td>
  1037. </tr>
  1038. </table>
  1039. </div><div class="memdoc">
  1040. <p>Sets whether the tick labels (numbers) shall appear inside or outside the axis rect.</p>
  1041. <p>The usual and default setting is <a class="el" href="classQCPAxis.html#a24b13374b9b8f75f47eed2ea78c37db9a2eadb509fc0c9a8b35b85c86ec9f3c7a">lsOutside</a>. Very compact plots sometimes require tick labels to be inside the axis rect, to save space. If <em>side</em> is set to <a class="el" href="classQCPAxis.html#a24b13374b9b8f75f47eed2ea78c37db9aae7b027ac2839cf4ad611df30236fc3f">lsInside</a>, the tick labels appear on the inside are additionally clipped to the axis rect. </p>
  1042. </div>
  1043. </div>
  1044. <a class="anchor" id="a2ee0191daa03524a682113e63e05f7a7"></a>
  1045. <div class="memitem">
  1046. <div class="memproto">
  1047. <table class="memname">
  1048. <tr>
  1049. <td class="memname">void QCPAxis::setDateTimeFormat </td>
  1050. <td>(</td>
  1051. <td class="paramtype">const QString &amp;&#160;</td>
  1052. <td class="paramname"><em>format</em></td><td>)</td>
  1053. <td></td>
  1054. </tr>
  1055. </table>
  1056. </div><div class="memdoc">
  1057. <p>Sets the format in which dates and times are displayed as tick labels, if <a class="el" href="classQCPAxis.html#a54f24f5ce8feea25209388a863d7e448">setTickLabelType</a> is <a class="el" href="classQCPAxis.html#a4a7da0166f755f5abac23b765d184cadafc70594a9d877124dd11ccc187d4ac52">ltDateTime</a>. for details about the <em>format</em> string, see the documentation of QDateTime::toString().</p>
  1058. <p>Newlines can be inserted with "\n".</p>
  1059. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxis.html#a262e06731debed7eee11fa6a81d67eaf">setDateTimeSpec</a> </dd></dl>
  1060. </div>
  1061. </div>
  1062. <a class="anchor" id="a262e06731debed7eee11fa6a81d67eaf"></a>
  1063. <div class="memitem">
  1064. <div class="memproto">
  1065. <table class="memname">
  1066. <tr>
  1067. <td class="memname">void QCPAxis::setDateTimeSpec </td>
  1068. <td>(</td>
  1069. <td class="paramtype">const Qt::TimeSpec &amp;&#160;</td>
  1070. <td class="paramname"><em>timeSpec</em></td><td>)</td>
  1071. <td></td>
  1072. </tr>
  1073. </table>
  1074. </div><div class="memdoc">
  1075. <p>Sets the time spec that is used for the date time values when <a class="el" href="classQCPAxis.html#a54f24f5ce8feea25209388a863d7e448">setTickLabelType</a> is <a class="el" href="classQCPAxis.html#a4a7da0166f755f5abac23b765d184cadafc70594a9d877124dd11ccc187d4ac52">ltDateTime</a>.</p>
  1076. <p>The default value of QDateTime objects (and also <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>) is <code>Qt::LocalTime</code>. However, if the date time values passed to <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> are given in the UTC spec, set <em>timeSpec</em> to <code>Qt::UTC</code> to get the correct axis labels.</p>
  1077. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxis.html#a2ee0191daa03524a682113e63e05f7a7">setDateTimeFormat</a> </dd></dl>
  1078. </div>
  1079. </div>
  1080. <a class="anchor" id="ae585a54dc2aac662e90a2ca82f002590"></a>
  1081. <div class="memitem">
  1082. <div class="memproto">
  1083. <table class="memname">
  1084. <tr>
  1085. <td class="memname">void QCPAxis::setNumberFormat </td>
  1086. <td>(</td>
  1087. <td class="paramtype">const QString &amp;&#160;</td>
  1088. <td class="paramname"><em>formatCode</em></td><td>)</td>
  1089. <td></td>
  1090. </tr>
  1091. </table>
  1092. </div><div class="memdoc">
  1093. <p>Sets the number format for the numbers drawn as tick labels (if tick label type is <a class="el" href="classQCPAxis.html#a4a7da0166f755f5abac23b765d184cada7f1eacf3b73adaefd334bea04e094b7e">ltNumber</a>). This <em>formatCode</em> is an extended version of the format code used e.g. by QString::number() and QLocale::toString(). For reference about that, see the "Argument Formats" section in the detailed description of the QString class. <em>formatCode</em> is a string of one, two or three characters. The first character is identical to the normal format code used by Qt. In short, this means: 'e'/'E' scientific format, 'f' fixed format, 'g'/'G' scientific or fixed, whichever is shorter.</p>
  1094. <p>The second and third characters are optional and specific to <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>:<br/>
  1095. If the first char was 'e' or 'g', numbers are/might be displayed in the scientific format, e.g. "5.5e9", which is ugly in a plot. So when the second char of <em>formatCode</em> is set to 'b' (for "beautiful"), those exponential numbers are formatted in a more natural way, i.e. "5.5
  1096. [multiplication sign] 10 [superscript] 9". By default, the multiplication sign is a centered dot. If instead a cross should be shown (as is usual in the USA), the third char of <em>formatCode</em> can be set to 'c'. The inserted multiplication signs are the UTF-8 characters 215 (0xD7) for the cross and 183 (0xB7) for the dot.</p>
  1097. <p>If the scale type (<a class="el" href="classQCPAxis.html#adef29cae617af4f519f6c40d1a866ca6">setScaleType</a>) is <a class="el" href="classQCPAxis.html#a36d8e8658dbaa179bf2aeb973db2d6f0abf5b785ad976618816dc6f79b73216d4">stLogarithmic</a> and the <em>formatCode</em> uses the 'b' option (beautifully typeset decimal powers), the display usually is "1 [multiplication sign] 10
  1098. [superscript] n", which looks unnatural for logarithmic scaling (the "1 [multiplication sign]" part). To only display the decimal power, set the number precision to zero with <a class="el" href="classQCPAxis.html#a21dc8023ad7500382ad9574b48137e63">setNumberPrecision</a>.</p>
  1099. <p>Examples for <em>formatCode:</em> </p>
  1100. <ul>
  1101. <li><code>g</code> normal format code behaviour. If number is small, fixed format is used, if number is large, normal scientific format is used </li>
  1102. <li><code>gb</code> If number is small, fixed format is used, if number is large, scientific format is used with beautifully typeset decimal powers and a dot as multiplication sign </li>
  1103. <li><code>ebc</code> All numbers are in scientific format with beautifully typeset decimal power and a cross as multiplication sign </li>
  1104. <li><code>fb</code> illegal format code, since fixed format doesn't support (or need) beautifully typeset decimal powers. Format code will be reduced to 'f'. </li>
  1105. <li><code>hello</code> illegal format code, since first char is not 'e', 'E', 'f', 'g' or 'G'. Current format code will not be changed. </li>
  1106. </ul>
  1107. </div>
  1108. </div>
  1109. <a class="anchor" id="a21dc8023ad7500382ad9574b48137e63"></a>
  1110. <div class="memitem">
  1111. <div class="memproto">
  1112. <table class="memname">
  1113. <tr>
  1114. <td class="memname">void QCPAxis::setNumberPrecision </td>
  1115. <td>(</td>
  1116. <td class="paramtype">int&#160;</td>
  1117. <td class="paramname"><em>precision</em></td><td>)</td>
  1118. <td></td>
  1119. </tr>
  1120. </table>
  1121. </div><div class="memdoc">
  1122. <p>Sets the precision of the tick label numbers. See QLocale::toString(double i, char f, int prec) for details. The effect of precisions are most notably for number Formats starting with 'e', see <a class="el" href="classQCPAxis.html#ae585a54dc2aac662e90a2ca82f002590">setNumberFormat</a></p>
  1123. <p>If the scale type (<a class="el" href="classQCPAxis.html#adef29cae617af4f519f6c40d1a866ca6">setScaleType</a>) is <a class="el" href="classQCPAxis.html#a36d8e8658dbaa179bf2aeb973db2d6f0abf5b785ad976618816dc6f79b73216d4">stLogarithmic</a> and the number format (<a class="el" href="classQCPAxis.html#ae585a54dc2aac662e90a2ca82f002590">setNumberFormat</a>) uses the 'b' format code (beautifully typeset decimal powers), the display usually is "1 [multiplication sign] 10 [superscript] n", which looks unnatural for logarithmic scaling (the redundant "1 [multiplication sign]" part). To only display the decimal power "10
  1124. [superscript] n", set <em>precision</em> to zero. </p>
  1125. </div>
  1126. </div>
  1127. <a class="anchor" id="af727db0acc6492c4c774c0700e738205"></a>
  1128. <div class="memitem">
  1129. <div class="memproto">
  1130. <table class="memname">
  1131. <tr>
  1132. <td class="memname">void QCPAxis::setTickStep </td>
  1133. <td>(</td>
  1134. <td class="paramtype">double&#160;</td>
  1135. <td class="paramname"><em>step</em></td><td>)</td>
  1136. <td></td>
  1137. </tr>
  1138. </table>
  1139. </div><div class="memdoc">
  1140. <p>If <a class="el" href="classQCPAxis.html#a99fe77b034e06f5b723995beab96e741">setAutoTickStep</a> is set to false, use this function to set the tick step manually. The tick step is the interval between (major) ticks, in plot coordinates. </p>
  1141. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxis.html#a4b1554ead9d7f9799650d51383e326dd">setSubTickCount</a> </dd></dl>
  1142. </div>
  1143. </div>
  1144. <a class="anchor" id="a871db94c5d796c80fcbe1a9d4506e27e"></a>
  1145. <div class="memitem">
  1146. <div class="memproto">
  1147. <table class="memname">
  1148. <tr>
  1149. <td class="memname">void QCPAxis::setTickVector </td>
  1150. <td>(</td>
  1151. <td class="paramtype">const QVector&lt; double &gt; &amp;&#160;</td>
  1152. <td class="paramname"><em>vec</em></td><td>)</td>
  1153. <td></td>
  1154. </tr>
  1155. </table>
  1156. </div><div class="memdoc">
  1157. <p>If you want full control over what ticks (and possibly labels) the axes show, this function is used to set the coordinates at which ticks will appear.<a class="el" href="classQCPAxis.html#ae867c23d3a6a7bd4d09cc66c5d018f63">setAutoTicks</a> must be disabled, else the provided tick vector will be overwritten with automatically generated tick coordinates upon replot. The labels of the ticks can be generated automatically when <a class="el" href="classQCPAxis.html#aaa47e3a6bac0c20d4beb9028f01bc1a1">setAutoTickLabels</a> is left enabled. If it is disabled, you can set the labels manually with <a class="el" href="classQCPAxis.html#a921d3ba3853ca3bd2cce3459f7a243ed">setTickVectorLabels</a>.</p>
  1158. <p><em>vec</em> is a vector containing the positions of the ticks, in plot coordinates.</p>
  1159. <dl class="section warning"><dt>Warning</dt><dd><em>vec</em> must be sorted in ascending order, no additional checks are made to ensure this.</dd></dl>
  1160. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxis.html#a921d3ba3853ca3bd2cce3459f7a243ed">setTickVectorLabels</a> </dd></dl>
  1161. </div>
  1162. </div>
  1163. <a class="anchor" id="a921d3ba3853ca3bd2cce3459f7a243ed"></a>
  1164. <div class="memitem">
  1165. <div class="memproto">
  1166. <table class="memname">
  1167. <tr>
  1168. <td class="memname">void QCPAxis::setTickVectorLabels </td>
  1169. <td>(</td>
  1170. <td class="paramtype">const QVector&lt; QString &gt; &amp;&#160;</td>
  1171. <td class="paramname"><em>vec</em></td><td>)</td>
  1172. <td></td>
  1173. </tr>
  1174. </table>
  1175. </div><div class="memdoc">
  1176. <p>If you want full control over what ticks and labels the axes show, this function is used to set a number of QStrings that will be displayed at the tick positions which you need to provide with <a class="el" href="classQCPAxis.html#a871db94c5d796c80fcbe1a9d4506e27e">setTickVector</a>. These two vectors should have the same size. (Note that you need to disable <a class="el" href="classQCPAxis.html#ae867c23d3a6a7bd4d09cc66c5d018f63">setAutoTicks</a> and <a class="el" href="classQCPAxis.html#aaa47e3a6bac0c20d4beb9028f01bc1a1">setAutoTickLabels</a> first.)</p>
  1177. <p><em>vec</em> is a vector containing the labels of the ticks. The entries correspond to the respective indices in the tick vector, passed via <a class="el" href="classQCPAxis.html#a871db94c5d796c80fcbe1a9d4506e27e">setTickVector</a>.</p>
  1178. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxis.html#a871db94c5d796c80fcbe1a9d4506e27e">setTickVector</a> </dd></dl>
  1179. </div>
  1180. </div>
  1181. <a class="anchor" id="a62ec40bebe3540e9c1479a8fd2be3b0d"></a>
  1182. <div class="memitem">
  1183. <div class="memproto">
  1184. <table class="memname">
  1185. <tr>
  1186. <td class="memname">void QCPAxis::setTickLength </td>
  1187. <td>(</td>
  1188. <td class="paramtype">int&#160;</td>
  1189. <td class="paramname"><em>inside</em>, </td>
  1190. </tr>
  1191. <tr>
  1192. <td class="paramkey"></td>
  1193. <td></td>
  1194. <td class="paramtype">int&#160;</td>
  1195. <td class="paramname"><em>outside</em> = <code>0</code>&#160;</td>
  1196. </tr>
  1197. <tr>
  1198. <td></td>
  1199. <td>)</td>
  1200. <td></td><td></td>
  1201. </tr>
  1202. </table>
  1203. </div><div class="memdoc">
  1204. <p>Sets the length of the ticks in pixels. <em>inside</em> is the length the ticks will reach inside the plot and <em>outside</em> is the length they will reach outside the plot. If <em>outside</em> is greater than zero, the tick labels and axis label will increase their distance to the axis accordingly, so they won't collide with the ticks.</p>
  1205. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxis.html#ab702d6fd42fc620607435339a1c2a2e1">setSubTickLength</a>, <a class="el" href="classQCPAxis.html#afae1a37a99611366275a51204d991739">setTickLengthIn</a>, <a class="el" href="classQCPAxis.html#a3b8a0debd1ffedd2c22d0592dfbb4e62">setTickLengthOut</a> </dd></dl>
  1206. </div>
  1207. </div>
  1208. <a class="anchor" id="afae1a37a99611366275a51204d991739"></a>
  1209. <div class="memitem">
  1210. <div class="memproto">
  1211. <table class="memname">
  1212. <tr>
  1213. <td class="memname">void QCPAxis::setTickLengthIn </td>
  1214. <td>(</td>
  1215. <td class="paramtype">int&#160;</td>
  1216. <td class="paramname"><em>inside</em></td><td>)</td>
  1217. <td></td>
  1218. </tr>
  1219. </table>
  1220. </div><div class="memdoc">
  1221. <p>Sets the length of the inward ticks in pixels. <em>inside</em> is the length the ticks will reach inside the plot.</p>
  1222. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxis.html#a3b8a0debd1ffedd2c22d0592dfbb4e62">setTickLengthOut</a>, <a class="el" href="classQCPAxis.html#a62ec40bebe3540e9c1479a8fd2be3b0d">setTickLength</a>, <a class="el" href="classQCPAxis.html#ab702d6fd42fc620607435339a1c2a2e1">setSubTickLength</a> </dd></dl>
  1223. </div>
  1224. </div>
  1225. <a class="anchor" id="a3b8a0debd1ffedd2c22d0592dfbb4e62"></a>
  1226. <div class="memitem">
  1227. <div class="memproto">
  1228. <table class="memname">
  1229. <tr>
  1230. <td class="memname">void QCPAxis::setTickLengthOut </td>
  1231. <td>(</td>
  1232. <td class="paramtype">int&#160;</td>
  1233. <td class="paramname"><em>outside</em></td><td>)</td>
  1234. <td></td>
  1235. </tr>
  1236. </table>
  1237. </div><div class="memdoc">
  1238. <p>Sets the length of the outward ticks in pixels. <em>outside</em> is the length the ticks will reach outside the plot. If <em>outside</em> is greater than zero, the tick labels and axis label will increase their distance to the axis accordingly, so they won't collide with the ticks.</p>
  1239. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxis.html#afae1a37a99611366275a51204d991739">setTickLengthIn</a>, <a class="el" href="classQCPAxis.html#a62ec40bebe3540e9c1479a8fd2be3b0d">setTickLength</a>, <a class="el" href="classQCPAxis.html#ab702d6fd42fc620607435339a1c2a2e1">setSubTickLength</a> </dd></dl>
  1240. </div>
  1241. </div>
  1242. <a class="anchor" id="a4b1554ead9d7f9799650d51383e326dd"></a>
  1243. <div class="memitem">
  1244. <div class="memproto">
  1245. <table class="memname">
  1246. <tr>
  1247. <td class="memname">void QCPAxis::setSubTickCount </td>
  1248. <td>(</td>
  1249. <td class="paramtype">int&#160;</td>
  1250. <td class="paramname"><em>count</em></td><td>)</td>
  1251. <td></td>
  1252. </tr>
  1253. </table>
  1254. </div><div class="memdoc">
  1255. <p>Sets the number of sub ticks in one (major) tick step. A sub tick count of three for example, divides the tick intervals in four sub intervals.</p>
  1256. <p>By default, the number of sub ticks is chosen automatically in a reasonable manner as long as the mantissa of the tick step is a multiple of 0.5. When <a class="el" href="classQCPAxis.html#a99fe77b034e06f5b723995beab96e741">setAutoTickStep</a> is enabled, this is always the case.</p>
  1257. <p>If you want to disable automatic sub tick count and use this function to set the count manually, see <a class="el" href="classQCPAxis.html#adcbdec7a60054b88571e89599f4a45bf">setAutoSubTicks</a>. </p>
  1258. </div>
  1259. </div>
  1260. <a class="anchor" id="ab702d6fd42fc620607435339a1c2a2e1"></a>
  1261. <div class="memitem">
  1262. <div class="memproto">
  1263. <table class="memname">
  1264. <tr>
  1265. <td class="memname">void QCPAxis::setSubTickLength </td>
  1266. <td>(</td>
  1267. <td class="paramtype">int&#160;</td>
  1268. <td class="paramname"><em>inside</em>, </td>
  1269. </tr>
  1270. <tr>
  1271. <td class="paramkey"></td>
  1272. <td></td>
  1273. <td class="paramtype">int&#160;</td>
  1274. <td class="paramname"><em>outside</em> = <code>0</code>&#160;</td>
  1275. </tr>
  1276. <tr>
  1277. <td></td>
  1278. <td>)</td>
  1279. <td></td><td></td>
  1280. </tr>
  1281. </table>
  1282. </div><div class="memdoc">
  1283. <p>Sets the length of the subticks in pixels. <em>inside</em> is the length the subticks will reach inside the plot and <em>outside</em> is the length they will reach outside the plot. If <em>outside</em> is greater than zero, the tick labels and axis label will increase their distance to the axis accordingly, so they won't collide with the ticks.</p>
  1284. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxis.html#a62ec40bebe3540e9c1479a8fd2be3b0d">setTickLength</a>, <a class="el" href="classQCPAxis.html#ac46fa2a993a9f5789540977610acf1de">setSubTickLengthIn</a>, <a class="el" href="classQCPAxis.html#a4c6dfc3963492ed72a77724012df5f23">setSubTickLengthOut</a> </dd></dl>
  1285. </div>
  1286. </div>
  1287. <a class="anchor" id="ac46fa2a993a9f5789540977610acf1de"></a>
  1288. <div class="memitem">
  1289. <div class="memproto">
  1290. <table class="memname">
  1291. <tr>
  1292. <td class="memname">void QCPAxis::setSubTickLengthIn </td>
  1293. <td>(</td>
  1294. <td class="paramtype">int&#160;</td>
  1295. <td class="paramname"><em>inside</em></td><td>)</td>
  1296. <td></td>
  1297. </tr>
  1298. </table>
  1299. </div><div class="memdoc">
  1300. <p>Sets the length of the inward subticks in pixels. <em>inside</em> is the length the subticks will reach inside the plot.</p>
  1301. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxis.html#a4c6dfc3963492ed72a77724012df5f23">setSubTickLengthOut</a>, <a class="el" href="classQCPAxis.html#ab702d6fd42fc620607435339a1c2a2e1">setSubTickLength</a>, <a class="el" href="classQCPAxis.html#a62ec40bebe3540e9c1479a8fd2be3b0d">setTickLength</a> </dd></dl>
  1302. </div>
  1303. </div>
  1304. <a class="anchor" id="a4c6dfc3963492ed72a77724012df5f23"></a>
  1305. <div class="memitem">
  1306. <div class="memproto">
  1307. <table class="memname">
  1308. <tr>
  1309. <td class="memname">void QCPAxis::setSubTickLengthOut </td>
  1310. <td>(</td>
  1311. <td class="paramtype">int&#160;</td>
  1312. <td class="paramname"><em>outside</em></td><td>)</td>
  1313. <td></td>
  1314. </tr>
  1315. </table>
  1316. </div><div class="memdoc">
  1317. <p>Sets the length of the outward subticks in pixels. <em>outside</em> is the length the subticks will reach outside the plot. If <em>outside</em> is greater than zero, the tick labels will increase their distance to the axis accordingly, so they won't collide with the ticks.</p>
  1318. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxis.html#ac46fa2a993a9f5789540977610acf1de">setSubTickLengthIn</a>, <a class="el" href="classQCPAxis.html#ab702d6fd42fc620607435339a1c2a2e1">setSubTickLength</a>, <a class="el" href="classQCPAxis.html#a62ec40bebe3540e9c1479a8fd2be3b0d">setTickLength</a> </dd></dl>
  1319. </div>
  1320. </div>
  1321. <a class="anchor" id="a778d45fb71b3c7ab3bb7079e18b058e4"></a>
  1322. <div class="memitem">
  1323. <div class="memproto">
  1324. <table class="memname">
  1325. <tr>
  1326. <td class="memname">void QCPAxis::setBasePen </td>
  1327. <td>(</td>
  1328. <td class="paramtype">const QPen &amp;&#160;</td>
  1329. <td class="paramname"><em>pen</em></td><td>)</td>
  1330. <td></td>
  1331. </tr>
  1332. </table>
  1333. </div><div class="memdoc">
  1334. <p>Sets the pen, the axis base line is drawn with.</p>
  1335. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxis.html#ad80923bcc1c5da4c4db602c5325e797e">setTickPen</a>, <a class="el" href="classQCPAxis.html#aede4028ae7516bd51a60618a8233f9cf">setSubTickPen</a> </dd></dl>
  1336. </div>
  1337. </div>
  1338. <a class="anchor" id="ad80923bcc1c5da4c4db602c5325e797e"></a>
  1339. <div class="memitem">
  1340. <div class="memproto">
  1341. <table class="memname">
  1342. <tr>
  1343. <td class="memname">void QCPAxis::setTickPen </td>
  1344. <td>(</td>
  1345. <td class="paramtype">const QPen &amp;&#160;</td>
  1346. <td class="paramname"><em>pen</em></td><td>)</td>
  1347. <td></td>
  1348. </tr>
  1349. </table>
  1350. </div><div class="memdoc">
  1351. <p>Sets the pen, tick marks will be drawn with.</p>
  1352. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxis.html#a62ec40bebe3540e9c1479a8fd2be3b0d">setTickLength</a>, <a class="el" href="classQCPAxis.html#a778d45fb71b3c7ab3bb7079e18b058e4">setBasePen</a> </dd></dl>
  1353. </div>
  1354. </div>
  1355. <a class="anchor" id="aede4028ae7516bd51a60618a8233f9cf"></a>
  1356. <div class="memitem">
  1357. <div class="memproto">
  1358. <table class="memname">
  1359. <tr>
  1360. <td class="memname">void QCPAxis::setSubTickPen </td>
  1361. <td>(</td>
  1362. <td class="paramtype">const QPen &amp;&#160;</td>
  1363. <td class="paramname"><em>pen</em></td><td>)</td>
  1364. <td></td>
  1365. </tr>
  1366. </table>
  1367. </div><div class="memdoc">
  1368. <p>Sets the pen, subtick marks will be drawn with.</p>
  1369. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxis.html#a4b1554ead9d7f9799650d51383e326dd">setSubTickCount</a>, <a class="el" href="classQCPAxis.html#ab702d6fd42fc620607435339a1c2a2e1">setSubTickLength</a>, <a class="el" href="classQCPAxis.html#a778d45fb71b3c7ab3bb7079e18b058e4">setBasePen</a> </dd></dl>
  1370. </div>
  1371. </div>
  1372. <a class="anchor" id="a71ac1a47f7547e490a8c4311d1433cf3"></a>
  1373. <div class="memitem">
  1374. <div class="memproto">
  1375. <table class="memname">
  1376. <tr>
  1377. <td class="memname">void QCPAxis::setLabelFont </td>
  1378. <td>(</td>
  1379. <td class="paramtype">const QFont &amp;&#160;</td>
  1380. <td class="paramname"><em>font</em></td><td>)</td>
  1381. <td></td>
  1382. </tr>
  1383. </table>
  1384. </div><div class="memdoc">
  1385. <p>Sets the font of the axis label.</p>
  1386. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxis.html#a6c906fe56d75f0122335b9f79b999608">setLabelColor</a> </dd></dl>
  1387. </div>
  1388. </div>
  1389. <a class="anchor" id="a6c906fe56d75f0122335b9f79b999608"></a>
  1390. <div class="memitem">
  1391. <div class="memproto">
  1392. <table class="memname">
  1393. <tr>
  1394. <td class="memname">void QCPAxis::setLabelColor </td>
  1395. <td>(</td>
  1396. <td class="paramtype">const QColor &amp;&#160;</td>
  1397. <td class="paramname"><em>color</em></td><td>)</td>
  1398. <td></td>
  1399. </tr>
  1400. </table>
  1401. </div><div class="memdoc">
  1402. <p>Sets the color of the axis label.</p>
  1403. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxis.html#a71ac1a47f7547e490a8c4311d1433cf3">setLabelFont</a> </dd></dl>
  1404. </div>
  1405. </div>
  1406. <a class="anchor" id="a33bcc382c111c9f31bb0687352a2dea4"></a>
  1407. <div class="memitem">
  1408. <div class="memproto">
  1409. <table class="memname">
  1410. <tr>
  1411. <td class="memname">void QCPAxis::setLabel </td>
  1412. <td>(</td>
  1413. <td class="paramtype">const QString &amp;&#160;</td>
  1414. <td class="paramname"><em>str</em></td><td>)</td>
  1415. <td></td>
  1416. </tr>
  1417. </table>
  1418. </div><div class="memdoc">
  1419. <p>Sets the text of the axis label that will be shown below/above or next to the axis, depending on its orientation. To disable axis labels, pass an empty string as <em>str</em>. </p>
  1420. </div>
  1421. </div>
  1422. <a class="anchor" id="a4391192a766e5d20cfe5cbc17607a7a2"></a>
  1423. <div class="memitem">
  1424. <div class="memproto">
  1425. <table class="memname">
  1426. <tr>
  1427. <td class="memname">void QCPAxis::setLabelPadding </td>
  1428. <td>(</td>
  1429. <td class="paramtype">int&#160;</td>
  1430. <td class="paramname"><em>padding</em></td><td>)</td>
  1431. <td></td>
  1432. </tr>
  1433. </table>
  1434. </div><div class="memdoc">
  1435. <p>Sets the distance between the tick labels and the axis label.</p>
  1436. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxis.html#af302c479af9dbc2e9f0e44e07c0012ee">setTickLabelPadding</a>, <a class="el" href="classQCPAxis.html#a5691441cb3de9e9844855d339c0db279">setPadding</a> </dd></dl>
  1437. </div>
  1438. </div>
  1439. <a class="anchor" id="a5691441cb3de9e9844855d339c0db279"></a>
  1440. <div class="memitem">
  1441. <div class="memproto">
  1442. <table class="memname">
  1443. <tr>
  1444. <td class="memname">void QCPAxis::setPadding </td>
  1445. <td>(</td>
  1446. <td class="paramtype">int&#160;</td>
  1447. <td class="paramname"><em>padding</em></td><td>)</td>
  1448. <td></td>
  1449. </tr>
  1450. </table>
  1451. </div><div class="memdoc">
  1452. <p>Sets the padding of the axis.</p>
  1453. <p>When <a class="el" href="classQCPLayoutElement.html#accfda49994e3e6d51ed14504abf9d27d">QCPAxisRect::setAutoMargins</a> is enabled, the padding is the additional outer most space, that is left blank.</p>
  1454. <p>The axis padding has no meaning if <a class="el" href="classQCPLayoutElement.html#accfda49994e3e6d51ed14504abf9d27d">QCPAxisRect::setAutoMargins</a> is disabled.</p>
  1455. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxis.html#a4391192a766e5d20cfe5cbc17607a7a2">setLabelPadding</a>, <a class="el" href="classQCPAxis.html#af302c479af9dbc2e9f0e44e07c0012ee">setTickLabelPadding</a> </dd></dl>
  1456. </div>
  1457. </div>
  1458. <a class="anchor" id="a04a652603cbe50eba9969ee6d68873c3"></a>
  1459. <div class="memitem">
  1460. <div class="memproto">
  1461. <table class="memname">
  1462. <tr>
  1463. <td class="memname">void QCPAxis::setOffset </td>
  1464. <td>(</td>
  1465. <td class="paramtype">int&#160;</td>
  1466. <td class="paramname"><em>offset</em></td><td>)</td>
  1467. <td></td>
  1468. </tr>
  1469. </table>
  1470. </div><div class="memdoc">
  1471. <p>Sets the offset the axis has to its axis rect side.</p>
  1472. <p>If an axis rect side has multiple axes and automatic margin calculation is enabled for that side, only the offset of the inner most axis has meaning (even if it is set to be invisible). The offset of the other, outer axes is controlled automatically, to place them at appropriate positions. </p>
  1473. </div>
  1474. </div>
  1475. <a class="anchor" id="a845ccb560b7bc5281098a5be494145f6"></a>
  1476. <div class="memitem">
  1477. <div class="memproto">
  1478. <table class="memname">
  1479. <tr>
  1480. <td class="memname">void QCPAxis::setSelectedTickLabelFont </td>
  1481. <td>(</td>
  1482. <td class="paramtype">const QFont &amp;&#160;</td>
  1483. <td class="paramname"><em>font</em></td><td>)</td>
  1484. <td></td>
  1485. </tr>
  1486. </table>
  1487. </div><div class="memdoc">
  1488. <p>Sets the font that is used for tick labels when they are selected.</p>
  1489. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxis.html#a2b8690c4e8dbc39d9185d2b398ce7a6c">setTickLabelFont</a>, <a class="el" href="classQCPAxis.html#a513f9b9e326c505d9bec54880031b085">setSelectableParts</a>, <a class="el" href="classQCPAxis.html#ab9d7a69277dcbed9119b3c1f25ca19c3">setSelectedParts</a>, <a class="el" href="classQCustomPlot.html#a5ee1e2f6ae27419deca53e75907c27e5">QCustomPlot::setInteractions</a> </dd></dl>
  1490. </div>
  1491. </div>
  1492. <a class="anchor" id="a02ec2a75d4d8401eaab834fbc6803d30"></a>
  1493. <div class="memitem">
  1494. <div class="memproto">
  1495. <table class="memname">
  1496. <tr>
  1497. <td class="memname">void QCPAxis::setSelectedLabelFont </td>
  1498. <td>(</td>
  1499. <td class="paramtype">const QFont &amp;&#160;</td>
  1500. <td class="paramname"><em>font</em></td><td>)</td>
  1501. <td></td>
  1502. </tr>
  1503. </table>
  1504. </div><div class="memdoc">
  1505. <p>Sets the font that is used for the axis label when it is selected.</p>
  1506. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxis.html#a71ac1a47f7547e490a8c4311d1433cf3">setLabelFont</a>, <a class="el" href="classQCPAxis.html#a513f9b9e326c505d9bec54880031b085">setSelectableParts</a>, <a class="el" href="classQCPAxis.html#ab9d7a69277dcbed9119b3c1f25ca19c3">setSelectedParts</a>, <a class="el" href="classQCustomPlot.html#a5ee1e2f6ae27419deca53e75907c27e5">QCustomPlot::setInteractions</a> </dd></dl>
  1507. </div>
  1508. </div>
  1509. <a class="anchor" id="a9bdbf5e63ab15187f3a1de9440129227"></a>
  1510. <div class="memitem">
  1511. <div class="memproto">
  1512. <table class="memname">
  1513. <tr>
  1514. <td class="memname">void QCPAxis::setSelectedTickLabelColor </td>
  1515. <td>(</td>
  1516. <td class="paramtype">const QColor &amp;&#160;</td>
  1517. <td class="paramname"><em>color</em></td><td>)</td>
  1518. <td></td>
  1519. </tr>
  1520. </table>
  1521. </div><div class="memdoc">
  1522. <p>Sets the color that is used for tick labels when they are selected.</p>
  1523. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxis.html#a395e445c3fe496b935bee7b911ecfd1c">setTickLabelColor</a>, <a class="el" href="classQCPAxis.html#a513f9b9e326c505d9bec54880031b085">setSelectableParts</a>, <a class="el" href="classQCPAxis.html#ab9d7a69277dcbed9119b3c1f25ca19c3">setSelectedParts</a>, <a class="el" href="classQCustomPlot.html#a5ee1e2f6ae27419deca53e75907c27e5">QCustomPlot::setInteractions</a> </dd></dl>
  1524. </div>
  1525. </div>
  1526. <a class="anchor" id="a5d502dec597c634f491fdd73d151c72d"></a>
  1527. <div class="memitem">
  1528. <div class="memproto">
  1529. <table class="memname">
  1530. <tr>
  1531. <td class="memname">void QCPAxis::setSelectedLabelColor </td>
  1532. <td>(</td>
  1533. <td class="paramtype">const QColor &amp;&#160;</td>
  1534. <td class="paramname"><em>color</em></td><td>)</td>
  1535. <td></td>
  1536. </tr>
  1537. </table>
  1538. </div><div class="memdoc">
  1539. <p>Sets the color that is used for the axis label when it is selected.</p>
  1540. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxis.html#a6c906fe56d75f0122335b9f79b999608">setLabelColor</a>, <a class="el" href="classQCPAxis.html#a513f9b9e326c505d9bec54880031b085">setSelectableParts</a>, <a class="el" href="classQCPAxis.html#ab9d7a69277dcbed9119b3c1f25ca19c3">setSelectedParts</a>, <a class="el" href="classQCustomPlot.html#a5ee1e2f6ae27419deca53e75907c27e5">QCustomPlot::setInteractions</a> </dd></dl>
  1541. </div>
  1542. </div>
  1543. <a class="anchor" id="aeb917a909215605b95ef2be843de1ee8"></a>
  1544. <div class="memitem">
  1545. <div class="memproto">
  1546. <table class="memname">
  1547. <tr>
  1548. <td class="memname">void QCPAxis::setSelectedBasePen </td>
  1549. <td>(</td>
  1550. <td class="paramtype">const QPen &amp;&#160;</td>
  1551. <td class="paramname"><em>pen</em></td><td>)</td>
  1552. <td></td>
  1553. </tr>
  1554. </table>
  1555. </div><div class="memdoc">
  1556. <p>Sets the pen that is used to draw the axis base line when selected.</p>
  1557. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxis.html#a778d45fb71b3c7ab3bb7079e18b058e4">setBasePen</a>, <a class="el" href="classQCPAxis.html#a513f9b9e326c505d9bec54880031b085">setSelectableParts</a>, <a class="el" href="classQCPAxis.html#ab9d7a69277dcbed9119b3c1f25ca19c3">setSelectedParts</a>, <a class="el" href="classQCustomPlot.html#a5ee1e2f6ae27419deca53e75907c27e5">QCustomPlot::setInteractions</a> </dd></dl>
  1558. </div>
  1559. </div>
  1560. <a class="anchor" id="a8360502685eb782edbf04019c9345cdc"></a>
  1561. <div class="memitem">
  1562. <div class="memproto">
  1563. <table class="memname">
  1564. <tr>
  1565. <td class="memname">void QCPAxis::setSelectedTickPen </td>
  1566. <td>(</td>
  1567. <td class="paramtype">const QPen &amp;&#160;</td>
  1568. <td class="paramname"><em>pen</em></td><td>)</td>
  1569. <td></td>
  1570. </tr>
  1571. </table>
  1572. </div><div class="memdoc">
  1573. <p>Sets the pen that is used to draw the (major) ticks when selected.</p>
  1574. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxis.html#ad80923bcc1c5da4c4db602c5325e797e">setTickPen</a>, <a class="el" href="classQCPAxis.html#a513f9b9e326c505d9bec54880031b085">setSelectableParts</a>, <a class="el" href="classQCPAxis.html#ab9d7a69277dcbed9119b3c1f25ca19c3">setSelectedParts</a>, <a class="el" href="classQCustomPlot.html#a5ee1e2f6ae27419deca53e75907c27e5">QCustomPlot::setInteractions</a> </dd></dl>
  1575. </div>
  1576. </div>
  1577. <a class="anchor" id="a2a00a7166600155eac26843132eb9576"></a>
  1578. <div class="memitem">
  1579. <div class="memproto">
  1580. <table class="memname">
  1581. <tr>
  1582. <td class="memname">void QCPAxis::setSelectedSubTickPen </td>
  1583. <td>(</td>
  1584. <td class="paramtype">const QPen &amp;&#160;</td>
  1585. <td class="paramname"><em>pen</em></td><td>)</td>
  1586. <td></td>
  1587. </tr>
  1588. </table>
  1589. </div><div class="memdoc">
  1590. <p>Sets the pen that is used to draw the subticks when selected.</p>
  1591. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxis.html#aede4028ae7516bd51a60618a8233f9cf">setSubTickPen</a>, <a class="el" href="classQCPAxis.html#a513f9b9e326c505d9bec54880031b085">setSelectableParts</a>, <a class="el" href="classQCPAxis.html#ab9d7a69277dcbed9119b3c1f25ca19c3">setSelectedParts</a>, <a class="el" href="classQCustomPlot.html#a5ee1e2f6ae27419deca53e75907c27e5">QCustomPlot::setInteractions</a> </dd></dl>
  1592. </div>
  1593. </div>
  1594. <a class="anchor" id="a513f9b9e326c505d9bec54880031b085"></a>
  1595. <div class="memitem">
  1596. <div class="memproto">
  1597. <table class="memname">
  1598. <tr>
  1599. <td class="memname">void QCPAxis::setSelectableParts </td>
  1600. <td>(</td>
  1601. <td class="paramtype">const QCPAxis::SelectableParts &amp;&#160;</td>
  1602. <td class="paramname"><em>selectableParts</em></td><td>)</td>
  1603. <td></td>
  1604. </tr>
  1605. </table>
  1606. </div><div class="memdoc">
  1607. <p>Sets whether the user can (de-)select the parts in <em>selectable</em> by clicking 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. (When <a class="el" href="classQCustomPlot.html#a5ee1e2f6ae27419deca53e75907c27e5">QCustomPlot::setInteractions</a> contains iSelectAxes.)</p>
  1608. <p>However, even when <em>selectable</em> is set to a value not allowing the selection of a specific part, it is still possible to set the selection of this part manually, by calling <a class="el" href="classQCPAxis.html#ab9d7a69277dcbed9119b3c1f25ca19c3">setSelectedParts</a> directly.</p>
  1609. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxis.html#abee4c7a54c468b1385dfce2c898b115f">SelectablePart</a>, <a class="el" href="classQCPAxis.html#ab9d7a69277dcbed9119b3c1f25ca19c3">setSelectedParts</a> </dd></dl>
  1610. </div>
  1611. </div>
  1612. <a class="anchor" id="ab9d7a69277dcbed9119b3c1f25ca19c3"></a>
  1613. <div class="memitem">
  1614. <div class="memproto">
  1615. <table class="memname">
  1616. <tr>
  1617. <td class="memname">void QCPAxis::setSelectedParts </td>
  1618. <td>(</td>
  1619. <td class="paramtype">const QCPAxis::SelectableParts &amp;&#160;</td>
  1620. <td class="paramname"><em>selectedParts</em></td><td>)</td>
  1621. <td></td>
  1622. </tr>
  1623. </table>
  1624. </div><div class="memdoc">
  1625. <p>Sets the selected state of the respective axis parts described by <a class="el" href="classQCPAxis.html#abee4c7a54c468b1385dfce2c898b115f">SelectablePart</a>. When a part is selected, it uses a different pen/font.</p>
  1626. <p>The entire selection mechanism for axes is handled automatically when <a class="el" href="classQCustomPlot.html#a5ee1e2f6ae27419deca53e75907c27e5">QCustomPlot::setInteractions</a> contains iSelectAxes. You only need to call this function when you wish to change the selection state manually.</p>
  1627. <p>This function can change the selection state of a part, independent of the <a class="el" href="classQCPAxis.html#a513f9b9e326c505d9bec54880031b085">setSelectableParts</a> setting.</p>
  1628. <p>emits the <a class="el" href="classQCPAxis.html#a62b598abeee7174a05f9d542cc85b1f5">selectionChanged</a> signal when <em>selected</em> is different from the previous selection state.</p>
  1629. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxis.html#abee4c7a54c468b1385dfce2c898b115f">SelectablePart</a>, <a class="el" href="classQCPAxis.html#a513f9b9e326c505d9bec54880031b085">setSelectableParts</a>, <a class="el" href="classQCPAxis.html#a2877a6230920c118be65c6113089f467">selectTest</a>, <a class="el" href="classQCPAxis.html#aeb917a909215605b95ef2be843de1ee8">setSelectedBasePen</a>, <a class="el" href="classQCPAxis.html#a8360502685eb782edbf04019c9345cdc">setSelectedTickPen</a>, <a class="el" href="classQCPAxis.html#a2a00a7166600155eac26843132eb9576">setSelectedSubTickPen</a>, <a class="el" href="classQCPAxis.html#a845ccb560b7bc5281098a5be494145f6">setSelectedTickLabelFont</a>, <a class="el" href="classQCPAxis.html#a02ec2a75d4d8401eaab834fbc6803d30">setSelectedLabelFont</a>, <a class="el" href="classQCPAxis.html#a9bdbf5e63ab15187f3a1de9440129227">setSelectedTickLabelColor</a>, <a class="el" href="classQCPAxis.html#a5d502dec597c634f491fdd73d151c72d">setSelectedLabelColor</a> </dd></dl>
  1630. </div>
  1631. </div>
  1632. <a class="anchor" id="a08af1c72db9ae4dc8cb8a973d44405ab"></a>
  1633. <div class="memitem">
  1634. <div class="memproto">
  1635. <table class="memname">
  1636. <tr>
  1637. <td class="memname">void QCPAxis::setLowerEnding </td>
  1638. <td>(</td>
  1639. <td class="paramtype">const <a class="el" href="classQCPLineEnding.html">QCPLineEnding</a> &amp;&#160;</td>
  1640. <td class="paramname"><em>ending</em></td><td>)</td>
  1641. <td></td>
  1642. </tr>
  1643. </table>
  1644. </div><div class="memdoc">
  1645. <p>Sets the style for the lower axis ending. See the documentation of <a class="el" href="classQCPLineEnding.html" title="Handles the different ending decorations for line-like items. ">QCPLineEnding</a> for available styles.</p>
  1646. <p>For horizontal axes, this method refers to the left ending, for vertical axes the bottom ending. Note that this meaning does not change when the axis range is reversed with <a class="el" href="classQCPAxis.html#a2172fdb196b1a0dc3f40992fcad8e9e1">setRangeReversed</a>.</p>
  1647. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxis.html#a69119b892fc306f651763596685aa377">setUpperEnding</a> </dd></dl>
  1648. </div>
  1649. </div>
  1650. <a class="anchor" id="a69119b892fc306f651763596685aa377"></a>
  1651. <div class="memitem">
  1652. <div class="memproto">
  1653. <table class="memname">
  1654. <tr>
  1655. <td class="memname">void QCPAxis::setUpperEnding </td>
  1656. <td>(</td>
  1657. <td class="paramtype">const <a class="el" href="classQCPLineEnding.html">QCPLineEnding</a> &amp;&#160;</td>
  1658. <td class="paramname"><em>ending</em></td><td>)</td>
  1659. <td></td>
  1660. </tr>
  1661. </table>
  1662. </div><div class="memdoc">
  1663. <p>Sets the style for the upper axis ending. See the documentation of <a class="el" href="classQCPLineEnding.html" title="Handles the different ending decorations for line-like items. ">QCPLineEnding</a> for available styles.</p>
  1664. <p>For horizontal axes, this method refers to the right ending, for vertical axes the top ending. Note that this meaning does not change when the axis range is reversed with <a class="el" href="classQCPAxis.html#a2172fdb196b1a0dc3f40992fcad8e9e1">setRangeReversed</a>.</p>
  1665. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxis.html#a08af1c72db9ae4dc8cb8a973d44405ab">setLowerEnding</a> </dd></dl>
  1666. </div>
  1667. </div>
  1668. <a class="anchor" id="a2877a6230920c118be65c6113089f467"></a>
  1669. <div class="memitem">
  1670. <div class="memproto">
  1671. <table class="mlabels">
  1672. <tr>
  1673. <td class="mlabels-left">
  1674. <table class="memname">
  1675. <tr>
  1676. <td class="memname">double QCPAxis::selectTest </td>
  1677. <td>(</td>
  1678. <td class="paramtype">const QPointF &amp;&#160;</td>
  1679. <td class="paramname"><em>pos</em>, </td>
  1680. </tr>
  1681. <tr>
  1682. <td class="paramkey"></td>
  1683. <td></td>
  1684. <td class="paramtype">bool&#160;</td>
  1685. <td class="paramname"><em>onlySelectable</em>, </td>
  1686. </tr>
  1687. <tr>
  1688. <td class="paramkey"></td>
  1689. <td></td>
  1690. <td class="paramtype">QVariant *&#160;</td>
  1691. <td class="paramname"><em>details</em> = <code>0</code>&#160;</td>
  1692. </tr>
  1693. <tr>
  1694. <td></td>
  1695. <td>)</td>
  1696. <td></td><td> const</td>
  1697. </tr>
  1698. </table>
  1699. </td>
  1700. <td class="mlabels-right">
  1701. <span class="mlabels"><span class="mlabel">virtual</span></span> </td>
  1702. </tr>
  1703. </table>
  1704. </div><div class="memdoc">
  1705. <p>This function is used to decide whether a click hits a layerable object or not.</p>
  1706. <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>
  1707. <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>
  1708. <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>
  1709. <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>
  1710. <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="classQCPAxis.html#aa8a5fe80e2898ec08ada26b5fbee9eca">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="classQCPAxis.html#aa8a5fe80e2898ec08ada26b5fbee9eca">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="classQCPAxis.html#a2877a6230920c118be65c6113089f467">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="classQCPAxis.html#aa8a5fe80e2898ec08ada26b5fbee9eca">selectEvent</a>, the decision which part was selected doesn't have to be done a second time for a single selection operation.</p>
  1711. <p>You may pass 0 as <em>details</em> to indicate that you are not interested in those selection details.</p>
  1712. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxis.html#aa8a5fe80e2898ec08ada26b5fbee9eca">selectEvent</a>, <a class="el" href="classQCPAxis.html#a53512242cde6ec21943a3ba10dbf78c3">deselectEvent</a>, <a class="el" href="classQCustomPlot.html#a5ee1e2f6ae27419deca53e75907c27e5">QCustomPlot::setInteractions</a> </dd></dl>
  1713. <p>Reimplemented from <a class="el" href="classQCPLayerable.html#a4001c4d0dfec55598efa4d531f2179a9">QCPLayerable</a>.</p>
  1714. </div>
  1715. </div>
  1716. <a class="anchor" id="a57483f2f60145ddc9e63f3af53959265"></a>
  1717. <div class="memitem">
  1718. <div class="memproto">
  1719. <table class="mlabels">
  1720. <tr>
  1721. <td class="mlabels-left">
  1722. <table class="memname">
  1723. <tr>
  1724. <td class="memname">Qt::Orientation QCPAxis::orientation </td>
  1725. <td>(</td>
  1726. <td class="paramname"></td><td>)</td>
  1727. <td> const</td>
  1728. </tr>
  1729. </table>
  1730. </td>
  1731. <td class="mlabels-right">
  1732. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  1733. </tr>
  1734. </table>
  1735. </div><div class="memdoc">
  1736. <p>Returns the orientation of this axis. The axis orientation (horizontal or vertical) is deduced from the axis type (left, top, right or bottom).</p>
  1737. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxis.html#a9a68b3e45f1b1e33d4d807822342516c">orientation(AxisType type)</a> </dd></dl>
  1738. </div>
  1739. </div>
  1740. <a class="anchor" id="a18f3a68f2b691af1fd34b6593c886630"></a>
  1741. <div class="memitem">
  1742. <div class="memproto">
  1743. <table class="memname">
  1744. <tr>
  1745. <td class="memname">void QCPAxis::moveRange </td>
  1746. <td>(</td>
  1747. <td class="paramtype">double&#160;</td>
  1748. <td class="paramname"><em>diff</em></td><td>)</td>
  1749. <td></td>
  1750. </tr>
  1751. </table>
  1752. </div><div class="memdoc">
  1753. <p>If the scale type (<a class="el" href="classQCPAxis.html#adef29cae617af4f519f6c40d1a866ca6">setScaleType</a>) is <a class="el" href="classQCPAxis.html#a36d8e8658dbaa179bf2aeb973db2d6f0aff6e30a11a828bc850caffab0ff994f6">stLinear</a>, <em>diff</em> is added to the lower and upper bounds of the range. The range is simply moved by <em>diff</em>.</p>
  1754. <p>If the scale type is <a class="el" href="classQCPAxis.html#a36d8e8658dbaa179bf2aeb973db2d6f0abf5b785ad976618816dc6f79b73216d4">stLogarithmic</a>, the range bounds are multiplied by <em>diff</em>. This corresponds to an apparent "linear" move in logarithmic scaling by a distance of log(diff). </p>
  1755. </div>
  1756. </div>
  1757. <a class="anchor" id="a7072ff96fe690148f1bbcdb4f773ea1c"></a>
  1758. <div class="memitem">
  1759. <div class="memproto">
  1760. <table class="memname">
  1761. <tr>
  1762. <td class="memname">void QCPAxis::scaleRange </td>
  1763. <td>(</td>
  1764. <td class="paramtype">double&#160;</td>
  1765. <td class="paramname"><em>factor</em>, </td>
  1766. </tr>
  1767. <tr>
  1768. <td class="paramkey"></td>
  1769. <td></td>
  1770. <td class="paramtype">double&#160;</td>
  1771. <td class="paramname"><em>center</em>&#160;</td>
  1772. </tr>
  1773. <tr>
  1774. <td></td>
  1775. <td>)</td>
  1776. <td></td><td></td>
  1777. </tr>
  1778. </table>
  1779. </div><div class="memdoc">
  1780. <p>Scales the range of this axis by <em>factor</em> around the coordinate <em>center</em>. For example, if <em>factor</em> is 2.0, <em>center</em> is 1.0, then the axis range will double its size, and the point at coordinate 1.0 won't have changed its position in 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> widget (i.e. coordinates around 1.0 will have moved symmetrically closer to 1.0). </p>
  1781. </div>
  1782. </div>
  1783. <a class="anchor" id="af4bbd446dcaee5a83ac30ce9bcd6e125"></a>
  1784. <div class="memitem">
  1785. <div class="memproto">
  1786. <table class="memname">
  1787. <tr>
  1788. <td class="memname">void QCPAxis::setScaleRatio </td>
  1789. <td>(</td>
  1790. <td class="paramtype">const <a class="el" href="classQCPAxis.html">QCPAxis</a> *&#160;</td>
  1791. <td class="paramname"><em>otherAxis</em>, </td>
  1792. </tr>
  1793. <tr>
  1794. <td class="paramkey"></td>
  1795. <td></td>
  1796. <td class="paramtype">double&#160;</td>
  1797. <td class="paramname"><em>ratio</em> = <code>1.0</code>&#160;</td>
  1798. </tr>
  1799. <tr>
  1800. <td></td>
  1801. <td>)</td>
  1802. <td></td><td></td>
  1803. </tr>
  1804. </table>
  1805. </div><div class="memdoc">
  1806. <p>Scales the range of this axis to have a certain scale <em>ratio</em> to <em>otherAxis</em>. The scaling will be done around the center of the current axis range.</p>
  1807. <p>For example, if <em>ratio</em> is 1, this axis is the <em>yAxis</em> and <em>otherAxis</em> is <em>xAxis</em>, graphs plotted with those axes will appear in a 1:1 aspect ratio, independent of the aspect ratio the axis rect has.</p>
  1808. <p>This is an operation that changes the range of this axis once, it doesn't fix the scale ratio indefinitely. Note that calling this function in the constructor of 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>'s parent won't have the desired effect, since the widget dimensions aren't defined yet, and a resizeEvent will follow. </p>
  1809. </div>
  1810. </div>
  1811. <a class="anchor" id="a499345f02ebce4b23d8ccec96e58daa9"></a>
  1812. <div class="memitem">
  1813. <div class="memproto">
  1814. <table class="memname">
  1815. <tr>
  1816. <td class="memname">void QCPAxis::rescale </td>
  1817. <td>(</td>
  1818. <td class="paramtype">bool&#160;</td>
  1819. <td class="paramname"><em>onlyVisiblePlottables</em> = <code>false</code></td><td>)</td>
  1820. <td></td>
  1821. </tr>
  1822. </table>
  1823. </div><div class="memdoc">
  1824. <p>Changes the axis range such that all plottables associated with this axis are fully visible in that dimension.</p>
  1825. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAbstractPlottable.html#a7e8fc3be43c27ccacd70a7bf9d74a5cd">QCPAbstractPlottable::rescaleAxes</a>, <a class="el" href="classQCustomPlot.html#ad86528f2cee6c7e446dea4a6e8839935">QCustomPlot::rescaleAxes</a> </dd></dl>
  1826. </div>
  1827. </div>
  1828. <a class="anchor" id="ae9289ef7043b9d966af88eaa95b037d1"></a>
  1829. <div class="memitem">
  1830. <div class="memproto">
  1831. <table class="memname">
  1832. <tr>
  1833. <td class="memname">double QCPAxis::pixelToCoord </td>
  1834. <td>(</td>
  1835. <td class="paramtype">double&#160;</td>
  1836. <td class="paramname"><em>value</em></td><td>)</td>
  1837. <td> const</td>
  1838. </tr>
  1839. </table>
  1840. </div><div class="memdoc">
  1841. <p>Transforms <em>value</em>, in pixel coordinates of 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> widget, to axis coordinates. </p>
  1842. </div>
  1843. </div>
  1844. <a class="anchor" id="a985ae693b842fb0422b4390fe36d299a"></a>
  1845. <div class="memitem">
  1846. <div class="memproto">
  1847. <table class="memname">
  1848. <tr>
  1849. <td class="memname">double QCPAxis::coordToPixel </td>
  1850. <td>(</td>
  1851. <td class="paramtype">double&#160;</td>
  1852. <td class="paramname"><em>value</em></td><td>)</td>
  1853. <td> const</td>
  1854. </tr>
  1855. </table>
  1856. </div><div class="memdoc">
  1857. <p>Transforms <em>value</em>, in coordinates of the axis, to pixel coordinates of 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> widget. </p>
  1858. </div>
  1859. </div>
  1860. <a class="anchor" id="ab2965a8ab1da948b897f1c006080760b"></a>
  1861. <div class="memitem">
  1862. <div class="memproto">
  1863. <table class="memname">
  1864. <tr>
  1865. <td class="memname"><a class="el" href="classQCPAxis.html#abee4c7a54c468b1385dfce2c898b115f">QCPAxis::SelectablePart</a> QCPAxis::getPartAt </td>
  1866. <td>(</td>
  1867. <td class="paramtype">const QPointF &amp;&#160;</td>
  1868. <td class="paramname"><em>pos</em></td><td>)</td>
  1869. <td> const</td>
  1870. </tr>
  1871. </table>
  1872. </div><div class="memdoc">
  1873. <p>Returns the part of the axis that is hit by <em>pos</em> (in pixels). The return value of this function is independent of the user-selectable parts defined with <a class="el" href="classQCPAxis.html#a513f9b9e326c505d9bec54880031b085">setSelectableParts</a>. Further, this function does not change the current selection state of the axis.</p>
  1874. <p>If the axis is not visible (<a class="el" href="classQCPLayerable.html#a3bed99ddc396b48ce3ebfdc0418744f8">setVisible</a>), this function always returns <a class="el" href="classQCPAxis.html#abee4c7a54c468b1385dfce2c898b115fae0df8123a5528d5ccf87cb7794f971ea">spNone</a>.</p>
  1875. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxis.html#ab9d7a69277dcbed9119b3c1f25ca19c3">setSelectedParts</a>, <a class="el" href="classQCPAxis.html#a513f9b9e326c505d9bec54880031b085">setSelectableParts</a>, <a class="el" href="classQCustomPlot.html#a5ee1e2f6ae27419deca53e75907c27e5">QCustomPlot::setInteractions</a> </dd></dl>
  1876. </div>
  1877. </div>
  1878. <a class="anchor" id="a4f7404494cccdbfc00e1e865b7ed16a4"></a>
  1879. <div class="memitem">
  1880. <div class="memproto">
  1881. <table class="memname">
  1882. <tr>
  1883. <td class="memname">QList&lt; <a class="el" href="classQCPAbstractPlottable.html">QCPAbstractPlottable</a> * &gt; QCPAxis::plottables </td>
  1884. <td>(</td>
  1885. <td class="paramname"></td><td>)</td>
  1886. <td> const</td>
  1887. </tr>
  1888. </table>
  1889. </div><div class="memdoc">
  1890. <p>Returns a list of all the plottables that have this axis as key or value axis.</p>
  1891. <p>If you are only interested in plottables of type <a class="el" href="classQCPGraph.html" title="A plottable representing a graph in a plot. ">QCPGraph</a>, see <a class="el" href="classQCPAxis.html#ad3919e7d7400f55446ea82018fe5e3a8">graphs</a>.</p>
  1892. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxis.html#ad3919e7d7400f55446ea82018fe5e3a8">graphs</a>, <a class="el" href="classQCPAxis.html#ae437656a5fd1a03721a8f2d7aab460fe">items</a> </dd></dl>
  1893. </div>
  1894. </div>
  1895. <a class="anchor" id="ad3919e7d7400f55446ea82018fe5e3a8"></a>
  1896. <div class="memitem">
  1897. <div class="memproto">
  1898. <table class="memname">
  1899. <tr>
  1900. <td class="memname">QList&lt; <a class="el" href="classQCPGraph.html">QCPGraph</a> * &gt; QCPAxis::graphs </td>
  1901. <td>(</td>
  1902. <td class="paramname"></td><td>)</td>
  1903. <td> const</td>
  1904. </tr>
  1905. </table>
  1906. </div><div class="memdoc">
  1907. <p>Returns a list of all the graphs that have this axis as key or value axis.</p>
  1908. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxis.html#a4f7404494cccdbfc00e1e865b7ed16a4">plottables</a>, <a class="el" href="classQCPAxis.html#ae437656a5fd1a03721a8f2d7aab460fe">items</a> </dd></dl>
  1909. </div>
  1910. </div>
  1911. <a class="anchor" id="ae437656a5fd1a03721a8f2d7aab460fe"></a>
  1912. <div class="memitem">
  1913. <div class="memproto">
  1914. <table class="memname">
  1915. <tr>
  1916. <td class="memname">QList&lt; <a class="el" href="classQCPAbstractItem.html">QCPAbstractItem</a> * &gt; QCPAxis::items </td>
  1917. <td>(</td>
  1918. <td class="paramname"></td><td>)</td>
  1919. <td> const</td>
  1920. </tr>
  1921. </table>
  1922. </div><div class="memdoc">
  1923. <p>Returns a list of all the items that are associated with this axis. An item is considered associated with an axis if at least one of its positions uses the axis as key or value axis.</p>
  1924. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxis.html#a4f7404494cccdbfc00e1e865b7ed16a4">plottables</a>, <a class="el" href="classQCPAxis.html#ad3919e7d7400f55446ea82018fe5e3a8">graphs</a> </dd></dl>
  1925. </div>
  1926. </div>
  1927. <a class="anchor" id="ac0a6b77bd52bec6c81cd62d167cfeba6"></a>
  1928. <div class="memitem">
  1929. <div class="memproto">
  1930. <table class="mlabels">
  1931. <tr>
  1932. <td class="mlabels-left">
  1933. <table class="memname">
  1934. <tr>
  1935. <td class="memname"><a class="el" href="classQCPAxis.html#ae2bcc1728b382f10f064612b368bc18a">QCPAxis::AxisType</a> QCPAxis::marginSideToAxisType </td>
  1936. <td>(</td>
  1937. <td class="paramtype"><a class="el" href="namespaceQCP.html#a7e487e3e2ccb62ab7771065bab7cae54">QCP::MarginSide</a>&#160;</td>
  1938. <td class="paramname"><em>side</em></td><td>)</td>
  1939. <td></td>
  1940. </tr>
  1941. </table>
  1942. </td>
  1943. <td class="mlabels-right">
  1944. <span class="mlabels"><span class="mlabel">static</span></span> </td>
  1945. </tr>
  1946. </table>
  1947. </div><div class="memdoc">
  1948. <p>Transforms a margin side to the logically corresponding axis type. (<a class="el" href="namespaceQCP.html#a7e487e3e2ccb62ab7771065bab7cae54a9500c8bfcc9e80b9dff0a8e00e867f07" title="0x01 left margin ">QCP::msLeft</a> to <a class="el" href="classQCPAxis.html#ae2bcc1728b382f10f064612b368bc18aaf84aa6cac6fb6099f54a2cbf7546b730" title="0x01 Axis is vertical and on the left side of the axis rect ">QCPAxis::atLeft</a>, <a class="el" href="namespaceQCP.html#a7e487e3e2ccb62ab7771065bab7cae54a93c719593bb2b94ed244d52c86d83b65" title="0x02 right margin ">QCP::msRight</a> to <a class="el" href="classQCPAxis.html#ae2bcc1728b382f10f064612b368bc18aadf5509f7d29199ef2f263b1dd224b345" title="0x02 Axis is vertical and on the right side of the axis rect ">QCPAxis::atRight</a>, etc.) </p>
  1949. </div>
  1950. </div>
  1951. <a class="anchor" id="a9a68b3e45f1b1e33d4d807822342516c"></a>
  1952. <div class="memitem">
  1953. <div class="memproto">
  1954. <table class="mlabels">
  1955. <tr>
  1956. <td class="mlabels-left">
  1957. <table class="memname">
  1958. <tr>
  1959. <td class="memname">static Qt::Orientation QCPAxis::orientation </td>
  1960. <td>(</td>
  1961. <td class="paramtype"><a class="el" href="classQCPAxis.html#ae2bcc1728b382f10f064612b368bc18a">AxisType</a>&#160;</td>
  1962. <td class="paramname"><em>type</em></td><td>)</td>
  1963. <td></td>
  1964. </tr>
  1965. </table>
  1966. </td>
  1967. <td class="mlabels-right">
  1968. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
  1969. </tr>
  1970. </table>
  1971. </div><div class="memdoc">
  1972. <p>Returns the orientation of the specified axis type</p>
  1973. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxis.html#a57483f2f60145ddc9e63f3af53959265">orientation()</a> </dd></dl>
  1974. </div>
  1975. </div>
  1976. <a class="anchor" id="aa85ba73dfee6483e23825461b725e363"></a>
  1977. <div class="memitem">
  1978. <div class="memproto">
  1979. <table class="mlabels">
  1980. <tr>
  1981. <td class="mlabels-left">
  1982. <table class="memname">
  1983. <tr>
  1984. <td class="memname"><a class="el" href="classQCPAxis.html#ae2bcc1728b382f10f064612b368bc18a">QCPAxis::AxisType</a> QCPAxis::opposite </td>
  1985. <td>(</td>
  1986. <td class="paramtype"><a class="el" href="classQCPAxis.html#ae2bcc1728b382f10f064612b368bc18a">QCPAxis::AxisType</a>&#160;</td>
  1987. <td class="paramname"><em>type</em></td><td>)</td>
  1988. <td></td>
  1989. </tr>
  1990. </table>
  1991. </td>
  1992. <td class="mlabels-right">
  1993. <span class="mlabels"><span class="mlabel">static</span></span> </td>
  1994. </tr>
  1995. </table>
  1996. </div><div class="memdoc">
  1997. <p>Returns the axis type that describes the opposite axis of an axis with the specified <em>type</em>. </p>
  1998. </div>
  1999. </div>
  2000. <a class="anchor" id="af46d99613d29518795134ec4928e3873"></a>
  2001. <div class="memitem">
  2002. <div class="memproto">
  2003. <table class="mlabels">
  2004. <tr>
  2005. <td class="mlabels-left">
  2006. <table class="memname">
  2007. <tr>
  2008. <td class="memname">void QCPAxis::ticksRequest </td>
  2009. <td>(</td>
  2010. <td class="paramname"></td><td>)</td>
  2011. <td></td>
  2012. </tr>
  2013. </table>
  2014. </td>
  2015. <td class="mlabels-right">
  2016. <span class="mlabels"><span class="mlabel">signal</span></span> </td>
  2017. </tr>
  2018. </table>
  2019. </div><div class="memdoc">
  2020. <p>This signal is emitted when <a class="el" href="classQCPAxis.html#ae867c23d3a6a7bd4d09cc66c5d018f63">setAutoTicks</a> is false and the axis is about to generate tick labels for a replot.</p>
  2021. <p>Modifying the tick positions can be done with <a class="el" href="classQCPAxis.html#a871db94c5d796c80fcbe1a9d4506e27e">setTickVector</a>. If you also want to control the tick labels, set <a class="el" href="classQCPAxis.html#aaa47e3a6bac0c20d4beb9028f01bc1a1">setAutoTickLabels</a> to false and also provide the labels with <a class="el" href="classQCPAxis.html#a921d3ba3853ca3bd2cce3459f7a243ed">setTickVectorLabels</a>.</p>
  2022. <p>If you only want static ticks you probably don't need this signal, since you can just set the tick vector (and possibly tick label vector) once. However, if you want to provide ticks (and maybe labels) dynamically, e.g. depending on the current axis range, connect a slot to this signal and set the vector/vectors there. </p>
  2023. </div>
  2024. </div>
  2025. <a class="anchor" id="a0894084e4c16a1736534c4095746f910"></a>
  2026. <div class="memitem">
  2027. <div class="memproto">
  2028. <table class="mlabels">
  2029. <tr>
  2030. <td class="mlabels-left">
  2031. <table class="memname">
  2032. <tr>
  2033. <td class="memname">void QCPAxis::rangeChanged </td>
  2034. <td>(</td>
  2035. <td class="paramtype">const <a class="el" href="classQCPRange.html">QCPRange</a> &amp;&#160;</td>
  2036. <td class="paramname"><em>newRange</em></td><td>)</td>
  2037. <td></td>
  2038. </tr>
  2039. </table>
  2040. </td>
  2041. <td class="mlabels-right">
  2042. <span class="mlabels"><span class="mlabel">signal</span></span> </td>
  2043. </tr>
  2044. </table>
  2045. </div><div class="memdoc">
  2046. <p>This signal is emitted when the range of this axis has changed. You can connect it to the <a class="el" href="classQCPAxis.html#aebdfea5d44c3a0ad2b4700cd4d25b641">setRange</a> slot of another axis to communicate the new range to the other axis, in order for it to be synchronized.</p>
  2047. <p>You may also manipulate/correct the range with <a class="el" href="classQCPAxis.html#aebdfea5d44c3a0ad2b4700cd4d25b641">setRange</a> in a slot connected to this signal. This is useful if for example a maximum range span shall not be exceeded, or if the lower/upper range shouldn't go beyond certain values. For example, the following slot would limit the x axis to only positive ranges: </p>
  2048. <div class="fragment"><div class="line"><span class="keywordflow">if</span> (newRange.lower &lt; 0)</div>
  2049. <div class="line"> plot-&gt;xAxis-&gt;setRange(0, newRange.size());</div>
  2050. </div><!-- fragment -->
  2051. </div>
  2052. </div>
  2053. <a class="anchor" id="aac8576288e8e31f16186124bc10dd10d"></a>
  2054. <div class="memitem">
  2055. <div class="memproto">
  2056. <table class="mlabels">
  2057. <tr>
  2058. <td class="mlabels-left">
  2059. <table class="memname">
  2060. <tr>
  2061. <td class="memname">void QCPAxis::rangeChanged </td>
  2062. <td>(</td>
  2063. <td class="paramtype">const <a class="el" href="classQCPRange.html">QCPRange</a> &amp;&#160;</td>
  2064. <td class="paramname"><em>newRange</em>, </td>
  2065. </tr>
  2066. <tr>
  2067. <td class="paramkey"></td>
  2068. <td></td>
  2069. <td class="paramtype">const <a class="el" href="classQCPRange.html">QCPRange</a> &amp;&#160;</td>
  2070. <td class="paramname"><em>oldRange</em>&#160;</td>
  2071. </tr>
  2072. <tr>
  2073. <td></td>
  2074. <td>)</td>
  2075. <td></td><td></td>
  2076. </tr>
  2077. </table>
  2078. </td>
  2079. <td class="mlabels-right">
  2080. <span class="mlabels"><span class="mlabel">signal</span></span> </td>
  2081. </tr>
  2082. </table>
  2083. </div><div class="memdoc">
  2084. <p>This is an overloaded function.</p>
  2085. <p>Additionally to the new range, this signal also provides the previous range held by the axis as <em>oldRange</em>. </p>
  2086. </div>
  2087. </div>
  2088. <a class="anchor" id="a3505ed8a93bd2e349d858d84996bf767"></a>
  2089. <div class="memitem">
  2090. <div class="memproto">
  2091. <table class="mlabels">
  2092. <tr>
  2093. <td class="mlabels-left">
  2094. <table class="memname">
  2095. <tr>
  2096. <td class="memname">void QCPAxis::scaleTypeChanged </td>
  2097. <td>(</td>
  2098. <td class="paramtype"><a class="el" href="classQCPAxis.html#a36d8e8658dbaa179bf2aeb973db2d6f0">QCPAxis::ScaleType</a>&#160;</td>
  2099. <td class="paramname"><em>scaleType</em></td><td>)</td>
  2100. <td></td>
  2101. </tr>
  2102. </table>
  2103. </td>
  2104. <td class="mlabels-right">
  2105. <span class="mlabels"><span class="mlabel">signal</span></span> </td>
  2106. </tr>
  2107. </table>
  2108. </div><div class="memdoc">
  2109. <p>This signal is emitted when the scale type changes, by calls to <a class="el" href="classQCPAxis.html#adef29cae617af4f519f6c40d1a866ca6">setScaleType</a> </p>
  2110. </div>
  2111. </div>
  2112. <a class="anchor" id="a62b598abeee7174a05f9d542cc85b1f5"></a>
  2113. <div class="memitem">
  2114. <div class="memproto">
  2115. <table class="mlabels">
  2116. <tr>
  2117. <td class="mlabels-left">
  2118. <table class="memname">
  2119. <tr>
  2120. <td class="memname">void QCPAxis::selectionChanged </td>
  2121. <td>(</td>
  2122. <td class="paramtype">const QCPAxis::SelectableParts &amp;&#160;</td>
  2123. <td class="paramname"><em>parts</em></td><td>)</td>
  2124. <td></td>
  2125. </tr>
  2126. </table>
  2127. </td>
  2128. <td class="mlabels-right">
  2129. <span class="mlabels"><span class="mlabel">signal</span></span> </td>
  2130. </tr>
  2131. </table>
  2132. </div><div class="memdoc">
  2133. <p>This signal is emitted when the selection state of this axis has changed, either by user interaction or by a direct call to <a class="el" href="classQCPAxis.html#ab9d7a69277dcbed9119b3c1f25ca19c3">setSelectedParts</a>. </p>
  2134. </div>
  2135. </div>
  2136. <a class="anchor" id="aa5ff1fd851139028a3bb4efcb31de9fc"></a>
  2137. <div class="memitem">
  2138. <div class="memproto">
  2139. <table class="mlabels">
  2140. <tr>
  2141. <td class="mlabels-left">
  2142. <table class="memname">
  2143. <tr>
  2144. <td class="memname">void QCPAxis::selectableChanged </td>
  2145. <td>(</td>
  2146. <td class="paramtype">const QCPAxis::SelectableParts &amp;&#160;</td>
  2147. <td class="paramname"><em>parts</em></td><td>)</td>
  2148. <td></td>
  2149. </tr>
  2150. </table>
  2151. </td>
  2152. <td class="mlabels-right">
  2153. <span class="mlabels"><span class="mlabel">signal</span></span> </td>
  2154. </tr>
  2155. </table>
  2156. </div><div class="memdoc">
  2157. <p>This signal is emitted when the selectability changes, by calls to <a class="el" href="classQCPAxis.html#a513f9b9e326c505d9bec54880031b085">setSelectableParts</a> </p>
  2158. </div>
  2159. </div>
  2160. <a class="anchor" id="a57d9e961bae7d62f5b4e1f143e660c78"></a>
  2161. <div class="memitem">
  2162. <div class="memproto">
  2163. <table class="mlabels">
  2164. <tr>
  2165. <td class="mlabels-left">
  2166. <table class="memname">
  2167. <tr>
  2168. <td class="memname">void QCPAxis::setupTickVectors </td>
  2169. <td>(</td>
  2170. <td class="paramname"></td><td>)</td>
  2171. <td></td>
  2172. </tr>
  2173. </table>
  2174. </td>
  2175. <td class="mlabels-right">
  2176. <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
  2177. </tr>
  2178. </table>
  2179. </div><div class="memdoc">
  2180. <p>This function is called to prepare the tick vector, sub tick vector and tick label vector. If <a class="el" href="classQCPAxis.html#ae867c23d3a6a7bd4d09cc66c5d018f63">setAutoTicks</a> is set to true, appropriate tick values are determined automatically via <a class="el" href="classQCPAxis.html#a626eef437c874148df1a5ac78506d463">generateAutoTicks</a>. If it's set to false, the signal ticksRequest is emitted, which can be used to provide external tick positions. Then the sub tick vectors and tick label vectors are created. </p>
  2181. </div>
  2182. </div>
  2183. <a class="anchor" id="a626eef437c874148df1a5ac78506d463"></a>
  2184. <div class="memitem">
  2185. <div class="memproto">
  2186. <table class="mlabels">
  2187. <tr>
  2188. <td class="mlabels-left">
  2189. <table class="memname">
  2190. <tr>
  2191. <td class="memname">void QCPAxis::generateAutoTicks </td>
  2192. <td>(</td>
  2193. <td class="paramname"></td><td>)</td>
  2194. <td></td>
  2195. </tr>
  2196. </table>
  2197. </td>
  2198. <td class="mlabels-right">
  2199. <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
  2200. </tr>
  2201. </table>
  2202. </div><div class="memdoc">
  2203. <p>If <a class="el" href="classQCPAxis.html#ae867c23d3a6a7bd4d09cc66c5d018f63">setAutoTicks</a> is set to true, this function is called by <a class="el" href="classQCPAxis.html#a57d9e961bae7d62f5b4e1f143e660c78">setupTickVectors</a> to generate reasonable tick positions (and subtick count). The algorithm tries to create approximately <code>mAutoTickCount</code> ticks (set via <a class="el" href="classQCPAxis.html#a7c7111cbeac9ec5fcb40f93a1ef51a0b">setAutoTickCount</a>).</p>
  2204. <p>If the scale is logarithmic, <a class="el" href="classQCPAxis.html#a7c7111cbeac9ec5fcb40f93a1ef51a0b">setAutoTickCount</a> is ignored, and one tick is generated at every power of the current logarithm base, set via <a class="el" href="classQCPAxis.html#a726186054be90487885a748aa1b42188">setScaleLogBase</a>. </p>
  2205. </div>
  2206. </div>
  2207. <a class="anchor" id="a3c5c045019fcdc0843a3e064eda7478a"></a>
  2208. <div class="memitem">
  2209. <div class="memproto">
  2210. <table class="mlabels">
  2211. <tr>
  2212. <td class="mlabels-left">
  2213. <table class="memname">
  2214. <tr>
  2215. <td class="memname">int QCPAxis::calculateAutoSubTickCount </td>
  2216. <td>(</td>
  2217. <td class="paramtype">double&#160;</td>
  2218. <td class="paramname"><em>tickStep</em></td><td>)</td>
  2219. <td> const</td>
  2220. </tr>
  2221. </table>
  2222. </td>
  2223. <td class="mlabels-right">
  2224. <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
  2225. </tr>
  2226. </table>
  2227. </div><div class="memdoc">
  2228. <p>Called by generateAutoTicks when <a class="el" href="classQCPAxis.html#adcbdec7a60054b88571e89599f4a45bf">setAutoSubTicks</a> is set to true. Depending on the <em>tickStep</em> between two major ticks on the axis, a different number of sub ticks is appropriate. For Example taking 4 sub ticks for a <em>tickStep</em> of 1 makes more sense than taking 5 sub ticks, because this corresponds to a sub tick step of 0.2, instead of the less intuitive 0.16667. Note that a subtick count of 4 means dividing the major tick step into 5 sections.</p>
  2229. <p>This is implemented by a hand made lookup for integer tick steps as well as fractional tick steps with a fractional part of (approximately) 0.5. If a tick step is different (i.e. has no fractional part close to 0.5), the currently set sub tick count (<a class="el" href="classQCPAxis.html#a4b1554ead9d7f9799650d51383e326dd">setSubTickCount</a>) is returned. </p>
  2230. </div>
  2231. </div>
  2232. <a class="anchor" id="a47bdb0a55de6759489ee47665199aebb"></a>
  2233. <div class="memitem">
  2234. <div class="memproto">
  2235. <table class="mlabels">
  2236. <tr>
  2237. <td class="mlabels-left">
  2238. <table class="memname">
  2239. <tr>
  2240. <td class="memname">int QCPAxis::calculateMargin </td>
  2241. <td>(</td>
  2242. <td class="paramname"></td><td>)</td>
  2243. <td></td>
  2244. </tr>
  2245. </table>
  2246. </td>
  2247. <td class="mlabels-right">
  2248. <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
  2249. </tr>
  2250. </table>
  2251. </div><div class="memdoc">
  2252. <p>Returns the appropriate outward margin for this axis. It is needed if <a class="el" href="classQCPLayoutElement.html#accfda49994e3e6d51ed14504abf9d27d">QCPAxisRect::setAutoMargins</a> is set to true on the parent axis rect. An axis with axis type <a class="el" href="classQCPAxis.html#ae2bcc1728b382f10f064612b368bc18aaf84aa6cac6fb6099f54a2cbf7546b730">atLeft</a> will return an appropriate left margin, <a class="el" href="classQCPAxis.html#ae2bcc1728b382f10f064612b368bc18aa220d68888516b6c3b493d144f1ba438f">atBottom</a> will return an appropriate bottom margin and so forth. For the calculation, this function goes through similar steps as <a class="el" href="classQCPAxis.html#a258b1e783eda5cd14ec5552c696a424e">draw</a>, so changing one function likely requires the modification of the other one as well.</p>
  2253. <p>The margin consists of the outward tick length, tick label padding, tick label size, label padding, label size, and padding.</p>
  2254. <p>The margin is cached internally, so repeated calls while leaving the axis range, fonts, etc. unchanged are very fast. </p>
  2255. </div>
  2256. </div>
  2257. <a class="anchor" id="a13bde39eb1e0b7c14a02935689be8aba"></a>
  2258. <div class="memitem">
  2259. <div class="memproto">
  2260. <table class="mlabels">
  2261. <tr>
  2262. <td class="mlabels-left">
  2263. <table class="memname">
  2264. <tr>
  2265. <td class="memname">void QCPAxis::applyDefaultAntialiasingHint </td>
  2266. <td>(</td>
  2267. <td class="paramtype"><a class="el" href="classQCPPainter.html">QCPPainter</a> *&#160;</td>
  2268. <td class="paramname"><em>painter</em></td><td>)</td>
  2269. <td> const</td>
  2270. </tr>
  2271. </table>
  2272. </td>
  2273. <td class="mlabels-right">
  2274. <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
  2275. </tr>
  2276. </table>
  2277. </div><div class="memdoc">
  2278. <p>A convenience function to easily set the QPainter::Antialiased hint on the provided <em>painter</em> before drawing axis lines.</p>
  2279. <p>This is the antialiasing state the painter passed to the <a class="el" href="classQCPAxis.html#a258b1e783eda5cd14ec5552c696a424e">draw</a> method is in by default.</p>
  2280. <p>This function takes into account the local setting of the antialiasing flag as well as the overrides set with <a class="el" href="classQCustomPlot.html#af6f91e5eab1be85f67c556e98c3745e8">QCustomPlot::setAntialiasedElements</a> and <a class="el" href="classQCustomPlot.html#ae10d685b5eabea2999fb8775ca173c24">QCustomPlot::setNotAntialiasedElements</a>.</p>
  2281. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPLayerable.html#a4fd43e89be4a553ead41652565ff0581">setAntialiased</a> </dd></dl>
  2282. <p>Implements <a class="el" href="classQCPLayerable.html#afdf83ddc6a265cbf4c89fe99d3d93473">QCPLayerable</a>.</p>
  2283. </div>
  2284. </div>
  2285. <a class="anchor" id="a258b1e783eda5cd14ec5552c696a424e"></a>
  2286. <div class="memitem">
  2287. <div class="memproto">
  2288. <table class="mlabels">
  2289. <tr>
  2290. <td class="mlabels-left">
  2291. <table class="memname">
  2292. <tr>
  2293. <td class="memname">void QCPAxis::draw </td>
  2294. <td>(</td>
  2295. <td class="paramtype"><a class="el" href="classQCPPainter.html">QCPPainter</a> *&#160;</td>
  2296. <td class="paramname"><em>painter</em></td><td>)</td>
  2297. <td></td>
  2298. </tr>
  2299. </table>
  2300. </td>
  2301. <td class="mlabels-right">
  2302. <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
  2303. </tr>
  2304. </table>
  2305. </div><div class="memdoc">
  2306. <p>Draws the axis with the specified <em>painter</em>, using the internal QCPAxisPainterPrivate instance. </p>
  2307. <p>Implements <a class="el" href="classQCPLayerable.html#aecf2f7087482d4b6a78cb2770e5ed12d">QCPLayerable</a>.</p>
  2308. </div>
  2309. </div>
  2310. <a class="anchor" id="aca53b2f365dfc1257cba9e62395aa68f"></a>
  2311. <div class="memitem">
  2312. <div class="memproto">
  2313. <table class="mlabels">
  2314. <tr>
  2315. <td class="mlabels-left">
  2316. <table class="memname">
  2317. <tr>
  2318. <td class="memname"><a class="el" href="namespaceQCP.html#a2ad6bb6281c7c2d593d4277b44c2b037">QCP::Interaction</a> QCPAxis::selectionCategory </td>
  2319. <td>(</td>
  2320. <td class="paramname"></td><td>)</td>
  2321. <td> const</td>
  2322. </tr>
  2323. </table>
  2324. </td>
  2325. <td class="mlabels-right">
  2326. <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
  2327. </tr>
  2328. </table>
  2329. </div><div class="memdoc">
  2330. <p>Returns the selection category this layerable shall belong to. The selection category is used in conjunction with <a class="el" href="classQCustomPlot.html#a5ee1e2f6ae27419deca53e75907c27e5">QCustomPlot::setInteractions</a> to control which objects are selectable and which aren't.</p>
  2331. <p>Subclasses that don't fit any of the normal <a class="el" href="namespaceQCP.html#a2ad6bb6281c7c2d593d4277b44c2b037">QCP::Interaction</a> values can use <a class="el" href="namespaceQCP.html#a2ad6bb6281c7c2d593d4277b44c2b037af67a50bc26147a13b551b3a625374949">QCP::iSelectOther</a>. This is what the default implementation returns.</p>
  2332. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCustomPlot.html#a5ee1e2f6ae27419deca53e75907c27e5">QCustomPlot::setInteractions</a> </dd></dl>
  2333. <p>Reimplemented from <a class="el" href="classQCPLayerable.html#aa4035e586b7f317a06ba7e74e242a5ea">QCPLayerable</a>.</p>
  2334. </div>
  2335. </div>
  2336. <a class="anchor" id="aa8a5fe80e2898ec08ada26b5fbee9eca"></a>
  2337. <div class="memitem">
  2338. <div class="memproto">
  2339. <table class="mlabels">
  2340. <tr>
  2341. <td class="mlabels-left">
  2342. <table class="memname">
  2343. <tr>
  2344. <td class="memname">void QCPAxis::selectEvent </td>
  2345. <td>(</td>
  2346. <td class="paramtype">QMouseEvent *&#160;</td>
  2347. <td class="paramname"><em>event</em>, </td>
  2348. </tr>
  2349. <tr>
  2350. <td class="paramkey"></td>
  2351. <td></td>
  2352. <td class="paramtype">bool&#160;</td>
  2353. <td class="paramname"><em>additive</em>, </td>
  2354. </tr>
  2355. <tr>
  2356. <td class="paramkey"></td>
  2357. <td></td>
  2358. <td class="paramtype">const QVariant &amp;&#160;</td>
  2359. <td class="paramname"><em>details</em>, </td>
  2360. </tr>
  2361. <tr>
  2362. <td class="paramkey"></td>
  2363. <td></td>
  2364. <td class="paramtype">bool *&#160;</td>
  2365. <td class="paramname"><em>selectionStateChanged</em>&#160;</td>
  2366. </tr>
  2367. <tr>
  2368. <td></td>
  2369. <td>)</td>
  2370. <td></td><td></td>
  2371. </tr>
  2372. </table>
  2373. </td>
  2374. <td class="mlabels-right">
  2375. <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
  2376. </tr>
  2377. </table>
  2378. </div><div class="memdoc">
  2379. <p>This event is called when the layerable shall be selected, as a consequence of a click by the user. Subclasses should react to it by setting their selection state appropriately. The default implementation does nothing.</p>
  2380. <p><em>event</em> is the mouse event that caused the selection. <em>additive</em> indicates, whether the user was holding the multi-select-modifier while performing the selection (see <a class="el" href="classQCustomPlot.html#a8fc96e3b5138a06759a2a90c166df516">QCustomPlot::setMultiSelectModifier</a>). if <em>additive</em> is true, the selection state must be toggled (i.e. become selected when unselected and unselected when selected).</p>
  2381. <p>Every selectEvent is preceded by a call to <a class="el" href="classQCPAxis.html#a2877a6230920c118be65c6113089f467">selectTest</a>, which has returned positively (i.e. returned a value greater than 0 and less than the selection tolerance of 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>). The <em>details</em> data you output from <a class="el" href="classQCPAxis.html#a2877a6230920c118be65c6113089f467">selectTest</a> is fed back via <em>details</em> here. You may use it to transport any kind of information from the selectTest to the possibly subsequent selectEvent. Usually <em>details</em> is used to transfer which part was clicked, if it is a layerable that has multiple individually selectable parts (like <a class="el" href="classQCPAxis.html" title="Manages a single axis inside a QCustomPlot. ">QCPAxis</a>). This way selectEvent doesn't need to do the calculation again to find out which part was actually clicked.</p>
  2382. <p><em>selectionStateChanged</em> is an output parameter. If the pointer is non-null, this function must set the value either to true or false, depending on whether the selection state of this layerable was actually changed. For layerables that only are selectable as a whole and not in parts, this is simple: if <em>additive</em> is true, <em>selectionStateChanged</em> must also be set to true, because the selection toggles. If <em>additive</em> is false, <em>selectionStateChanged</em> is only set to true, if the layerable was previously unselected and now is switched to the selected state.</p>
  2383. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxis.html#a2877a6230920c118be65c6113089f467">selectTest</a>, <a class="el" href="classQCPAxis.html#a53512242cde6ec21943a3ba10dbf78c3">deselectEvent</a> </dd></dl>
  2384. <p>Reimplemented from <a class="el" href="classQCPLayerable.html#a7498c2d0d081cf7cad0fb3bb93aa0e91">QCPLayerable</a>.</p>
  2385. </div>
  2386. </div>
  2387. <a class="anchor" id="a53512242cde6ec21943a3ba10dbf78c3"></a>
  2388. <div class="memitem">
  2389. <div class="memproto">
  2390. <table class="mlabels">
  2391. <tr>
  2392. <td class="mlabels-left">
  2393. <table class="memname">
  2394. <tr>
  2395. <td class="memname">void QCPAxis::deselectEvent </td>
  2396. <td>(</td>
  2397. <td class="paramtype">bool *&#160;</td>
  2398. <td class="paramname"><em>selectionStateChanged</em></td><td>)</td>
  2399. <td></td>
  2400. </tr>
  2401. </table>
  2402. </td>
  2403. <td class="mlabels-right">
  2404. <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
  2405. </tr>
  2406. </table>
  2407. </div><div class="memdoc">
  2408. <p>This event is called when the layerable shall be deselected, either as consequence of a user interaction or a call to <a class="el" href="classQCustomPlot.html#a9d4808ab925b003054085246c92a257c">QCustomPlot::deselectAll</a>. Subclasses should react to it by unsetting their selection appropriately.</p>
  2409. <p>just as in <a class="el" href="classQCPAxis.html#aa8a5fe80e2898ec08ada26b5fbee9eca">selectEvent</a>, the output parameter <em>selectionStateChanged</em> (if non-null), must return true or false when the selection state of this layerable has changed or not changed, respectively.</p>
  2410. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxis.html#a2877a6230920c118be65c6113089f467">selectTest</a>, <a class="el" href="classQCPAxis.html#aa8a5fe80e2898ec08ada26b5fbee9eca">selectEvent</a> </dd></dl>
  2411. <p>Reimplemented from <a class="el" href="classQCPLayerable.html#ae546370644a5551c76af739afc008bee">QCPLayerable</a>.</p>
  2412. </div>
  2413. </div>
  2414. <a class="anchor" id="a06320a944d1120732cc0d72fe1306d8b"></a>
  2415. <div class="memitem">
  2416. <div class="memproto">
  2417. <table class="mlabels">
  2418. <tr>
  2419. <td class="mlabels-left">
  2420. <table class="memname">
  2421. <tr>
  2422. <td class="memname">void QCPAxis::visibleTickBounds </td>
  2423. <td>(</td>
  2424. <td class="paramtype">int &amp;&#160;</td>
  2425. <td class="paramname"><em>lowIndex</em>, </td>
  2426. </tr>
  2427. <tr>
  2428. <td class="paramkey"></td>
  2429. <td></td>
  2430. <td class="paramtype">int &amp;&#160;</td>
  2431. <td class="paramname"><em>highIndex</em>&#160;</td>
  2432. </tr>
  2433. <tr>
  2434. <td></td>
  2435. <td>)</td>
  2436. <td></td><td> const</td>
  2437. </tr>
  2438. </table>
  2439. </td>
  2440. <td class="mlabels-right">
  2441. <span class="mlabels"><span class="mlabel">protected</span></span> </td>
  2442. </tr>
  2443. </table>
  2444. </div><div class="memdoc">
  2445. <p>Returns via <em>lowIndex</em> and <em>highIndex</em>, which ticks in the current tick vector are visible in the current range. The return values are indices of the tick vector, not the positions of the ticks themselves.</p>
  2446. <p>The actual use of this function is when an external tick vector is provided, since it might exceed far beyond the currently displayed range, and would cause unnecessary calculations e.g. of subticks.</p>
  2447. <p>If all ticks are outside the axis range, an inverted range is returned, i.e. highIndex will be smaller than lowIndex. There is one case, where this function returns indices that are not really visible in the current axis range: When the tick spacing is larger than the axis range size and one tick is below the axis range and the next tick is already above the axis range. Because in such cases it is usually desirable to know the tick pair, to draw proper subticks. </p>
  2448. </div>
  2449. </div>
  2450. <a class="anchor" id="a1385765db2419ee5fb5505a6cf9130fb"></a>
  2451. <div class="memitem">
  2452. <div class="memproto">
  2453. <table class="mlabels">
  2454. <tr>
  2455. <td class="mlabels-left">
  2456. <table class="memname">
  2457. <tr>
  2458. <td class="memname">double QCPAxis::baseLog </td>
  2459. <td>(</td>
  2460. <td class="paramtype">double&#160;</td>
  2461. <td class="paramname"><em>value</em></td><td>)</td>
  2462. <td> const</td>
  2463. </tr>
  2464. </table>
  2465. </td>
  2466. <td class="mlabels-right">
  2467. <span class="mlabels"><span class="mlabel">protected</span></span> </td>
  2468. </tr>
  2469. </table>
  2470. </div><div class="memdoc">
  2471. <p>A log function with the base mScaleLogBase, used mostly for coordinate transforms in logarithmic scales with arbitrary log base. Uses the buffered mScaleLogBaseLogInv for faster calculation. This is set to <code>1.0/qLn(mScaleLogBase)</code> in <a class="el" href="classQCPAxis.html#a726186054be90487885a748aa1b42188">setScaleLogBase</a>.</p>
  2472. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxis.html#a97d69f021a05126fcb978d0aefea47b8">basePow</a>, <a class="el" href="classQCPAxis.html#a726186054be90487885a748aa1b42188">setScaleLogBase</a>, <a class="el" href="classQCPAxis.html#adef29cae617af4f519f6c40d1a866ca6">setScaleType</a> </dd></dl>
  2473. </div>
  2474. </div>
  2475. <a class="anchor" id="a97d69f021a05126fcb978d0aefea47b8"></a>
  2476. <div class="memitem">
  2477. <div class="memproto">
  2478. <table class="mlabels">
  2479. <tr>
  2480. <td class="mlabels-left">
  2481. <table class="memname">
  2482. <tr>
  2483. <td class="memname">double QCPAxis::basePow </td>
  2484. <td>(</td>
  2485. <td class="paramtype">double&#160;</td>
  2486. <td class="paramname"><em>value</em></td><td>)</td>
  2487. <td> const</td>
  2488. </tr>
  2489. </table>
  2490. </td>
  2491. <td class="mlabels-right">
  2492. <span class="mlabels"><span class="mlabel">protected</span></span> </td>
  2493. </tr>
  2494. </table>
  2495. </div><div class="memdoc">
  2496. <p>A power function with the base mScaleLogBase, used mostly for coordinate transforms in logarithmic scales with arbitrary log base.</p>
  2497. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxis.html#a1385765db2419ee5fb5505a6cf9130fb">baseLog</a>, <a class="el" href="classQCPAxis.html#a726186054be90487885a748aa1b42188">setScaleLogBase</a>, <a class="el" href="classQCPAxis.html#adef29cae617af4f519f6c40d1a866ca6">setScaleType</a> </dd></dl>
  2498. </div>
  2499. </div>
  2500. <a class="anchor" id="a3eb0681d31baf579bb73b86a0153cb02"></a>
  2501. <div class="memitem">
  2502. <div class="memproto">
  2503. <table class="mlabels">
  2504. <tr>
  2505. <td class="mlabels-left">
  2506. <table class="memname">
  2507. <tr>
  2508. <td class="memname">QPen QCPAxis::getBasePen </td>
  2509. <td>(</td>
  2510. <td class="paramname"></td><td>)</td>
  2511. <td> const</td>
  2512. </tr>
  2513. </table>
  2514. </td>
  2515. <td class="mlabels-right">
  2516. <span class="mlabels"><span class="mlabel">protected</span></span> </td>
  2517. </tr>
  2518. </table>
  2519. </div><div class="memdoc">
  2520. <p>Returns the pen that is used to draw the axis base line. Depending on the selection state, this is either mSelectedBasePen or mBasePen. </p>
  2521. </div>
  2522. </div>
  2523. <a class="anchor" id="a7f503910be40fb1717e1635be3ef17e1"></a>
  2524. <div class="memitem">
  2525. <div class="memproto">
  2526. <table class="mlabels">
  2527. <tr>
  2528. <td class="mlabels-left">
  2529. <table class="memname">
  2530. <tr>
  2531. <td class="memname">QPen QCPAxis::getTickPen </td>
  2532. <td>(</td>
  2533. <td class="paramname"></td><td>)</td>
  2534. <td> const</td>
  2535. </tr>
  2536. </table>
  2537. </td>
  2538. <td class="mlabels-right">
  2539. <span class="mlabels"><span class="mlabel">protected</span></span> </td>
  2540. </tr>
  2541. </table>
  2542. </div><div class="memdoc">
  2543. <p>Returns the pen that is used to draw the (major) ticks. Depending on the selection state, this is either mSelectedTickPen or mTickPen. </p>
  2544. </div>
  2545. </div>
  2546. <a class="anchor" id="ab4f7e60a40eb051c775afcaeab895c85"></a>
  2547. <div class="memitem">
  2548. <div class="memproto">
  2549. <table class="mlabels">
  2550. <tr>
  2551. <td class="mlabels-left">
  2552. <table class="memname">
  2553. <tr>
  2554. <td class="memname">QPen QCPAxis::getSubTickPen </td>
  2555. <td>(</td>
  2556. <td class="paramname"></td><td>)</td>
  2557. <td> const</td>
  2558. </tr>
  2559. </table>
  2560. </td>
  2561. <td class="mlabels-right">
  2562. <span class="mlabels"><span class="mlabel">protected</span></span> </td>
  2563. </tr>
  2564. </table>
  2565. </div><div class="memdoc">
  2566. <p>Returns the pen that is used to draw the subticks. Depending on the selection state, this is either mSelectedSubTickPen or mSubTickPen. </p>
  2567. </div>
  2568. </div>
  2569. <a class="anchor" id="aef30b66668986523225089a67280ec7a"></a>
  2570. <div class="memitem">
  2571. <div class="memproto">
  2572. <table class="mlabels">
  2573. <tr>
  2574. <td class="mlabels-left">
  2575. <table class="memname">
  2576. <tr>
  2577. <td class="memname">QFont QCPAxis::getTickLabelFont </td>
  2578. <td>(</td>
  2579. <td class="paramname"></td><td>)</td>
  2580. <td> const</td>
  2581. </tr>
  2582. </table>
  2583. </td>
  2584. <td class="mlabels-right">
  2585. <span class="mlabels"><span class="mlabel">protected</span></span> </td>
  2586. </tr>
  2587. </table>
  2588. </div><div class="memdoc">
  2589. <p>Returns the font that is used to draw the tick labels. Depending on the selection state, this is either mSelectedTickLabelFont or mTickLabelFont. </p>
  2590. </div>
  2591. </div>
  2592. <a class="anchor" id="ab0768eb2879efb202645d19ff789e63e"></a>
  2593. <div class="memitem">
  2594. <div class="memproto">
  2595. <table class="mlabels">
  2596. <tr>
  2597. <td class="mlabels-left">
  2598. <table class="memname">
  2599. <tr>
  2600. <td class="memname">QFont QCPAxis::getLabelFont </td>
  2601. <td>(</td>
  2602. <td class="paramname"></td><td>)</td>
  2603. <td> const</td>
  2604. </tr>
  2605. </table>
  2606. </td>
  2607. <td class="mlabels-right">
  2608. <span class="mlabels"><span class="mlabel">protected</span></span> </td>
  2609. </tr>
  2610. </table>
  2611. </div><div class="memdoc">
  2612. <p>Returns the font that is used to draw the axis label. Depending on the selection state, this is either mSelectedLabelFont or mLabelFont. </p>
  2613. </div>
  2614. </div>
  2615. <a class="anchor" id="a0f8583f7ac24ccc70d39fdd2389cad6e"></a>
  2616. <div class="memitem">
  2617. <div class="memproto">
  2618. <table class="mlabels">
  2619. <tr>
  2620. <td class="mlabels-left">
  2621. <table class="memname">
  2622. <tr>
  2623. <td class="memname">QColor QCPAxis::getTickLabelColor </td>
  2624. <td>(</td>
  2625. <td class="paramname"></td><td>)</td>
  2626. <td> const</td>
  2627. </tr>
  2628. </table>
  2629. </td>
  2630. <td class="mlabels-right">
  2631. <span class="mlabels"><span class="mlabel">protected</span></span> </td>
  2632. </tr>
  2633. </table>
  2634. </div><div class="memdoc">
  2635. <p>Returns the color that is used to draw the tick labels. Depending on the selection state, this is either mSelectedTickLabelColor or mTickLabelColor. </p>
  2636. </div>
  2637. </div>
  2638. <a class="anchor" id="a42bd69b9e9c571f13624079be18ccdc1"></a>
  2639. <div class="memitem">
  2640. <div class="memproto">
  2641. <table class="mlabels">
  2642. <tr>
  2643. <td class="mlabels-left">
  2644. <table class="memname">
  2645. <tr>
  2646. <td class="memname">QColor QCPAxis::getLabelColor </td>
  2647. <td>(</td>
  2648. <td class="paramname"></td><td>)</td>
  2649. <td> const</td>
  2650. </tr>
  2651. </table>
  2652. </td>
  2653. <td class="mlabels-right">
  2654. <span class="mlabels"><span class="mlabel">protected</span></span> </td>
  2655. </tr>
  2656. </table>
  2657. </div><div class="memdoc">
  2658. <p>Returns the color that is used to draw the axis label. Depending on the selection state, this is either mSelectedLabelColor or mLabelColor. </p>
  2659. </div>
  2660. </div>
  2661. <hr/>The documentation for this class was generated from the following files:<ul>
  2662. <li>src/axis.h</li>
  2663. <li>src/axis.cpp</li>
  2664. </ul>
  2665. </div><!-- contents -->
  2666. </body>
  2667. </html>