ziya 2.1.6 → 2.1.7
Sign up to get free protection for your applications and to get access to all the features.
- data/Manifest.txt +0 -317
- data/README.txt +4 -2
- data/Rakefile +3 -3
- data/examples/charts/basic_chart.rb +0 -8
- data/examples/charts/views/index.erb +4 -9
- data/lib/ziya/charts/base.rb +2 -2
- data/lib/ziya/charts/support/base.rb +1 -1
- data/lib/ziya/core_ext/string.rb +6 -6
- data/lib/ziya/gauges/base.rb +1 -1
- data/lib/ziya/gauges/support/base.rb +2 -2
- data/lib/ziya/maps/base.rb +3 -3
- data/lib/ziya/maps/support/base.rb +2 -2
- data/lib/ziya/version.rb +1 -1
- data/lib/ziya/yaml_helpers/base.rb +1 -1
- data/spec/charts/chart_type_spec.rb +1 -1
- data/spec/core_ext/string_spec.rb +10 -10
- metadata +4 -321
- data/docs/History.txt.html +0 -50
- data/docs/README.txt.html +0 -403
- data/docs/String.html +0 -832
- data/docs/Ziya.html +0 -636
- data/docs/Ziya/Charts.html +0 -909
- data/docs/Ziya/Charts/Area.html +0 -672
- data/docs/Ziya/Charts/AreaThreed.html +0 -672
- data/docs/Ziya/Charts/Bar.html +0 -672
- data/docs/Ziya/Charts/Base.html +0 -1101
- data/docs/Ziya/Charts/Bubble.html +0 -672
- data/docs/Ziya/Charts/CandleStick.html +0 -672
- data/docs/Ziya/Charts/Column.html +0 -672
- data/docs/Ziya/Charts/ColumnThreed.html +0 -672
- data/docs/Ziya/Charts/Custom.html +0 -672
- data/docs/Ziya/Charts/Donut.html +0 -672
- data/docs/Ziya/Charts/FloatingBar.html +0 -672
- data/docs/Ziya/Charts/FloatingColumn.html +0 -672
- data/docs/Ziya/Charts/ImageColumn.html +0 -672
- data/docs/Ziya/Charts/ImagePie.html +0 -672
- data/docs/Ziya/Charts/Line.html +0 -672
- data/docs/Ziya/Charts/Mixed.html +0 -672
- data/docs/Ziya/Charts/ParallelThreedColumn.html +0 -672
- data/docs/Ziya/Charts/Pie.html +0 -672
- data/docs/Ziya/Charts/PieThreed.html +0 -672
- data/docs/Ziya/Charts/Polar.html +0 -672
- data/docs/Ziya/Charts/Scatter.html +0 -672
- data/docs/Ziya/Charts/StackedArea.html +0 -672
- data/docs/Ziya/Charts/StackedBar.html +0 -672
- data/docs/Ziya/Charts/StackedColumn.html +0 -672
- data/docs/Ziya/Charts/StackedThreedArea.html +0 -672
- data/docs/Ziya/Charts/StackedThreedColumn.html +0 -672
- data/docs/Ziya/Charts/Support.html +0 -1245
- data/docs/Ziya/Charts/Support/Area.html +0 -582
- data/docs/Ziya/Charts/Support/AxisCategory.html +0 -583
- data/docs/Ziya/Charts/Support/AxisTicks.html +0 -644
- data/docs/Ziya/Charts/Support/AxisValue.html +0 -583
- data/docs/Ziya/Charts/Support/Base.html +0 -577
- data/docs/Ziya/Charts/Support/Bevel.html +0 -583
- data/docs/Ziya/Charts/Support/Blur.html +0 -583
- data/docs/Ziya/Charts/Support/Button.html +0 -583
- data/docs/Ziya/Charts/Support/ChartBorder.html +0 -582
- data/docs/Ziya/Charts/Support/ChartGridH.html +0 -616
- data/docs/Ziya/Charts/Support/ChartGridV.html +0 -616
- data/docs/Ziya/Charts/Support/ChartGuide.html +0 -582
- data/docs/Ziya/Charts/Support/ChartLabel.html +0 -583
- data/docs/Ziya/Charts/Support/ChartNote.html +0 -582
- data/docs/Ziya/Charts/Support/ChartPref.html +0 -589
- data/docs/Ziya/Charts/Support/ChartRect.html +0 -632
- data/docs/Ziya/Charts/Support/ChartTransition.html +0 -613
- data/docs/Ziya/Charts/Support/Circle.html +0 -583
- data/docs/Ziya/Charts/Support/ContextMenu.html +0 -583
- data/docs/Ziya/Charts/Support/Draw.html +0 -886
- data/docs/Ziya/Charts/Support/DrawBase.html +0 -577
- data/docs/Ziya/Charts/Support/Filter.html +0 -668
- data/docs/Ziya/Charts/Support/FlashToJavascript.html +0 -596
- data/docs/Ziya/Charts/Support/Glow.html +0 -583
- data/docs/Ziya/Charts/Support/Image.html +0 -583
- data/docs/Ziya/Charts/Support/Legend.html +0 -582
- data/docs/Ziya/Charts/Support/Line.html +0 -583
- data/docs/Ziya/Charts/Support/Link.html +0 -734
- data/docs/Ziya/Charts/Support/LinkData.html +0 -589
- data/docs/Ziya/Charts/Support/Rect.html +0 -583
- data/docs/Ziya/Charts/Support/Scroll.html +0 -583
- data/docs/Ziya/Charts/Support/Series.html +0 -583
- data/docs/Ziya/Charts/Support/SeriesColor.html +0 -676
- data/docs/Ziya/Charts/Support/SeriesExplode.html +0 -676
- data/docs/Ziya/Charts/Support/Shadow.html +0 -583
- data/docs/Ziya/Charts/Support/Text.html +0 -664
- data/docs/Ziya/Charts/Support/Tooltip.html +0 -583
- data/docs/Ziya/Charts/Support/Update.html +0 -590
- data/docs/Ziya/Gauges.html +0 -644
- data/docs/Ziya/Gauges/Base.html +0 -1052
- data/docs/Ziya/Gauges/Radial.html +0 -654
- data/docs/Ziya/Gauges/Signal.html +0 -794
- data/docs/Ziya/Gauges/Support.html +0 -726
- data/docs/Ziya/Gauges/Support/Area.html +0 -577
- data/docs/Ziya/Gauges/Support/Base.html +0 -690
- data/docs/Ziya/Gauges/Support/Circle.html +0 -577
- data/docs/Ziya/Gauges/Support/Design.html +0 -577
- data/docs/Ziya/Gauges/Support/Image.html +0 -577
- data/docs/Ziya/Gauges/Support/Line.html +0 -577
- data/docs/Ziya/Gauges/Support/Link.html +0 -577
- data/docs/Ziya/Gauges/Support/Move.html +0 -577
- data/docs/Ziya/Gauges/Support/Point.html +0 -577
- data/docs/Ziya/Gauges/Support/Polygon.html +0 -577
- data/docs/Ziya/Gauges/Support/RadialBase.html +0 -654
- data/docs/Ziya/Gauges/Support/RadialNumbers.html +0 -694
- data/docs/Ziya/Gauges/Support/RadialTicks.html +0 -676
- data/docs/Ziya/Gauges/Support/Rect.html +0 -577
- data/docs/Ziya/Gauges/Support/Rotate.html +0 -577
- data/docs/Ziya/Gauges/Support/Scale.html +0 -577
- data/docs/Ziya/Gauges/Support/Text.html +0 -656
- data/docs/Ziya/Gauges/Support/Update.html +0 -577
- data/docs/Ziya/Gauges/Thermo.html +0 -826
- data/docs/Ziya/HtmlHelpers.html +0 -597
- data/docs/Ziya/HtmlHelpers/Charts.html +0 -1399
- data/docs/Ziya/HtmlHelpers/Gauges.html +0 -987
- data/docs/Ziya/HtmlHelpers/Maps.html +0 -950
- data/docs/Ziya/Maps.html +0 -713
- data/docs/Ziya/Maps/Australia.html +0 -648
- data/docs/Ziya/Maps/Base.html +0 -1099
- data/docs/Ziya/Maps/Belgium.html +0 -648
- data/docs/Ziya/Maps/Brazil.html +0 -648
- data/docs/Ziya/Maps/Canada.html +0 -648
- data/docs/Ziya/Maps/Europe.html +0 -648
- data/docs/Ziya/Maps/France.html +0 -648
- data/docs/Ziya/Maps/Geocode.html +0 -752
- data/docs/Ziya/Maps/Germany.html +0 -648
- data/docs/Ziya/Maps/Italy.html +0 -648
- data/docs/Ziya/Maps/Mexico.html +0 -648
- data/docs/Ziya/Maps/Support.html +0 -798
- data/docs/Ziya/Maps/Support/Arc.html +0 -577
- data/docs/Ziya/Maps/Support/ArcColor.html +0 -577
- data/docs/Ziya/Maps/Support/ArcRange.html +0 -577
- data/docs/Ziya/Maps/Support/BackgroundColor.html +0 -577
- data/docs/Ziya/Maps/Support/Base.html +0 -792
- data/docs/Ziya/Maps/Support/DefaultColor.html +0 -577
- data/docs/Ziya/Maps/Support/DefaultPoint.html +0 -577
- data/docs/Ziya/Maps/Support/FirstZoom.html +0 -577
- data/docs/Ziya/Maps/Support/HeatRange.html +0 -658
- data/docs/Ziya/Maps/Support/Hover.html +0 -577
- data/docs/Ziya/Maps/Support/Line.html +0 -577
- data/docs/Ziya/Maps/Support/LineColor.html +0 -577
- data/docs/Ziya/Maps/Support/LineRange.html +0 -577
- data/docs/Ziya/Maps/Support/OutlineColor.html +0 -577
- data/docs/Ziya/Maps/Support/Point.html +0 -577
- data/docs/Ziya/Maps/Support/PointRange.html +0 -577
- data/docs/Ziya/Maps/Support/Range.html +0 -753
- data/docs/Ziya/Maps/Support/Ranges.html +0 -658
- data/docs/Ziya/Maps/Support/Region.html +0 -577
- data/docs/Ziya/Maps/Support/ScalePoints.html +0 -577
- data/docs/Ziya/Maps/Support/ShowName.html +0 -577
- data/docs/Ziya/Maps/Support/State.html +0 -577
- data/docs/Ziya/Maps/Support/StateInfoIcon.html +0 -577
- data/docs/Ziya/Maps/Support/ZoomMode.html +0 -577
- data/docs/Ziya/Maps/Support/ZoomOutButton.html +0 -577
- data/docs/Ziya/Maps/Support/ZoomOutScale.html +0 -577
- data/docs/Ziya/Maps/Sweden.html +0 -648
- data/docs/Ziya/Maps/Uk.html +0 -648
- data/docs/Ziya/Maps/Us.html +0 -648
- data/docs/Ziya/Maps/World.html +0 -648
- data/docs/Ziya/YamlHelpers.html +0 -592
- data/docs/Ziya/YamlHelpers/Gauges.html +0 -848
- data/docs/Ziya/YamlHelpers/Maps.html +0 -750
- data/docs/Ziya/Ziyafy.html +0 -735
- data/docs/bin/ziyafy.html +0 -52
- data/docs/created.rid +0 -1
- data/docs/examples/charts/public/charts/themes/readme.txt.html +0 -61
- data/docs/examples/maps/public/maps/themes/readme.txt.html +0 -61
- data/docs/images/brick.png +0 -0
- data/docs/images/brick_link.png +0 -0
- data/docs/images/bullet_black.png +0 -0
- data/docs/images/date.png +0 -0
- data/docs/images/macFFBgHack.png +0 -0
- data/docs/images/package.png +0 -0
- data/docs/images/page_green.png +0 -0
- data/docs/images/page_white_width.png +0 -0
- data/docs/images/plugin.png +0 -0
- data/docs/images/ruby.png +0 -0
- data/docs/images/tag_green.png +0 -0
- data/docs/images/wrench.png +0 -0
- data/docs/images/wrench_orange.png +0 -0
- data/docs/images/zoom.png +0 -0
- data/docs/index.html +0 -978
- data/docs/js/darkfish.js +0 -91
- data/docs/js/jquery.js +0 -32
- data/docs/js/quicksearch.js +0 -135
- data/docs/js/thickbox-compressed.js +0 -10
- data/docs/lib/ziya.rb.html +0 -43
- data/docs/lib/ziya/charts/area.rb.html +0 -54
- data/docs/lib/ziya/charts/area_threed.rb.html +0 -153
- data/docs/lib/ziya/charts/bar.rb.html +0 -45
- data/docs/lib/ziya/charts/base.rb.html +0 -71
- data/docs/lib/ziya/charts/bubble.rb.html +0 -54
- data/docs/lib/ziya/charts/candle_stick.rb.html +0 -45
- data/docs/lib/ziya/charts/column.rb.html +0 -45
- data/docs/lib/ziya/charts/column_threed.rb.html +0 -45
- data/docs/lib/ziya/charts/custom.rb.html +0 -54
- data/docs/lib/ziya/charts/donut.rb.html +0 -54
- data/docs/lib/ziya/charts/floating_bar.rb.html +0 -45
- data/docs/lib/ziya/charts/floating_column.rb.html +0 -45
- data/docs/lib/ziya/charts/image_column.rb.html +0 -54
- data/docs/lib/ziya/charts/image_pie.rb.html +0 -54
- data/docs/lib/ziya/charts/line.rb.html +0 -45
- data/docs/lib/ziya/charts/mixed.rb.html +0 -45
- data/docs/lib/ziya/charts/parallel_threed_column.rb.html +0 -45
- data/docs/lib/ziya/charts/pie.rb.html +0 -45
- data/docs/lib/ziya/charts/pie_threed.rb.html +0 -45
- data/docs/lib/ziya/charts/polar.rb.html +0 -45
- data/docs/lib/ziya/charts/scatter.rb.html +0 -45
- data/docs/lib/ziya/charts/stacked_area.rb.html +0 -45
- data/docs/lib/ziya/charts/stacked_bar.rb.html +0 -45
- data/docs/lib/ziya/charts/stacked_column.rb.html +0 -45
- data/docs/lib/ziya/charts/stacked_threed_area.rb.html +0 -45
- data/docs/lib/ziya/charts/stacked_threed_column.rb.html +0 -45
- data/docs/lib/ziya/charts/support/area.rb.html +0 -56
- data/docs/lib/ziya/charts/support/axis_category.rb.html +0 -407
- data/docs/lib/ziya/charts/support/axis_ticks.rb.html +0 -48
- data/docs/lib/ziya/charts/support/axis_value.rb.html +0 -48
- data/docs/lib/ziya/charts/support/base.rb.html +0 -64
- data/docs/lib/ziya/charts/support/bevel.rb.html +0 -48
- data/docs/lib/ziya/charts/support/blur.rb.html +0 -48
- data/docs/lib/ziya/charts/support/button.rb.html +0 -48
- data/docs/lib/ziya/charts/support/chart_border.rb.html +0 -48
- data/docs/lib/ziya/charts/support/chart_grid_h.rb.html +0 -48
- data/docs/lib/ziya/charts/support/chart_grid_v.rb.html +0 -48
- data/docs/lib/ziya/charts/support/chart_guide.rb.html +0 -48
- data/docs/lib/ziya/charts/support/chart_label.rb.html +0 -49
- data/docs/lib/ziya/charts/support/chart_note.rb.html +0 -53
- data/docs/lib/ziya/charts/support/chart_pref.rb.html +0 -48
- data/docs/lib/ziya/charts/support/chart_rect.rb.html +0 -48
- data/docs/lib/ziya/charts/support/chart_transition.rb.html +0 -48
- data/docs/lib/ziya/charts/support/circle.rb.html +0 -48
- data/docs/lib/ziya/charts/support/context_menu.rb.html +0 -47
- data/docs/lib/ziya/charts/support/draw.rb.html +0 -57
- data/docs/lib/ziya/charts/support/draw_base.rb.html +0 -48
- data/docs/lib/ziya/charts/support/filter.rb.html +0 -52
- data/docs/lib/ziya/charts/support/flash_to_javascript.rb.html +0 -48
- data/docs/lib/ziya/charts/support/glow.rb.html +0 -48
- data/docs/lib/ziya/charts/support/image.rb.html +0 -52
- data/docs/lib/ziya/charts/support/legend.rb.html +0 -48
- data/docs/lib/ziya/charts/support/line.rb.html +0 -48
- data/docs/lib/ziya/charts/support/link.rb.html +0 -48
- data/docs/lib/ziya/charts/support/link_data.rb.html +0 -48
- data/docs/lib/ziya/charts/support/rect.rb.html +0 -48
- data/docs/lib/ziya/charts/support/scroll.rb.html +0 -50
- data/docs/lib/ziya/charts/support/series.rb.html +0 -47
- data/docs/lib/ziya/charts/support/series_color.rb.html +0 -62
- data/docs/lib/ziya/charts/support/series_explode.rb.html +0 -65
- data/docs/lib/ziya/charts/support/shadow.rb.html +0 -48
- data/docs/lib/ziya/charts/support/text.rb.html +0 -51
- data/docs/lib/ziya/charts/support/tooltip.rb.html +0 -53
- data/docs/lib/ziya/charts/support/update.rb.html +0 -49
- data/docs/lib/ziya/core_ext/string.rb.html +0 -50
- data/docs/lib/ziya/gauges/base.rb.html +0 -54
- data/docs/lib/ziya/gauges/radial.rb.html +0 -64
- data/docs/lib/ziya/gauges/signal.rb.html +0 -49
- data/docs/lib/ziya/gauges/support/area.rb.html +0 -57
- data/docs/lib/ziya/gauges/support/base.rb.html +0 -39
- data/docs/lib/ziya/gauges/support/circle.rb.html +0 -57
- data/docs/lib/ziya/gauges/support/design.rb.html +0 -39
- data/docs/lib/ziya/gauges/support/image.rb.html +0 -57
- data/docs/lib/ziya/gauges/support/line.rb.html +0 -57
- data/docs/lib/ziya/gauges/support/link.rb.html +0 -57
- data/docs/lib/ziya/gauges/support/move.rb.html +0 -57
- data/docs/lib/ziya/gauges/support/point.rb.html +0 -57
- data/docs/lib/ziya/gauges/support/polygon.rb.html +0 -57
- data/docs/lib/ziya/gauges/support/radial_base.rb.html +0 -58
- data/docs/lib/ziya/gauges/support/radial_numbers.rb.html +0 -60
- data/docs/lib/ziya/gauges/support/radial_ticks.rb.html +0 -57
- data/docs/lib/ziya/gauges/support/rect.rb.html +0 -57
- data/docs/lib/ziya/gauges/support/rotate.rb.html +0 -57
- data/docs/lib/ziya/gauges/support/scale.rb.html +0 -57
- data/docs/lib/ziya/gauges/support/text.rb.html +0 -57
- data/docs/lib/ziya/gauges/support/update.rb.html +0 -57
- data/docs/lib/ziya/gauges/thermo.rb.html +0 -48
- data/docs/lib/ziya/html_helpers.rb.html +0 -39
- data/docs/lib/ziya/html_helpers/base.rb.html +0 -48
- data/docs/lib/ziya/html_helpers/charts.rb.html +0 -48
- data/docs/lib/ziya/html_helpers/gauges.rb.html +0 -48
- data/docs/lib/ziya/html_helpers/maps.rb.html +0 -39
- data/docs/lib/ziya/maps/australia.rb.html +0 -48
- data/docs/lib/ziya/maps/base.rb.html +0 -62
- data/docs/lib/ziya/maps/belgium.rb.html +0 -39
- data/docs/lib/ziya/maps/brazil.rb.html +0 -39
- data/docs/lib/ziya/maps/canada.rb.html +0 -39
- data/docs/lib/ziya/maps/europe.rb.html +0 -39
- data/docs/lib/ziya/maps/france.rb.html +0 -39
- data/docs/lib/ziya/maps/geocode.rb.html +0 -45
- data/docs/lib/ziya/maps/germany.rb.html +0 -39
- data/docs/lib/ziya/maps/italy.rb.html +0 -39
- data/docs/lib/ziya/maps/mexico.rb.html +0 -39
- data/docs/lib/ziya/maps/support/arc.rb.html +0 -48
- data/docs/lib/ziya/maps/support/arc_color.rb.html +0 -48
- data/docs/lib/ziya/maps/support/arc_range.rb.html +0 -48
- data/docs/lib/ziya/maps/support/background_color.rb.html +0 -48
- data/docs/lib/ziya/maps/support/base.rb.html +0 -48
- data/docs/lib/ziya/maps/support/default_color.rb.html +0 -48
- data/docs/lib/ziya/maps/support/default_point.rb.html +0 -48
- data/docs/lib/ziya/maps/support/first_zoom.rb.html +0 -48
- data/docs/lib/ziya/maps/support/heat_range.rb.html +0 -50
- data/docs/lib/ziya/maps/support/hover.rb.html +0 -48
- data/docs/lib/ziya/maps/support/line.rb.html +0 -48
- data/docs/lib/ziya/maps/support/line_color.rb.html +0 -48
- data/docs/lib/ziya/maps/support/line_range.rb.html +0 -48
- data/docs/lib/ziya/maps/support/outline_color.rb.html +0 -48
- data/docs/lib/ziya/maps/support/point.rb.html +0 -48
- data/docs/lib/ziya/maps/support/point_range.rb.html +0 -48
- data/docs/lib/ziya/maps/support/range.rb.html +0 -48
- data/docs/lib/ziya/maps/support/ranges.rb.html +0 -47
- data/docs/lib/ziya/maps/support/region.rb.html +0 -48
- data/docs/lib/ziya/maps/support/scale_points.rb.html +0 -48
- data/docs/lib/ziya/maps/support/show_name.rb.html +0 -48
- data/docs/lib/ziya/maps/support/state.rb.html +0 -48
- data/docs/lib/ziya/maps/support/state_info_icon.rb.html +0 -48
- data/docs/lib/ziya/maps/support/zoom_mode.rb.html +0 -48
- data/docs/lib/ziya/maps/support/zoom_out_button.rb.html +0 -48
- data/docs/lib/ziya/maps/support/zoom_out_scale.rb.html +0 -48
- data/docs/lib/ziya/maps/sweden.rb.html +0 -39
- data/docs/lib/ziya/maps/uk.rb.html +0 -39
- data/docs/lib/ziya/maps/us.rb.html +0 -39
- data/docs/lib/ziya/maps/world.rb.html +0 -39
- data/docs/lib/ziya/utils/logger.rb.html +0 -53
- data/docs/lib/ziya/version.rb.html +0 -39
- data/docs/lib/ziya/yaml_helpers.rb.html +0 -39
- data/docs/lib/ziya/yaml_helpers/base.rb.html +0 -48
- data/docs/lib/ziya/yaml_helpers/charts.rb.html +0 -50
- data/docs/lib/ziya/yaml_helpers/gauges.rb.html +0 -39
- data/docs/lib/ziya/yaml_helpers/maps.rb.html +0 -39
- data/docs/rdoc.css +0 -664
- data/docs/release_notes.txt.html +0 -51
- data/docs/resources/charts/themes/readme.txt.html +0 -61
- data/docs/resources/maps/themes/readme.txt.html +0 -61
- data/examples/charts/public/charts/charts_library/dollar.jpg +0 -0
- data/examples/charts/public/charts/charts_library/pie.jpg +0 -0
- data/examples/charts/public/charts/themes/cool_theme/line_chart.yml +0 -5
- data/examples/charts/public/fred.xml +0 -21
@@ -1,987 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
2
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
3
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
4
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
5
|
-
<head>
|
6
|
-
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
|
7
|
-
|
8
|
-
<title>Module: Ziya::HtmlHelpers::Gauges</title>
|
9
|
-
|
10
|
-
<link rel="stylesheet" href="../../rdoc.css" type="text/css" media="screen" />
|
11
|
-
|
12
|
-
<script src="../../js/jquery.js" type="text/javascript"
|
13
|
-
charset="utf-8"></script>
|
14
|
-
<script src="../../js/thickbox-compressed.js" type="text/javascript"
|
15
|
-
charset="utf-8"></script>
|
16
|
-
<script src="../../js/quicksearch.js" type="text/javascript"
|
17
|
-
charset="utf-8"></script>
|
18
|
-
<script src="../../js/darkfish.js" type="text/javascript"
|
19
|
-
charset="utf-8"></script>
|
20
|
-
|
21
|
-
<script type="text/javascript" charset="utf-8">
|
22
|
-
$(document).ready( function() {
|
23
|
-
hookSourceViews();
|
24
|
-
hookQuickSearch();
|
25
|
-
highlightLocationTarget();
|
26
|
-
|
27
|
-
$('ul.link-list a').bind( "click", highlightClickTarget );
|
28
|
-
});
|
29
|
-
</script>
|
30
|
-
|
31
|
-
</head>
|
32
|
-
<body class="module">
|
33
|
-
|
34
|
-
<div id="metadata">
|
35
|
-
<div id="file-metadata">
|
36
|
-
<div id="file-list-section" class="section">
|
37
|
-
<h3 class="section-header">In Files</h3>
|
38
|
-
<div class="section-body">
|
39
|
-
<ul>
|
40
|
-
|
41
|
-
<li><a href="../../lib/ziya/html_helpers/gauges.rb.html?TB_iframe=true&height=400&width=600"
|
42
|
-
class="thickbox" title="lib/ziya/html_helpers/gauges.rb">lib/ziya/html_helpers/gauges.rb</a></li>
|
43
|
-
|
44
|
-
</ul>
|
45
|
-
</div>
|
46
|
-
</div>
|
47
|
-
|
48
|
-
|
49
|
-
</div>
|
50
|
-
|
51
|
-
<div id="class-metadata">
|
52
|
-
|
53
|
-
<!-- Parent Class -->
|
54
|
-
|
55
|
-
|
56
|
-
<!-- Namespace Contents -->
|
57
|
-
|
58
|
-
|
59
|
-
<!-- Method Quickref -->
|
60
|
-
|
61
|
-
<div id="method-list-section" class="section">
|
62
|
-
<h3 class="section-header">Methods</h3>
|
63
|
-
<ul class="link-list">
|
64
|
-
|
65
|
-
<li><a href="#_ziya_gauge">_ziya_gauge</a></li>
|
66
|
-
|
67
|
-
<li><a href="#class_id">class_id</a></li>
|
68
|
-
|
69
|
-
<li><a href="#codebase">codebase</a></li>
|
70
|
-
|
71
|
-
<li><a href="#default_gauge_options">default_gauge_options</a></li>
|
72
|
-
|
73
|
-
<li><a href="#gauge_path">gauge_path</a></li>
|
74
|
-
|
75
|
-
<li><a href="#gauges_swf">gauges_swf</a></li>
|
76
|
-
|
77
|
-
<li><a href="#ziya_gauge">ziya_gauge</a></li>
|
78
|
-
|
79
|
-
</ul>
|
80
|
-
</div>
|
81
|
-
|
82
|
-
|
83
|
-
<!-- Included Modules -->
|
84
|
-
|
85
|
-
<div id="includes-section" class="section">
|
86
|
-
<h3 class="section-header">Included Modules</h3>
|
87
|
-
<ul class="link-list">
|
88
|
-
|
89
|
-
|
90
|
-
<li><span class="include">Ziya::HtmlHelpers::Base</span></li>
|
91
|
-
|
92
|
-
|
93
|
-
</ul>
|
94
|
-
</div>
|
95
|
-
|
96
|
-
</div>
|
97
|
-
|
98
|
-
<div id="project-metadata">
|
99
|
-
<div id="classindex-section" class="section project-section">
|
100
|
-
<h3 class="section-header">Class Index</h3>
|
101
|
-
<ul class="link-list">
|
102
|
-
|
103
|
-
|
104
|
-
<li><a href="../../Ziya.html">Ziya</a></li>
|
105
|
-
|
106
|
-
|
107
|
-
<li><a href="../../Ziya/Charts.html">Ziya::Charts</a></li>
|
108
|
-
|
109
|
-
|
110
|
-
<li><a href="../../Ziya/Charts/Area.html">Ziya::Charts::Area</a></li>
|
111
|
-
|
112
|
-
|
113
|
-
<li><a href="../../Ziya/Charts/AreaThreed.html">Ziya::Charts::AreaThreed</a></li>
|
114
|
-
|
115
|
-
|
116
|
-
<li><a href="../../Ziya/Charts/Bar.html">Ziya::Charts::Bar</a></li>
|
117
|
-
|
118
|
-
|
119
|
-
<li><a href="../../Ziya/Charts/Base.html">Ziya::Charts::Base</a></li>
|
120
|
-
|
121
|
-
|
122
|
-
<li><a href="../../Ziya/Charts/Bubble.html">Ziya::Charts::Bubble</a></li>
|
123
|
-
|
124
|
-
|
125
|
-
<li><a href="../../Ziya/Charts/CandleStick.html">Ziya::Charts::CandleStick</a></li>
|
126
|
-
|
127
|
-
|
128
|
-
<li><a href="../../Ziya/Charts/Column.html">Ziya::Charts::Column</a></li>
|
129
|
-
|
130
|
-
|
131
|
-
<li><a href="../../Ziya/Charts/ColumnThreed.html">Ziya::Charts::ColumnThreed</a></li>
|
132
|
-
|
133
|
-
|
134
|
-
<li><a href="../../Ziya/Charts/Custom.html">Ziya::Charts::Custom</a></li>
|
135
|
-
|
136
|
-
|
137
|
-
<li><a href="../../Ziya/Charts/Donut.html">Ziya::Charts::Donut</a></li>
|
138
|
-
|
139
|
-
|
140
|
-
<li><a href="../../Ziya/Charts/FloatingBar.html">Ziya::Charts::FloatingBar</a></li>
|
141
|
-
|
142
|
-
|
143
|
-
<li><a href="../../Ziya/Charts/FloatingColumn.html">Ziya::Charts::FloatingColumn</a></li>
|
144
|
-
|
145
|
-
|
146
|
-
<li><a href="../../Ziya/Charts/ImageColumn.html">Ziya::Charts::ImageColumn</a></li>
|
147
|
-
|
148
|
-
|
149
|
-
<li><a href="../../Ziya/Charts/ImagePie.html">Ziya::Charts::ImagePie</a></li>
|
150
|
-
|
151
|
-
|
152
|
-
<li><a href="../../Ziya/Charts/Line.html">Ziya::Charts::Line</a></li>
|
153
|
-
|
154
|
-
|
155
|
-
<li><a href="../../Ziya/Charts/Mixed.html">Ziya::Charts::Mixed</a></li>
|
156
|
-
|
157
|
-
|
158
|
-
<li><a href="../../Ziya/Charts/ParallelThreedColumn.html">Ziya::Charts::ParallelThreedColumn</a></li>
|
159
|
-
|
160
|
-
|
161
|
-
<li><a href="../../Ziya/Charts/Pie.html">Ziya::Charts::Pie</a></li>
|
162
|
-
|
163
|
-
|
164
|
-
<li><a href="../../Ziya/Charts/PieThreed.html">Ziya::Charts::PieThreed</a></li>
|
165
|
-
|
166
|
-
|
167
|
-
<li><a href="../../Ziya/Charts/Polar.html">Ziya::Charts::Polar</a></li>
|
168
|
-
|
169
|
-
|
170
|
-
<li><a href="../../Ziya/Charts/Scatter.html">Ziya::Charts::Scatter</a></li>
|
171
|
-
|
172
|
-
|
173
|
-
<li><a href="../../Ziya/Charts/StackedArea.html">Ziya::Charts::StackedArea</a></li>
|
174
|
-
|
175
|
-
|
176
|
-
<li><a href="../../Ziya/Charts/StackedBar.html">Ziya::Charts::StackedBar</a></li>
|
177
|
-
|
178
|
-
|
179
|
-
<li><a href="../../Ziya/Charts/StackedColumn.html">Ziya::Charts::StackedColumn</a></li>
|
180
|
-
|
181
|
-
|
182
|
-
<li><a href="../../Ziya/Charts/StackedThreedArea.html">Ziya::Charts::StackedThreedArea</a></li>
|
183
|
-
|
184
|
-
|
185
|
-
<li><a href="../../Ziya/Charts/StackedThreedColumn.html">Ziya::Charts::StackedThreedColumn</a></li>
|
186
|
-
|
187
|
-
|
188
|
-
<li><a href="../../Ziya/Charts/Support.html">Ziya::Charts::Support</a></li>
|
189
|
-
|
190
|
-
|
191
|
-
<li><a href="../../Ziya/Charts/Support/Area.html">Ziya::Charts::Support::Area</a></li>
|
192
|
-
|
193
|
-
|
194
|
-
<li><a href="../../Ziya/Charts/Support/AxisCategory.html">Ziya::Charts::Support::AxisCategory</a></li>
|
195
|
-
|
196
|
-
|
197
|
-
<li><a href="../../Ziya/Charts/Support/AxisTicks.html">Ziya::Charts::Support::AxisTicks</a></li>
|
198
|
-
|
199
|
-
|
200
|
-
<li><a href="../../Ziya/Charts/Support/AxisValue.html">Ziya::Charts::Support::AxisValue</a></li>
|
201
|
-
|
202
|
-
|
203
|
-
<li><a href="../../Ziya/Charts/Support/Base.html">Ziya::Charts::Support::Base</a></li>
|
204
|
-
|
205
|
-
|
206
|
-
<li><a href="../../Ziya/Charts/Support/Bevel.html">Ziya::Charts::Support::Bevel</a></li>
|
207
|
-
|
208
|
-
|
209
|
-
<li><a href="../../Ziya/Charts/Support/Blur.html">Ziya::Charts::Support::Blur</a></li>
|
210
|
-
|
211
|
-
|
212
|
-
<li><a href="../../Ziya/Charts/Support/Button.html">Ziya::Charts::Support::Button</a></li>
|
213
|
-
|
214
|
-
|
215
|
-
<li><a href="../../Ziya/Charts/Support/ChartBorder.html">Ziya::Charts::Support::ChartBorder</a></li>
|
216
|
-
|
217
|
-
|
218
|
-
<li><a href="../../Ziya/Charts/Support/ChartGridH.html">Ziya::Charts::Support::ChartGridH</a></li>
|
219
|
-
|
220
|
-
|
221
|
-
<li><a href="../../Ziya/Charts/Support/ChartGridV.html">Ziya::Charts::Support::ChartGridV</a></li>
|
222
|
-
|
223
|
-
|
224
|
-
<li><a href="../../Ziya/Charts/Support/ChartGuide.html">Ziya::Charts::Support::ChartGuide</a></li>
|
225
|
-
|
226
|
-
|
227
|
-
<li><a href="../../Ziya/Charts/Support/ChartLabel.html">Ziya::Charts::Support::ChartLabel</a></li>
|
228
|
-
|
229
|
-
|
230
|
-
<li><a href="../../Ziya/Charts/Support/ChartNote.html">Ziya::Charts::Support::ChartNote</a></li>
|
231
|
-
|
232
|
-
|
233
|
-
<li><a href="../../Ziya/Charts/Support/ChartPref.html">Ziya::Charts::Support::ChartPref</a></li>
|
234
|
-
|
235
|
-
|
236
|
-
<li><a href="../../Ziya/Charts/Support/ChartRect.html">Ziya::Charts::Support::ChartRect</a></li>
|
237
|
-
|
238
|
-
|
239
|
-
<li><a href="../../Ziya/Charts/Support/ChartTransition.html">Ziya::Charts::Support::ChartTransition</a></li>
|
240
|
-
|
241
|
-
|
242
|
-
<li><a href="../../Ziya/Charts/Support/Circle.html">Ziya::Charts::Support::Circle</a></li>
|
243
|
-
|
244
|
-
|
245
|
-
<li><a href="../../Ziya/Charts/Support/ContextMenu.html">Ziya::Charts::Support::ContextMenu</a></li>
|
246
|
-
|
247
|
-
|
248
|
-
<li><a href="../../Ziya/Charts/Support/Draw.html">Ziya::Charts::Support::Draw</a></li>
|
249
|
-
|
250
|
-
|
251
|
-
<li><a href="../../Ziya/Charts/Support/DrawBase.html">Ziya::Charts::Support::DrawBase</a></li>
|
252
|
-
|
253
|
-
|
254
|
-
<li><a href="../../Ziya/Charts/Support/Filter.html">Ziya::Charts::Support::Filter</a></li>
|
255
|
-
|
256
|
-
|
257
|
-
<li><a href="../../Ziya/Charts/Support/FlashToJavascript.html">Ziya::Charts::Support::FlashToJavascript</a></li>
|
258
|
-
|
259
|
-
|
260
|
-
<li><a href="../../Ziya/Charts/Support/Glow.html">Ziya::Charts::Support::Glow</a></li>
|
261
|
-
|
262
|
-
|
263
|
-
<li><a href="../../Ziya/Charts/Support/Image.html">Ziya::Charts::Support::Image</a></li>
|
264
|
-
|
265
|
-
|
266
|
-
<li><a href="../../Ziya/Charts/Support/Legend.html">Ziya::Charts::Support::Legend</a></li>
|
267
|
-
|
268
|
-
|
269
|
-
<li><a href="../../Ziya/Charts/Support/Line.html">Ziya::Charts::Support::Line</a></li>
|
270
|
-
|
271
|
-
|
272
|
-
<li><a href="../../Ziya/Charts/Support/Link.html">Ziya::Charts::Support::Link</a></li>
|
273
|
-
|
274
|
-
|
275
|
-
<li><a href="../../Ziya/Charts/Support/LinkData.html">Ziya::Charts::Support::LinkData</a></li>
|
276
|
-
|
277
|
-
|
278
|
-
<li><a href="../../Ziya/Charts/Support/Rect.html">Ziya::Charts::Support::Rect</a></li>
|
279
|
-
|
280
|
-
|
281
|
-
<li><a href="../../Ziya/Charts/Support/Scroll.html">Ziya::Charts::Support::Scroll</a></li>
|
282
|
-
|
283
|
-
|
284
|
-
<li><a href="../../Ziya/Charts/Support/Series.html">Ziya::Charts::Support::Series</a></li>
|
285
|
-
|
286
|
-
|
287
|
-
<li><a href="../../Ziya/Charts/Support/SeriesColor.html">Ziya::Charts::Support::SeriesColor</a></li>
|
288
|
-
|
289
|
-
|
290
|
-
<li><a href="../../Ziya/Charts/Support/SeriesExplode.html">Ziya::Charts::Support::SeriesExplode</a></li>
|
291
|
-
|
292
|
-
|
293
|
-
<li><a href="../../Ziya/Charts/Support/Shadow.html">Ziya::Charts::Support::Shadow</a></li>
|
294
|
-
|
295
|
-
|
296
|
-
<li><a href="../../Ziya/Charts/Support/Text.html">Ziya::Charts::Support::Text</a></li>
|
297
|
-
|
298
|
-
|
299
|
-
<li><a href="../../Ziya/Charts/Support/Tooltip.html">Ziya::Charts::Support::Tooltip</a></li>
|
300
|
-
|
301
|
-
|
302
|
-
<li><a href="../../Ziya/Charts/Support/Update.html">Ziya::Charts::Support::Update</a></li>
|
303
|
-
|
304
|
-
|
305
|
-
<li><a href="../../Ziya/Gauges.html">Ziya::Gauges</a></li>
|
306
|
-
|
307
|
-
|
308
|
-
<li><a href="../../Ziya/Gauges/Base.html">Ziya::Gauges::Base</a></li>
|
309
|
-
|
310
|
-
|
311
|
-
<li><a href="../../Ziya/Gauges/Radial.html">Ziya::Gauges::Radial</a></li>
|
312
|
-
|
313
|
-
|
314
|
-
<li><a href="../../Ziya/Gauges/Signal.html">Ziya::Gauges::Signal</a></li>
|
315
|
-
|
316
|
-
|
317
|
-
<li><a href="../../Ziya/Gauges/Support.html">Ziya::Gauges::Support</a></li>
|
318
|
-
|
319
|
-
|
320
|
-
<li><a href="../../Ziya/Gauges/Support/Area.html">Ziya::Gauges::Support::Area</a></li>
|
321
|
-
|
322
|
-
|
323
|
-
<li><a href="../../Ziya/Gauges/Support/Base.html">Ziya::Gauges::Support::Base</a></li>
|
324
|
-
|
325
|
-
|
326
|
-
<li><a href="../../Ziya/Gauges/Support/Circle.html">Ziya::Gauges::Support::Circle</a></li>
|
327
|
-
|
328
|
-
|
329
|
-
<li><a href="../../Ziya/Gauges/Support/Design.html">Ziya::Gauges::Support::Design</a></li>
|
330
|
-
|
331
|
-
|
332
|
-
<li><a href="../../Ziya/Gauges/Support/Image.html">Ziya::Gauges::Support::Image</a></li>
|
333
|
-
|
334
|
-
|
335
|
-
<li><a href="../../Ziya/Gauges/Support/Line.html">Ziya::Gauges::Support::Line</a></li>
|
336
|
-
|
337
|
-
|
338
|
-
<li><a href="../../Ziya/Gauges/Support/Link.html">Ziya::Gauges::Support::Link</a></li>
|
339
|
-
|
340
|
-
|
341
|
-
<li><a href="../../Ziya/Gauges/Support/Move.html">Ziya::Gauges::Support::Move</a></li>
|
342
|
-
|
343
|
-
|
344
|
-
<li><a href="../../Ziya/Gauges/Support/Point.html">Ziya::Gauges::Support::Point</a></li>
|
345
|
-
|
346
|
-
|
347
|
-
<li><a href="../../Ziya/Gauges/Support/Polygon.html">Ziya::Gauges::Support::Polygon</a></li>
|
348
|
-
|
349
|
-
|
350
|
-
<li><a href="../../Ziya/Gauges/Support/RadialBase.html">Ziya::Gauges::Support::RadialBase</a></li>
|
351
|
-
|
352
|
-
|
353
|
-
<li><a href="../../Ziya/Gauges/Support/RadialNumbers.html">Ziya::Gauges::Support::RadialNumbers</a></li>
|
354
|
-
|
355
|
-
|
356
|
-
<li><a href="../../Ziya/Gauges/Support/RadialTicks.html">Ziya::Gauges::Support::RadialTicks</a></li>
|
357
|
-
|
358
|
-
|
359
|
-
<li><a href="../../Ziya/Gauges/Support/Rect.html">Ziya::Gauges::Support::Rect</a></li>
|
360
|
-
|
361
|
-
|
362
|
-
<li><a href="../../Ziya/Gauges/Support/Rotate.html">Ziya::Gauges::Support::Rotate</a></li>
|
363
|
-
|
364
|
-
|
365
|
-
<li><a href="../../Ziya/Gauges/Support/Scale.html">Ziya::Gauges::Support::Scale</a></li>
|
366
|
-
|
367
|
-
|
368
|
-
<li><a href="../../Ziya/Gauges/Support/Text.html">Ziya::Gauges::Support::Text</a></li>
|
369
|
-
|
370
|
-
|
371
|
-
<li><a href="../../Ziya/Gauges/Support/Update.html">Ziya::Gauges::Support::Update</a></li>
|
372
|
-
|
373
|
-
|
374
|
-
<li><a href="../../Ziya/Gauges/Thermo.html">Ziya::Gauges::Thermo</a></li>
|
375
|
-
|
376
|
-
|
377
|
-
<li><a href="../../Ziya/HtmlHelpers.html">Ziya::HtmlHelpers</a></li>
|
378
|
-
|
379
|
-
|
380
|
-
<li><a href="../../Ziya/HtmlHelpers/Charts.html">Ziya::HtmlHelpers::Charts</a></li>
|
381
|
-
|
382
|
-
|
383
|
-
<li><a href="../../Ziya/HtmlHelpers/Gauges.html">Ziya::HtmlHelpers::Gauges</a></li>
|
384
|
-
|
385
|
-
|
386
|
-
<li><a href="../../Ziya/HtmlHelpers/Maps.html">Ziya::HtmlHelpers::Maps</a></li>
|
387
|
-
|
388
|
-
|
389
|
-
<li><a href="../../Ziya/Maps.html">Ziya::Maps</a></li>
|
390
|
-
|
391
|
-
|
392
|
-
<li><a href="../../Ziya/Maps/Australia.html">Ziya::Maps::Australia</a></li>
|
393
|
-
|
394
|
-
|
395
|
-
<li><a href="../../Ziya/Maps/Base.html">Ziya::Maps::Base</a></li>
|
396
|
-
|
397
|
-
|
398
|
-
<li><a href="../../Ziya/Maps/Belgium.html">Ziya::Maps::Belgium</a></li>
|
399
|
-
|
400
|
-
|
401
|
-
<li><a href="../../Ziya/Maps/Brazil.html">Ziya::Maps::Brazil</a></li>
|
402
|
-
|
403
|
-
|
404
|
-
<li><a href="../../Ziya/Maps/Canada.html">Ziya::Maps::Canada</a></li>
|
405
|
-
|
406
|
-
|
407
|
-
<li><a href="../../Ziya/Maps/Europe.html">Ziya::Maps::Europe</a></li>
|
408
|
-
|
409
|
-
|
410
|
-
<li><a href="../../Ziya/Maps/France.html">Ziya::Maps::France</a></li>
|
411
|
-
|
412
|
-
|
413
|
-
<li><a href="../../Ziya/Maps/Geocode.html">Ziya::Maps::Geocode</a></li>
|
414
|
-
|
415
|
-
|
416
|
-
<li><a href="../../Ziya/Maps/Germany.html">Ziya::Maps::Germany</a></li>
|
417
|
-
|
418
|
-
|
419
|
-
<li><a href="../../Ziya/Maps/Italy.html">Ziya::Maps::Italy</a></li>
|
420
|
-
|
421
|
-
|
422
|
-
<li><a href="../../Ziya/Maps/Mexico.html">Ziya::Maps::Mexico</a></li>
|
423
|
-
|
424
|
-
|
425
|
-
<li><a href="../../Ziya/Maps/Support.html">Ziya::Maps::Support</a></li>
|
426
|
-
|
427
|
-
|
428
|
-
<li><a href="../../Ziya/Maps/Support/Arc.html">Ziya::Maps::Support::Arc</a></li>
|
429
|
-
|
430
|
-
|
431
|
-
<li><a href="../../Ziya/Maps/Support/ArcColor.html">Ziya::Maps::Support::ArcColor</a></li>
|
432
|
-
|
433
|
-
|
434
|
-
<li><a href="../../Ziya/Maps/Support/ArcRange.html">Ziya::Maps::Support::ArcRange</a></li>
|
435
|
-
|
436
|
-
|
437
|
-
<li><a href="../../Ziya/Maps/Support/BackgroundColor.html">Ziya::Maps::Support::BackgroundColor</a></li>
|
438
|
-
|
439
|
-
|
440
|
-
<li><a href="../../Ziya/Maps/Support/Base.html">Ziya::Maps::Support::Base</a></li>
|
441
|
-
|
442
|
-
|
443
|
-
<li><a href="../../Ziya/Maps/Support/DefaultColor.html">Ziya::Maps::Support::DefaultColor</a></li>
|
444
|
-
|
445
|
-
|
446
|
-
<li><a href="../../Ziya/Maps/Support/DefaultPoint.html">Ziya::Maps::Support::DefaultPoint</a></li>
|
447
|
-
|
448
|
-
|
449
|
-
<li><a href="../../Ziya/Maps/Support/FirstZoom.html">Ziya::Maps::Support::FirstZoom</a></li>
|
450
|
-
|
451
|
-
|
452
|
-
<li><a href="../../Ziya/Maps/Support/HeatRange.html">Ziya::Maps::Support::HeatRange</a></li>
|
453
|
-
|
454
|
-
|
455
|
-
<li><a href="../../Ziya/Maps/Support/Hover.html">Ziya::Maps::Support::Hover</a></li>
|
456
|
-
|
457
|
-
|
458
|
-
<li><a href="../../Ziya/Maps/Support/Line.html">Ziya::Maps::Support::Line</a></li>
|
459
|
-
|
460
|
-
|
461
|
-
<li><a href="../../Ziya/Maps/Support/LineColor.html">Ziya::Maps::Support::LineColor</a></li>
|
462
|
-
|
463
|
-
|
464
|
-
<li><a href="../../Ziya/Maps/Support/LineRange.html">Ziya::Maps::Support::LineRange</a></li>
|
465
|
-
|
466
|
-
|
467
|
-
<li><a href="../../Ziya/Maps/Support/OutlineColor.html">Ziya::Maps::Support::OutlineColor</a></li>
|
468
|
-
|
469
|
-
|
470
|
-
<li><a href="../../Ziya/Maps/Support/Point.html">Ziya::Maps::Support::Point</a></li>
|
471
|
-
|
472
|
-
|
473
|
-
<li><a href="../../Ziya/Maps/Support/PointRange.html">Ziya::Maps::Support::PointRange</a></li>
|
474
|
-
|
475
|
-
|
476
|
-
<li><a href="../../Ziya/Maps/Support/Range.html">Ziya::Maps::Support::Range</a></li>
|
477
|
-
|
478
|
-
|
479
|
-
<li><a href="../../Ziya/Maps/Support/Ranges.html">Ziya::Maps::Support::Ranges</a></li>
|
480
|
-
|
481
|
-
|
482
|
-
<li><a href="../../Ziya/Maps/Support/Region.html">Ziya::Maps::Support::Region</a></li>
|
483
|
-
|
484
|
-
|
485
|
-
<li><a href="../../Ziya/Maps/Support/ScalePoints.html">Ziya::Maps::Support::ScalePoints</a></li>
|
486
|
-
|
487
|
-
|
488
|
-
<li><a href="../../Ziya/Maps/Support/ShowName.html">Ziya::Maps::Support::ShowName</a></li>
|
489
|
-
|
490
|
-
|
491
|
-
<li><a href="../../Ziya/Maps/Support/State.html">Ziya::Maps::Support::State</a></li>
|
492
|
-
|
493
|
-
|
494
|
-
<li><a href="../../Ziya/Maps/Support/StateInfoIcon.html">Ziya::Maps::Support::StateInfoIcon</a></li>
|
495
|
-
|
496
|
-
|
497
|
-
<li><a href="../../Ziya/Maps/Support/ZoomMode.html">Ziya::Maps::Support::ZoomMode</a></li>
|
498
|
-
|
499
|
-
|
500
|
-
<li><a href="../../Ziya/Maps/Support/ZoomOutButton.html">Ziya::Maps::Support::ZoomOutButton</a></li>
|
501
|
-
|
502
|
-
|
503
|
-
<li><a href="../../Ziya/Maps/Support/ZoomOutScale.html">Ziya::Maps::Support::ZoomOutScale</a></li>
|
504
|
-
|
505
|
-
|
506
|
-
<li><a href="../../Ziya/Maps/Sweden.html">Ziya::Maps::Sweden</a></li>
|
507
|
-
|
508
|
-
|
509
|
-
<li><a href="../../Ziya/Maps/Uk.html">Ziya::Maps::Uk</a></li>
|
510
|
-
|
511
|
-
|
512
|
-
<li><a href="../../Ziya/Maps/Us.html">Ziya::Maps::Us</a></li>
|
513
|
-
|
514
|
-
|
515
|
-
<li><a href="../../Ziya/Maps/World.html">Ziya::Maps::World</a></li>
|
516
|
-
|
517
|
-
|
518
|
-
<li><a href="../../Ziya/YamlHelpers.html">Ziya::YamlHelpers</a></li>
|
519
|
-
|
520
|
-
|
521
|
-
<li><a href="../../Ziya/YamlHelpers/Gauges.html">Ziya::YamlHelpers::Gauges</a></li>
|
522
|
-
|
523
|
-
|
524
|
-
<li><a href="../../Ziya/YamlHelpers/Maps.html">Ziya::YamlHelpers::Maps</a></li>
|
525
|
-
|
526
|
-
|
527
|
-
<li><a href="../../Ziya/Ziyafy.html">Ziya::Ziyafy</a></li>
|
528
|
-
|
529
|
-
|
530
|
-
<li><a href="../../String.html">String</a></li>
|
531
|
-
|
532
|
-
</ul>
|
533
|
-
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
|
534
|
-
|
535
|
-
<form action="#" method="get" accept-charset="utf-8">
|
536
|
-
<fieldset>
|
537
|
-
<legend>Quicksearch</legend>
|
538
|
-
<input type="text" name="quicksearch" value=""
|
539
|
-
class="quicksearch-field" />
|
540
|
-
</fieldset>
|
541
|
-
</form>
|
542
|
-
</div>
|
543
|
-
</div>
|
544
|
-
</div>
|
545
|
-
|
546
|
-
<div id="documentation">
|
547
|
-
|
548
|
-
<h1 class="module">Ziya::HtmlHelpers::Gauges</h1>
|
549
|
-
|
550
|
-
|
551
|
-
<div id="description">
|
552
|
-
<p>
|
553
|
-
Generates necessary html flash tag to support ZiYa
|
554
|
-
</p>
|
555
|
-
<p>
|
556
|
-
TODO — Rewrite to use content tag block instead...
|
557
|
-
</p>
|
558
|
-
<p>
|
559
|
-
Author: Fernand Galiana
|
560
|
-
</p>
|
561
|
-
|
562
|
-
</div>
|
563
|
-
|
564
|
-
|
565
|
-
<!-- Constants -->
|
566
|
-
|
567
|
-
|
568
|
-
<!-- Attributes -->
|
569
|
-
|
570
|
-
|
571
|
-
<!-- Methods -->
|
572
|
-
|
573
|
-
|
574
|
-
<div id="public-instance-method-details" class="method-section section">
|
575
|
-
<h3 class="section-header">Public Instance Methods</h3>
|
576
|
-
|
577
|
-
|
578
|
-
|
579
|
-
|
580
|
-
|
581
|
-
<div id="-ziya-gauge-method" class="method-detail">
|
582
|
-
|
583
|
-
<a name="_ziya_gauge"></a>
|
584
|
-
|
585
|
-
<div class="method-heading">
|
586
|
-
|
587
|
-
<span class="method-name">_ziya_gauge</span><span
|
588
|
-
class="method-args">( url, swf_path, options )</span>
|
589
|
-
<span class="method-click-advice">click to toggle source</span>
|
590
|
-
|
591
|
-
</div>
|
592
|
-
|
593
|
-
<div class="method-description">
|
594
|
-
|
595
|
-
<p class="missing-docs">(Not documented)</p>
|
596
|
-
|
597
|
-
|
598
|
-
|
599
|
-
<div class="method-source-code"
|
600
|
-
id="-ziya-gauge-source">
|
601
|
-
<pre>
|
602
|
-
<span class="ruby-comment cmt"># File lib/ziya/html_helpers/gauges.rb, line 42</span>
|
603
|
-
42: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">_ziya_gauge</span>( <span class="ruby-identifier">url</span>, <span class="ruby-identifier">swf_path</span>, <span class="ruby-identifier">options</span> )
|
604
|
-
43: <span class="ruby-comment cmt"># Setup options for opaque mode</span>
|
605
|
-
44: <span class="ruby-identifier">setup_wmode</span>( <span class="ruby-identifier">options</span> )
|
606
|
-
45:
|
607
|
-
46: <span class="ruby-comment cmt"># setup width and height</span>
|
608
|
-
47: <span class="ruby-identifier">setup_movie_size</span>( <span class="ruby-identifier">options</span> )
|
609
|
-
48:
|
610
|
-
49: <span class="ruby-identifier">color_param</span> = <span class="ruby-identifier">tag</span>( <span class="ruby-value str">'param'</span>, {<span class="ruby-identifier">:name</span> =<span class="ruby-operator">></span> <span class="ruby-value str">'bgcolor'</span>, <span class="ruby-identifier">:value</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">options</span>[<span class="ruby-identifier">:bgcolor</span>]}, <span class="ruby-keyword kw">true</span> )
|
611
|
-
50: <span class="ruby-identifier">color_param</span> <span class="ruby-operator">+=</span> <span class="ruby-identifier">tag</span>( <span class="ruby-value str">'param'</span>, {<span class="ruby-identifier">:name</span> =<span class="ruby-operator">></span> <span class="ruby-value str">"wmode"</span>, <span class="ruby-identifier">:value</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">options</span>[<span class="ruby-identifier">:wmode</span>]}, <span class="ruby-keyword kw">true</span> )
|
612
|
-
51:
|
613
|
-
52: <span class="ruby-identifier">xml_swf_path</span> = <span class="ruby-identifier">swf_path</span> <span class="ruby-operator">%</span> [<span class="ruby-identifier">options</span>[<span class="ruby-identifier">:swf_path</span>], <span class="ruby-identifier">url</span>]
|
614
|
-
53: <span class="ruby-identifier">xml_swf_path</span> <span class="ruby-operator"><<</span> <span class="ruby-node">"&amp;timestamp=#{Time.now.to_i}"</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">options</span>[<span class="ruby-identifier">:use_cache</span>] <span class="ruby-operator">==</span> <span class="ruby-keyword kw">true</span>
|
615
|
-
54: <span class="ruby-identifier">xml_swf_path</span> <span class="ruby-operator"><<</span> <span class="ruby-node">"&amp;timeout=#{options[:timeout]}&amp;retry=#{options[:retry]}"</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">options</span>[<span class="ruby-identifier">:timeout</span>]
|
616
|
-
55: <span class="ruby-identifier">xml_swf_path</span> <span class="ruby-operator"><<</span> <span class="ruby-node">"&amp;stage_width=#{options[:width]}&amp;stage_height=#{options[:height]}"</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">options</span>[<span class="ruby-identifier">:use_stage</span>] <span class="ruby-operator">==</span> <span class="ruby-keyword kw">true</span>
|
617
|
-
56: <span class="ruby-identifier">tags</span> = <span class="ruby-value str">"<object codebase=\"\#{codebase}\" classid=\"\#{options[:class_id]}\" id=\"\#{options[:id]}\" height=\"\#{options[:height]}\" width=\"\#{options[:width]}\">\n<param name=\"scale\" value=\"noscale\"/>\n<param name=\"align\" value=\"\#{options[:align]}\"/>\n<param name=\"bgcolor\" value=\"\#{options[:bgcolor]}\"/>\n<param name=\"wmode\" value=\"\#{options[:wmode]}\"/>\n<param name=\"movie\" value=\"\#{xml_swf_path}\"/>\n<param name=\"menu\" value=\"true\"/>\n<param name=\"allowFullScreen\" value=\"true\"/>\n<param name=\"allowScriptAccess\" value=\"\#{options[:script_access]}\"/>\n<param name=\"quality\" value=\"high\"/>\n<param name=\"play\" value=\"true\"/>\n<param name=\"devicefont\" value=\"false\"/>\n<embed scale=\"noscale\"\nallowfullscreen=\"true\"\nallowscriptaccess=\"\#{options[:script_access]}\"\nbgcolor=\"\#{options[:bgcolor]}\"\ndevicefont=\"false\"\nsrc=\"\#{xml_swf_path}\"\nmenu=\"true\"\nname=\"\#{options[:id]}\"\nplay=\"true\"\npluginspage=\"\#{plugin_url}\"\nquality=\"high\"\nsalign=\"\#{options[:salign]}\"\nsrc=\"\#{xml_swf_path}\"\ntype=\"\#{mime}\"\nwmode=\"\#{options[:wmode]}\"\nsalign=\"\#{options[:salign]}\"\nheight=\"\#{options[:height]}\"\nwidth=\"\#{options[:width]}\">\n</object>\n"</span>
|
618
|
-
57: <span class="ruby-keyword kw">end</span></pre>
|
619
|
-
</div>
|
620
|
-
|
621
|
-
</div>
|
622
|
-
|
623
|
-
|
624
|
-
</div>
|
625
|
-
|
626
|
-
|
627
|
-
|
628
|
-
|
629
|
-
|
630
|
-
<div id="class-id-method" class="method-detail">
|
631
|
-
|
632
|
-
<a name="class_id"></a>
|
633
|
-
|
634
|
-
<div class="method-heading">
|
635
|
-
|
636
|
-
<span class="method-name">class_id</span><span
|
637
|
-
class="method-args">()</span>
|
638
|
-
<span class="method-click-advice">click to toggle source</span>
|
639
|
-
|
640
|
-
</div>
|
641
|
-
|
642
|
-
<div class="method-description">
|
643
|
-
|
644
|
-
<p class="missing-docs">(Not documented)</p>
|
645
|
-
|
646
|
-
|
647
|
-
|
648
|
-
<div class="method-source-code"
|
649
|
-
id="class-id-source">
|
650
|
-
<pre>
|
651
|
-
<span class="ruby-comment cmt"># File lib/ziya/html_helpers/gauges.rb, line 22</span>
|
652
|
-
22: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">class_id</span>() <span class="ruby-value str">"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"</span> <span class="ruby-keyword kw">end</span></pre>
|
653
|
-
</div>
|
654
|
-
|
655
|
-
</div>
|
656
|
-
|
657
|
-
|
658
|
-
</div>
|
659
|
-
|
660
|
-
|
661
|
-
|
662
|
-
|
663
|
-
|
664
|
-
<div id="codebase-method" class="method-detail">
|
665
|
-
|
666
|
-
<a name="codebase"></a>
|
667
|
-
|
668
|
-
<div class="method-heading">
|
669
|
-
|
670
|
-
<span class="method-name">codebase</span><span
|
671
|
-
class="method-args">()</span>
|
672
|
-
<span class="method-click-advice">click to toggle source</span>
|
673
|
-
|
674
|
-
</div>
|
675
|
-
|
676
|
-
<div class="method-description">
|
677
|
-
|
678
|
-
<p class="missing-docs">(Not documented)</p>
|
679
|
-
|
680
|
-
|
681
|
-
|
682
|
-
<div class="method-source-code"
|
683
|
-
id="codebase-source">
|
684
|
-
<pre>
|
685
|
-
<span class="ruby-comment cmt"># File lib/ziya/html_helpers/gauges.rb, line 23</span>
|
686
|
-
23: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">codebase</span>() <span class="ruby-value str">"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,45,0"</span>; <span class="ruby-keyword kw">end</span></pre>
|
687
|
-
</div>
|
688
|
-
|
689
|
-
</div>
|
690
|
-
|
691
|
-
|
692
|
-
</div>
|
693
|
-
|
694
|
-
|
695
|
-
|
696
|
-
|
697
|
-
|
698
|
-
<div id="default-gauge-options-method" class="method-detail">
|
699
|
-
|
700
|
-
<a name="default_gauge_options"></a>
|
701
|
-
|
702
|
-
<div class="method-heading">
|
703
|
-
|
704
|
-
<span class="method-name">default_gauge_options</span><span
|
705
|
-
class="method-args">()</span>
|
706
|
-
<span class="method-click-advice">click to toggle source</span>
|
707
|
-
|
708
|
-
</div>
|
709
|
-
|
710
|
-
<div class="method-description">
|
711
|
-
|
712
|
-
<p class="missing-docs">(Not documented)</p>
|
713
|
-
|
714
|
-
|
715
|
-
|
716
|
-
<div class="method-source-code"
|
717
|
-
id="default-gauge-options-source">
|
718
|
-
<pre>
|
719
|
-
<span class="ruby-comment cmt"># File lib/ziya/html_helpers/gauges.rb, line 25</span>
|
720
|
-
25: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">default_gauge_options</span>
|
721
|
-
26: { <span class="ruby-identifier">:width</span> =<span class="ruby-operator">></span> <span class="ruby-value str">"200"</span>,
|
722
|
-
27: <span class="ruby-identifier">:height</span> =<span class="ruby-operator">></span> <span class="ruby-value str">"200"</span>,
|
723
|
-
28: <span class="ruby-identifier">:align</span> =<span class="ruby-operator">></span> <span class="ruby-value str">"middle"</span>,
|
724
|
-
29: <span class="ruby-identifier">:scale</span> =<span class="ruby-operator">></span> <span class="ruby-value str">"noscale"</span>,
|
725
|
-
30: <span class="ruby-identifier">:script_access</span> =<span class="ruby-operator">></span> <span class="ruby-value str">"sameDomain"</span>,
|
726
|
-
31: <span class="ruby-identifier">:salign</span> =<span class="ruby-operator">></span> <span class="ruby-value str">""</span>,
|
727
|
-
32: <span class="ruby-identifier">:class</span> =<span class="ruby-operator">></span> <span class="ruby-value str">""</span>,
|
728
|
-
33: <span class="ruby-identifier">:class_id</span> =<span class="ruby-operator">></span> <span class="ruby-value str">"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"</span>,
|
729
|
-
34: <span class="ruby-identifier">:id</span> =<span class="ruby-operator">></span> <span class="ruby-value str">"ziya_gauge"</span>,
|
730
|
-
35: <span class="ruby-identifier">:swf_path</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">gauge_path</span>,
|
731
|
-
36: <span class="ruby-identifier">:use_cache</span> =<span class="ruby-operator">></span> <span class="ruby-keyword kw">false</span>,
|
732
|
-
37: <span class="ruby-identifier">:timeout</span> =<span class="ruby-operator">></span> <span class="ruby-value">30</span>,
|
733
|
-
38: <span class="ruby-identifier">:retry</span> =<span class="ruby-operator">></span> <span class="ruby-value">2</span>,
|
734
|
-
39: <span class="ruby-identifier">:use_stage</span> =<span class="ruby-operator">></span> <span class="ruby-keyword kw">false</span> }
|
735
|
-
40: <span class="ruby-keyword kw">end</span></pre>
|
736
|
-
</div>
|
737
|
-
|
738
|
-
</div>
|
739
|
-
|
740
|
-
|
741
|
-
</div>
|
742
|
-
|
743
|
-
|
744
|
-
|
745
|
-
|
746
|
-
|
747
|
-
<div id="gauge-path-method" class="method-detail">
|
748
|
-
|
749
|
-
<a name="gauge_path"></a>
|
750
|
-
|
751
|
-
<div class="method-heading">
|
752
|
-
|
753
|
-
<span class="method-name">gauge_path</span><span
|
754
|
-
class="method-args">()</span>
|
755
|
-
<span class="method-click-advice">click to toggle source</span>
|
756
|
-
|
757
|
-
</div>
|
758
|
-
|
759
|
-
<div class="method-description">
|
760
|
-
|
761
|
-
<p class="missing-docs">(Not documented)</p>
|
762
|
-
|
763
|
-
|
764
|
-
|
765
|
-
<div class="method-source-code"
|
766
|
-
id="gauge-path-source">
|
767
|
-
<pre>
|
768
|
-
<span class="ruby-comment cmt"># File lib/ziya/html_helpers/gauges.rb, line 21</span>
|
769
|
-
21: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">gauge_path</span>() <span class="ruby-value str">"/gauges"</span>; <span class="ruby-keyword kw">end</span></pre>
|
770
|
-
</div>
|
771
|
-
|
772
|
-
</div>
|
773
|
-
|
774
|
-
|
775
|
-
</div>
|
776
|
-
|
777
|
-
|
778
|
-
|
779
|
-
|
780
|
-
|
781
|
-
<div id="gauges-swf-method" class="method-detail">
|
782
|
-
|
783
|
-
<a name="gauges_swf"></a>
|
784
|
-
|
785
|
-
<div class="method-heading">
|
786
|
-
|
787
|
-
<span class="method-name">gauges_swf</span><span
|
788
|
-
class="method-args">()</span>
|
789
|
-
<span class="method-click-advice">click to toggle source</span>
|
790
|
-
|
791
|
-
</div>
|
792
|
-
|
793
|
-
<div class="method-description">
|
794
|
-
|
795
|
-
<p><p>
|
796
|
-
Const accessors...
|
797
|
-
</p></p>
|
798
|
-
|
799
|
-
|
800
|
-
|
801
|
-
<div class="method-source-code"
|
802
|
-
id="gauges-swf-source">
|
803
|
-
<pre>
|
804
|
-
<span class="ruby-comment cmt"># File lib/ziya/html_helpers/gauges.rb, line 20</span>
|
805
|
-
20: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">gauges_swf</span>() <span class="ruby-value str">"%s/gauge.swf?xml_source=%s"</span>; <span class="ruby-keyword kw">end</span></pre>
|
806
|
-
</div>
|
807
|
-
|
808
|
-
</div>
|
809
|
-
|
810
|
-
|
811
|
-
</div>
|
812
|
-
|
813
|
-
|
814
|
-
|
815
|
-
|
816
|
-
|
817
|
-
<div id="ziya-gauge-method" class="method-detail">
|
818
|
-
|
819
|
-
<a name="ziya_gauge"></a>
|
820
|
-
|
821
|
-
<div class="method-heading">
|
822
|
-
|
823
|
-
<span class="method-name">ziya_gauge</span><span
|
824
|
-
class="method-args">( url, gauge_options={} )</span>
|
825
|
-
<span class="method-click-advice">click to toggle source</span>
|
826
|
-
|
827
|
-
</div>
|
828
|
-
|
829
|
-
<div class="method-description">
|
830
|
-
|
831
|
-
<p><p>
|
832
|
-
generates necessary html tags to display a gauge.
|
833
|
-
</p></p>
|
834
|
-
|
835
|
-
|
836
|
-
|
837
|
-
<div class="method-source-code"
|
838
|
-
id="ziya-gauge-source">
|
839
|
-
<pre>
|
840
|
-
<span class="ruby-comment cmt"># File lib/ziya/html_helpers/gauges.rb, line 11</span>
|
841
|
-
11: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">ziya_gauge</span>( <span class="ruby-identifier">url</span>, <span class="ruby-identifier">gauge_options</span>={} )
|
842
|
-
12: <span class="ruby-identifier">options</span> = <span class="ruby-identifier">default_gauge_options</span>.<span class="ruby-identifier">merge</span>( <span class="ruby-identifier">gauge_options</span> )
|
843
|
-
13: <span class="ruby-identifier">_ziya_gauge</span>( <span class="ruby-identifier">url</span>, <span class="ruby-identifier">gauges_swf</span>, <span class="ruby-identifier">options</span> )
|
844
|
-
14: <span class="ruby-keyword kw">end</span></pre>
|
845
|
-
</div>
|
846
|
-
|
847
|
-
</div>
|
848
|
-
|
849
|
-
|
850
|
-
</div>
|
851
|
-
|
852
|
-
|
853
|
-
</div>
|
854
|
-
|
855
|
-
|
856
|
-
|
857
|
-
</div>
|
858
|
-
</div>
|
859
|
-
|
860
|
-
|
861
|
-
<div id="rdoc-debugging-section-dump">
|
862
|
-
|
863
|
-
<div class="section">
|
864
|
-
<h2 class="section-header">secsequence</h2>
|
865
|
-
|
866
|
-
<pre>--- SEC00193
|
867
|
-
</pre>
|
868
|
-
</div>
|
869
|
-
|
870
|
-
<div class="section">
|
871
|
-
<h2 class="section-header">seccomment</h2>
|
872
|
-
|
873
|
-
<pre>--- ""
|
874
|
-
</pre>
|
875
|
-
</div>
|
876
|
-
|
877
|
-
<div class="section">
|
878
|
-
<h2 class="section-header">method_list</h2>
|
879
|
-
|
880
|
-
<pre>---
|
881
|
-
- methods:
|
882
|
-
- visibility: public
|
883
|
-
aref: M000051
|
884
|
-
name: _ziya_gauge
|
885
|
-
sourcecode: " <span class=\"ruby-comment cmt\"># File lib/ziya/html_helpers/gauges.rb, line 42</span>\n\
|
886
|
-
42: <span class=\"ruby-keyword kw\">def</span> <span class=\"ruby-identifier\">_ziya_gauge</span>( <span class=\"ruby-identifier\">url</span>, <span class=\"ruby-identifier\">swf_path</span>, <span class=\"ruby-identifier\">options</span> )\n\
|
887
|
-
43: <span class=\"ruby-comment cmt\"># Setup options for opaque mode</span>\n\
|
888
|
-
44: <span class=\"ruby-identifier\">setup_wmode</span>( <span class=\"ruby-identifier\">options</span> ) \n\
|
889
|
-
45: \n\
|
890
|
-
46: <span class=\"ruby-comment cmt\"># setup width and height</span>\n\
|
891
|
-
47: <span class=\"ruby-identifier\">setup_movie_size</span>( <span class=\"ruby-identifier\">options</span> )\n\
|
892
|
-
48: \n\
|
893
|
-
49: <span class=\"ruby-identifier\">color_param</span> = <span class=\"ruby-identifier\">tag</span>( <span class=\"ruby-value str\">'param'</span>, {<span class=\"ruby-identifier\">:name</span> =<span class=\"ruby-operator\">&gt;</span> <span class=\"ruby-value str\">'bgcolor'</span>, <span class=\"ruby-identifier\">:value</span> =<span class=\"ruby-operator\">&gt;</span> <span class=\"ruby-identifier\">options</span>[<span class=\"ruby-identifier\">:bgcolor</span>]}, <span class=\"ruby-keyword kw\">true</span> )\n\
|
894
|
-
50: <span class=\"ruby-identifier\">color_param</span> <span class=\"ruby-operator\">+=</span> <span class=\"ruby-identifier\">tag</span>( <span class=\"ruby-value str\">'param'</span>, {<span class=\"ruby-identifier\">:name</span> =<span class=\"ruby-operator\">&gt;</span> <span class=\"ruby-value str\">&quot;wmode&quot;</span>, <span class=\"ruby-identifier\">:value</span> =<span class=\"ruby-operator\">&gt;</span> <span class=\"ruby-identifier\">options</span>[<span class=\"ruby-identifier\">:wmode</span>]}, <span class=\"ruby-keyword kw\">true</span> )\n\
|
895
|
-
51: \n\
|
896
|
-
52: <span class=\"ruby-identifier\">xml_swf_path</span> = <span class=\"ruby-identifier\">swf_path</span> <span class=\"ruby-operator\">%</span> [<span class=\"ruby-identifier\">options</span>[<span class=\"ruby-identifier\">:swf_path</span>], <span class=\"ruby-identifier\">url</span>]\n\
|
897
|
-
53: <span class=\"ruby-identifier\">xml_swf_path</span> <span class=\"ruby-operator\">&lt;&lt;</span> <span class=\"ruby-node\">&quot;&amp;amp;timestamp=#{Time.now.to_i}&quot;</span> <span class=\"ruby-keyword kw\">if</span> <span class=\"ruby-identifier\">options</span>[<span class=\"ruby-identifier\">:use_cache</span>] <span class=\"ruby-operator\">==</span> <span class=\"ruby-keyword kw\">true</span>\n\
|
898
|
-
54: <span class=\"ruby-identifier\">xml_swf_path</span> <span class=\"ruby-operator\">&lt;&lt;</span> <span class=\"ruby-node\">&quot;&amp;amp;timeout=#{options[:timeout]}&amp;amp;retry=#{options[:retry]}&quot;</span> <span class=\"ruby-keyword kw\">if</span> <span class=\"ruby-identifier\">options</span>[<span class=\"ruby-identifier\">:timeout</span>]\n\
|
899
|
-
55: <span class=\"ruby-identifier\">xml_swf_path</span> <span class=\"ruby-operator\">&lt;&lt;</span> <span class=\"ruby-node\">&quot;&amp;amp;stage_width=#{options[:width]}&amp;amp;stage_height=#{options[:height]}&quot;</span> <span class=\"ruby-keyword kw\">if</span> <span class=\"ruby-identifier\">options</span>[<span class=\"ruby-identifier\">:use_stage</span>] <span class=\"ruby-operator\">==</span> <span class=\"ruby-keyword kw\">true</span>\n\
|
900
|
-
56: <span class=\"ruby-identifier\">tags</span> = <span class=\"ruby-value str\">&quot;&lt;object codebase=\\&quot;\\#{codebase}\\&quot; classid=\\&quot;\\#{options[:class_id]}\\&quot; id=\\&quot;\\#{options[:id]}\\&quot; height=\\&quot;\\#{options[:height]}\\&quot; width=\\&quot;\\#{options[:width]}\\&quot;&gt;\\n&lt;param name=\\&quot;scale\\&quot; value=\\&quot;noscale\\&quot;/&gt;\\n&lt;param name=\\&quot;align\\&quot; value=\\&quot;\\#{options[:align]}\\&quot;/&gt;\\n&lt;param name=\\&quot;bgcolor\\&quot; value=\\&quot;\\#{options[:bgcolor]}\\&quot;/&gt;\\n&lt;param name=\\&quot;wmode\\&quot; value=\\&quot;\\#{options[:wmode]}\\&quot;/&gt;\\n&lt;param name=\\&quot;movie\\&quot; value=\\&quot;\\#{xml_swf_path}\\&quot;/&gt;\\n&lt;param name=\\&quot;menu\\&quot; value=\\&quot;true\\&quot;/&gt;\\n&lt;param name=\\&quot;allowFullScreen\\&quot; value=\\&quot;true\\&quot;/&gt;\\n&lt;param name=\\&quot;allowScriptAccess\\&quot; value=\\&quot;\\#{options[:script_access]}\\&quot;/&gt;\\n&lt;param name=\\&quot;quality\\&quot; value=\\&quot;high\\&quot;/&gt;\\n&lt;param name=\\&quot;play\\&quot; value=\\&quot;true\\&quot;/&gt;\\n&lt;param name=\\&quot;devicefont\\&quot; value=\\&quot;false\\&quot;/&gt;\\n&lt;embed scale=\\&quot;noscale\\&quot;\\nallowfullscreen=\\&quot;true\\&quot;\\nallowscriptaccess=\\&quot;\\#{options[:script_access]}\\&quot;\\nbgcolor=\\&quot;\\#{options[:bgcolor]}\\&quot;\\ndevicefont=\\&quot;false\\&quot;\\nsrc=\\&quot;\\#{xml_swf_path}\\&quot;\\nmenu=\\&quot;true\\&quot;\\nname=\\&quot;\\#{options[:id]}\\&quot;\\nplay=\\&quot;true\\&quot;\\npluginspage=\\&quot;\\#{plugin_url}\\&quot;\\nquality=\\&quot;high\\&quot;\\nsalign=\\&quot;\\#{options[:salign]}\\&quot;\\nsrc=\\&quot;\\#{xml_swf_path}\\&quot;\\ntype=\\&quot;\\#{mime}\\&quot;\\nwmode=\\&quot;\\#{options[:wmode]}\\&quot;\\nsalign=\\&quot;\\#{options[:salign]}\\&quot;\\nheight=\\&quot;\\#{options[:height]}\\&quot;\\nwidth=\\&quot;\\#{options[:width]}\\&quot;&gt;\\n&lt;/object&gt;\\n&quot;</span>\n\
|
901
|
-
57: <span class=\"ruby-keyword kw\">end</span>"
|
902
|
-
params: ( url, swf_path, options )
|
903
|
-
- visibility: public
|
904
|
-
aref: M000048
|
905
|
-
name: class_id
|
906
|
-
sourcecode: " <span class=\"ruby-comment cmt\"># File lib/ziya/html_helpers/gauges.rb, line 22</span>\n\
|
907
|
-
22: <span class=\"ruby-keyword kw\">def</span> <span class=\"ruby-identifier\">class_id</span>() <span class=\"ruby-value str\">&quot;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&quot;</span> <span class=\"ruby-keyword kw\">end</span>"
|
908
|
-
params: ()
|
909
|
-
- visibility: public
|
910
|
-
aref: M000049
|
911
|
-
name: codebase
|
912
|
-
sourcecode: " <span class=\"ruby-comment cmt\"># File lib/ziya/html_helpers/gauges.rb, line 23</span>\n\
|
913
|
-
23: <span class=\"ruby-keyword kw\">def</span> <span class=\"ruby-identifier\">codebase</span>() <span class=\"ruby-value str\">&quot;http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,45,0&quot;</span>; <span class=\"ruby-keyword kw\">end</span>"
|
914
|
-
params: ()
|
915
|
-
- visibility: public
|
916
|
-
aref: M000050
|
917
|
-
name: default_gauge_options
|
918
|
-
sourcecode: " <span class=\"ruby-comment cmt\"># File lib/ziya/html_helpers/gauges.rb, line 25</span>\n\
|
919
|
-
25: <span class=\"ruby-keyword kw\">def</span> <span class=\"ruby-identifier\">default_gauge_options</span>\n\
|
920
|
-
26: { <span class=\"ruby-identifier\">:width</span> =<span class=\"ruby-operator\">&gt;</span> <span class=\"ruby-value str\">&quot;200&quot;</span>,\n\
|
921
|
-
27: <span class=\"ruby-identifier\">:height</span> =<span class=\"ruby-operator\">&gt;</span> <span class=\"ruby-value str\">&quot;200&quot;</span>,\n\
|
922
|
-
28: <span class=\"ruby-identifier\">:align</span> =<span class=\"ruby-operator\">&gt;</span> <span class=\"ruby-value str\">&quot;middle&quot;</span>,\n\
|
923
|
-
29: <span class=\"ruby-identifier\">:scale</span> =<span class=\"ruby-operator\">&gt;</span> <span class=\"ruby-value str\">&quot;noscale&quot;</span>,\n\
|
924
|
-
30: <span class=\"ruby-identifier\">:script_access</span> =<span class=\"ruby-operator\">&gt;</span> <span class=\"ruby-value str\">&quot;sameDomain&quot;</span>,\n\
|
925
|
-
31: <span class=\"ruby-identifier\">:salign</span> =<span class=\"ruby-operator\">&gt;</span> <span class=\"ruby-value str\">&quot;&quot;</span>,\n\
|
926
|
-
32: <span class=\"ruby-identifier\">:class</span> =<span class=\"ruby-operator\">&gt;</span> <span class=\"ruby-value str\">&quot;&quot;</span>, \n\
|
927
|
-
33: <span class=\"ruby-identifier\">:class_id</span> =<span class=\"ruby-operator\">&gt;</span> <span class=\"ruby-value str\">&quot;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&quot;</span>, \n\
|
928
|
-
34: <span class=\"ruby-identifier\">:id</span> =<span class=\"ruby-operator\">&gt;</span> <span class=\"ruby-value str\">&quot;ziya_gauge&quot;</span>,\n\
|
929
|
-
35: <span class=\"ruby-identifier\">:swf_path</span> =<span class=\"ruby-operator\">&gt;</span> <span class=\"ruby-identifier\">gauge_path</span>,\n\
|
930
|
-
36: <span class=\"ruby-identifier\">:use_cache</span> =<span class=\"ruby-operator\">&gt;</span> <span class=\"ruby-keyword kw\">false</span>,\n\
|
931
|
-
37: <span class=\"ruby-identifier\">:timeout</span> =<span class=\"ruby-operator\">&gt;</span> <span class=\"ruby-value\">30</span>,\n\
|
932
|
-
38: <span class=\"ruby-identifier\">:retry</span> =<span class=\"ruby-operator\">&gt;</span> <span class=\"ruby-value\">2</span>,\n\
|
933
|
-
39: <span class=\"ruby-identifier\">:use_stage</span> =<span class=\"ruby-operator\">&gt;</span> <span class=\"ruby-keyword kw\">false</span> } \n\
|
934
|
-
40: <span class=\"ruby-keyword kw\">end</span>"
|
935
|
-
params: ()
|
936
|
-
- visibility: public
|
937
|
-
aref: M000047
|
938
|
-
name: gauge_path
|
939
|
-
sourcecode: " <span class=\"ruby-comment cmt\"># File lib/ziya/html_helpers/gauges.rb, line 21</span>\n\
|
940
|
-
21: <span class=\"ruby-keyword kw\">def</span> <span class=\"ruby-identifier\">gauge_path</span>() <span class=\"ruby-value str\">&quot;/gauges&quot;</span>; <span class=\"ruby-keyword kw\">end</span>"
|
941
|
-
params: ()
|
942
|
-
- visibility: public
|
943
|
-
aref: M000046
|
944
|
-
name: gauges_swf
|
945
|
-
sourcecode: " <span class=\"ruby-comment cmt\"># File lib/ziya/html_helpers/gauges.rb, line 20</span>\n\
|
946
|
-
20: <span class=\"ruby-keyword kw\">def</span> <span class=\"ruby-identifier\">gauges_swf</span>() <span class=\"ruby-value str\">&quot;%s/gauge.swf?xml_source=%s&quot;</span>; <span class=\"ruby-keyword kw\">end</span>"
|
947
|
-
m_desc: |-
|
948
|
-
<p>
|
949
|
-
Const accessors...
|
950
|
-
</p>
|
951
|
-
params: ()
|
952
|
-
- visibility: public
|
953
|
-
aref: M000045
|
954
|
-
name: ziya_gauge
|
955
|
-
sourcecode: " <span class=\"ruby-comment cmt\"># File lib/ziya/html_helpers/gauges.rb, line 11</span>\n\
|
956
|
-
11: <span class=\"ruby-keyword kw\">def</span> <span class=\"ruby-identifier\">ziya_gauge</span>( <span class=\"ruby-identifier\">url</span>, <span class=\"ruby-identifier\">gauge_options</span>={} )\n\
|
957
|
-
12: <span class=\"ruby-identifier\">options</span> = <span class=\"ruby-identifier\">default_gauge_options</span>.<span class=\"ruby-identifier\">merge</span>( <span class=\"ruby-identifier\">gauge_options</span> ) \n\
|
958
|
-
13: <span class=\"ruby-identifier\">_ziya_gauge</span>( <span class=\"ruby-identifier\">url</span>, <span class=\"ruby-identifier\">gauges_swf</span>, <span class=\"ruby-identifier\">options</span> )\n\
|
959
|
-
14: <span class=\"ruby-keyword kw\">end</span>"
|
960
|
-
m_desc: |-
|
961
|
-
<p>
|
962
|
-
generates necessary html tags to display a gauge.
|
963
|
-
</p>
|
964
|
-
params: ( url, gauge_options={} )
|
965
|
-
category: Instance
|
966
|
-
type: Public
|
967
|
-
</pre>
|
968
|
-
</div>
|
969
|
-
|
970
|
-
<div class="section">
|
971
|
-
<h2 class="section-header">sectitle</h2>
|
972
|
-
|
973
|
-
<pre>---
|
974
|
-
</pre>
|
975
|
-
</div>
|
976
|
-
|
977
|
-
</div>
|
978
|
-
|
979
|
-
<div id="validator-badges">
|
980
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
981
|
-
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
|
982
|
-
Rdoc Generator</a></small>.</p>
|
983
|
-
</div>
|
984
|
-
|
985
|
-
</body>
|
986
|
-
</html>
|
987
|
-
|