Changeset 74:eb106fe19b30 in orange


Ignore:
Timestamp:
04/21/03 07:28:45 (10 years ago)
Author:
Gregor <Gregor@…>
Branch:
default
Convert:
4d404f0c2434582b7d14ee33b3d49b9e08bf9d01
Message:

dodal class za skrivanje label na oseh

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orange/OrangeWidgets/OWGraph.py

    r65 r74  
    126126            return '' 
    127127        return QString(str(self.labels[index])) 
     128 
     129# use this class if you want to hide labels on the axis 
     130class HiddenScaleDraw(QwtScaleDraw): 
     131    def __init__(self, *args): 
     132        QwtScaleDraw.__init__(self, *args) 
     133         
     134    def label(self, value): 
     135        return QString.null 
     136 
    128137 
    129138class OWGraph(QwtPlot): 
Note: See TracChangeset for help on using the changeset viewer.