Module Tk::Tcllib::Plotchart
In: tk/lib/tkextlib/tcllib/plotchart.rb

Methods

Classes and Modules

Module Tk::Tcllib::Plotchart::ChartMethod
Class Tk::Tcllib::Plotchart::Barchart
Class Tk::Tcllib::Plotchart::HorizontalBarchart
Class Tk::Tcllib::Plotchart::IsometricPlot
Class Tk::Tcllib::Plotchart::Piechart
Class Tk::Tcllib::Plotchart::Plot3D
Class Tk::Tcllib::Plotchart::PlotSeries
Class Tk::Tcllib::Plotchart::PolarPlot
Class Tk::Tcllib::Plotchart::Stripchart
Class Tk::Tcllib::Plotchart::Timechart
Class Tk::Tcllib::Plotchart::XYPlot

Constants

Polarplot = PolarPlot
Isometricplot = IsometricPlot

Public Class methods

[Source]

# File tk/lib/tkextlib/tcllib/plotchart.rb, line 102
  def self.coords_3D_to_pixel(w, x, y, z)
    list(tk_call_without_enc('::Plotchart::coords3DToPixel', w.path, x, y, z))
  end

[Source]

# File tk/lib/tkextlib/tcllib/plotchart.rb, line 98
  def self.coords_to_pixel(w, x, y)
    list(tk_call_without_enc('::Plotchart::coordsToPixel', w.path, x, y))
  end

[Source]

# File tk/lib/tkextlib/tcllib/plotchart.rb, line 118
  def self.determine_scale(w, xmax, ymax)
    tk_call_without_enc('::Plotchart::determineScale', w.path, xmax, ymax)
  end

[Source]

# File tk/lib/tkextlib/tcllib/plotchart.rb, line 69
      def self.package_version
        begin
          TkPackage.require('Plotchart')
        rescue
          ''
        end
      end

[Source]

# File tk/lib/tkextlib/tcllib/plotchart.rb, line 114
  def self.pixel_to_coords(w, x, y)
    list(tk_call_without_enc('::Plotchart::coordsToPixel', w.path, x, y))
  end

[Source]

# File tk/lib/tkextlib/tcllib/plotchart.rb, line 106
  def self.polar_coordinates(w, radmax)
    tk_call_without_enc('::Plotchart::polarCoordinates', w.path, radmax)
  end

[Source]

# File tk/lib/tkextlib/tcllib/plotchart.rb, line 110
  def self.polar_to_pixel(w, rad, phi)
    list(tk_call_without_enc('::Plotchart::polarToPixel', w.path, rad, phi))
  end

[Source]

# File tk/lib/tkextlib/tcllib/plotchart.rb, line 122
  def self.set_zoom_pan(w)
    tk_call_without_enc('::Plotchart::setZoomPan', w.path)
  end

[Source]

# File tk/lib/tkextlib/tcllib/plotchart.rb, line 83
  def self.view_port(w, *args) # args := pxmin, pymin, pxmax, pymax

    tk_call_without_enc('::Plotchart::viewPort', w.path, *(args.flatten))
  end

[Source]

# File tk/lib/tkextlib/tcllib/plotchart.rb, line 92
  def self.world_3D_coordinates(w, *args) 
    # args := xmin, ymin, zmin, xmax, ymax, zmax

    tk_call_without_enc('::Plotchart::world3DCoordinates', 
                        w.path, *(args.flatten))
  end

[Source]

# File tk/lib/tkextlib/tcllib/plotchart.rb, line 87
  def self.world_coordinates(w, *args) # args := xmin, ymin, xmax, ymax

    tk_call_without_enc('::Plotchart::worldCoordinates', 
                        w.path, *(args.flatten))
  end

[Validate]