/pyqtgraph-0.9.10/doc/build/html/graphicsItems/gradientlegend.html
HTML | 139 lines | 127 code | 12 blank | 0 comment | 0 complexity | 57d3c073edb3a8e827a30bd2f63e9254 MD5 | raw file
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-
- <title>GradientLegend — pyqtgraph 0.9.10 documentation</title>
-
- <link rel="stylesheet" href="../_static/default.css" type="text/css" />
- <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
-
- <script type="text/javascript">
- var DOCUMENTATION_OPTIONS = {
- URL_ROOT: '../',
- VERSION: '0.9.10',
- COLLAPSE_INDEX: false,
- FILE_SUFFIX: '.html',
- HAS_SOURCE: true
- };
- </script>
- <script type="text/javascript" src="../_static/jquery.js"></script>
- <script type="text/javascript" src="../_static/underscore.js"></script>
- <script type="text/javascript" src="../_static/doctools.js"></script>
- <link rel="top" title="pyqtgraph 0.9.10 documentation" href="../index.html" />
- <link rel="up" title="PyQtGraph’s Graphics Items" href="index.html" />
- <link rel="next" title="ButtonItem" href="buttonitem.html" />
- <link rel="prev" title="HistogramLUTItem" href="histogramlutitem.html" />
- </head>
- <body>
- <div class="related">
- <h3>Navigation</h3>
- <ul>
- <li class="right" style="margin-right: 10px">
- <a href="../genindex.html" title="General Index"
- accesskey="I">index</a></li>
- <li class="right" >
- <a href="../py-modindex.html" title="Python Module Index"
- >modules</a> |</li>
- <li class="right" >
- <a href="buttonitem.html" title="ButtonItem"
- accesskey="N">next</a> |</li>
- <li class="right" >
- <a href="histogramlutitem.html" title="HistogramLUTItem"
- accesskey="P">previous</a> |</li>
- <li><a href="../index.html">pyqtgraph 0.9.10 documentation</a> »</li>
- <li><a href="../apireference.html" >API Reference</a> »</li>
- <li><a href="index.html" accesskey="U">PyQtGraph’s Graphics Items</a> »</li>
- </ul>
- </div>
- <div class="document">
- <div class="documentwrapper">
- <div class="bodywrapper">
- <div class="body">
-
- <div class="section" id="gradientlegend">
- <h1>GradientLegend<a class="headerlink" href="#gradientlegend" title="Permalink to this headline">¶</a></h1>
- <dl class="class">
- <dt id="pyqtgraph.GradientLegend">
- <em class="property">class </em><tt class="descclassname">pyqtgraph.</tt><tt class="descname">GradientLegend</tt><big>(</big><em>size</em>, <em>offset</em><big>)</big><a class="headerlink" href="#pyqtgraph.GradientLegend" title="Permalink to this definition">¶</a></dt>
- <dd><p>Draws a color gradient rectangle along with text labels denoting the value at specific
- points along the gradient.</p>
- <dl class="method">
- <dt id="pyqtgraph.GradientLegend.__init__">
- <tt class="descname">__init__</tt><big>(</big><em>size</em>, <em>offset</em><big>)</big><a class="headerlink" href="#pyqtgraph.GradientLegend.__init__" title="Permalink to this definition">¶</a></dt>
- <dd></dd></dl>
- <dl class="method">
- <dt id="pyqtgraph.GradientLegend.setLabels">
- <tt class="descname">setLabels</tt><big>(</big><em>l</em><big>)</big><a class="headerlink" href="#pyqtgraph.GradientLegend.setLabels" title="Permalink to this definition">¶</a></dt>
- <dd><p>Defines labels to appear next to the color scale. Accepts a dict of {text: value} pairs</p>
- </dd></dl>
- </dd></dl>
- </div>
- </div>
- </div>
- </div>
- <div class="sphinxsidebar">
- <div class="sphinxsidebarwrapper">
- <h4>Previous topic</h4>
- <p class="topless"><a href="histogramlutitem.html"
- title="previous chapter">HistogramLUTItem</a></p>
- <h4>Next topic</h4>
- <p class="topless"><a href="buttonitem.html"
- title="next chapter">ButtonItem</a></p>
- <h3>This Page</h3>
- <ul class="this-page-menu">
- <li><a href="../_sources/graphicsItems/gradientlegend.txt"
- rel="nofollow">Show Source</a></li>
- </ul>
- <div id="searchbox" style="display: none">
- <h3>Quick search</h3>
- <form class="search" action="../search.html" method="get">
- <input type="text" name="q" />
- <input type="submit" value="Go" />
- <input type="hidden" name="check_keywords" value="yes" />
- <input type="hidden" name="area" value="default" />
- </form>
- <p class="searchtip" style="font-size: 90%">
- Enter search terms or a module, class or function name.
- </p>
- </div>
- <script type="text/javascript">$('#searchbox').show(0);</script>
- </div>
- </div>
- <div class="clearer"></div>
- </div>
- <div class="related">
- <h3>Navigation</h3>
- <ul>
- <li class="right" style="margin-right: 10px">
- <a href="../genindex.html" title="General Index"
- >index</a></li>
- <li class="right" >
- <a href="../py-modindex.html" title="Python Module Index"
- >modules</a> |</li>
- <li class="right" >
- <a href="buttonitem.html" title="ButtonItem"
- >next</a> |</li>
- <li class="right" >
- <a href="histogramlutitem.html" title="HistogramLUTItem"
- >previous</a> |</li>
- <li><a href="../index.html">pyqtgraph 0.9.10 documentation</a> »</li>
- <li><a href="../apireference.html" >API Reference</a> »</li>
- <li><a href="index.html" >PyQtGraph’s Graphics Items</a> »</li>
- </ul>
- </div>
- <div class="footer">
- © Copyright 2011, Luke Campagnola.
- Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.2.2.
- </div>
- </body>
- </html>