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
data/docs/History.txt.html
DELETED
@@ -1,50 +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
|
-
|
5
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
6
|
-
<head>
|
7
|
-
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
|
8
|
-
|
9
|
-
<title>: </title>
|
10
|
-
|
11
|
-
<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet" />
|
12
|
-
|
13
|
-
</head>
|
14
|
-
<body class="file">
|
15
|
-
|
16
|
-
<div id="metadata">
|
17
|
-
<dl>
|
18
|
-
<dt class="modified-date">Last Modified</dt>
|
19
|
-
<dd class="modified-date">Sat Oct 25 09:17:59 -0600 2008</dd>
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
</dl>
|
25
|
-
|
26
|
-
<div class="description">
|
27
|
-
<h2>Description</h2>
|
28
|
-
<h2>1.0.0 / 2008-03-01</h2>
|
29
|
-
<ul>
|
30
|
-
<li>1 major enhancement
|
31
|
-
|
32
|
-
<ul>
|
33
|
-
<li>Birthday!
|
34
|
-
|
35
|
-
</li>
|
36
|
-
</ul>
|
37
|
-
</li>
|
38
|
-
</ul>
|
39
|
-
|
40
|
-
</div>
|
41
|
-
</div>
|
42
|
-
|
43
|
-
<div id="validator-badges">
|
44
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
45
|
-
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
|
46
|
-
Rdoc Generator</a></small>.</p>
|
47
|
-
</div>
|
48
|
-
</body>
|
49
|
-
</html>
|
50
|
-
|
data/docs/README.txt.html
DELETED
@@ -1,403 +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
|
-
|
5
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
6
|
-
<head>
|
7
|
-
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
|
8
|
-
|
9
|
-
<title>: </title>
|
10
|
-
|
11
|
-
<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet" />
|
12
|
-
|
13
|
-
</head>
|
14
|
-
<body class="file">
|
15
|
-
|
16
|
-
<div id="metadata">
|
17
|
-
<dl>
|
18
|
-
<dt class="modified-date">Last Modified</dt>
|
19
|
-
<dd class="modified-date">Wed Sep 16 09:43:42 -0600 2009</dd>
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
</dl>
|
25
|
-
|
26
|
-
<div class="description">
|
27
|
-
<h2>Description</h2>
|
28
|
-
<h3>ZiYa</h3>
|
29
|
-
<pre>
|
30
|
-
by Fernand Galiana
|
31
|
-
git://github.com/derailed/ziya.git
|
32
|
-
</pre>
|
33
|
-
<h2>RELEASES</h2>
|
34
|
-
<pre>
|
35
|
-
2.0.0 - Added support for XML/SWF 5.02
|
36
|
-
2.0.1 - Additional support for 5.02 + Added donut chart from 5.03
|
37
|
-
2.0.2 - Changed logging required to 0.9.X - Update to xml/swf 5.0.4
|
38
|
-
2.0.3 - README file update - Thanks to Paul James !
|
39
|
-
2.0.4 - Fixed missing encoding on composite urls - published gem on github
|
40
|
-
2.0.5 - Fixed merb app support issue
|
41
|
-
2.0.6 - Updates to support xml/swf 5.0.5
|
42
|
-
2.0.7 - Updates to support xm/swf 5.0.7
|
43
|
-
- added parameters for the ziya_js helpers ( Tx Brian ! )
|
44
|
-
- added draw button support
|
45
|
-
- added chart_note to annotate a chart
|
46
|
-
- added tooltip chart support
|
47
|
-
2.0.8 - Patches to xml/swf/5.0.7 - scroller handle fixe + Stoppped_Scolling js callback
|
48
|
-
- added support for flash_to_javascript callbacks
|
49
|
-
- added support ids in composite charts
|
50
|
-
- various bug fixes
|
51
|
-
2.1.0 - Refactor some of the underlying ziya code
|
52
|
-
- Beef up test suite
|
53
|
-
- changed component tree
|
54
|
-
- Added geographical maps support
|
55
|
-
- Changed the default ziyafy to install charts only by default
|
56
|
-
Run ziyafy --help for the various options
|
57
|
-
- Changed add( :composites, ... ) call to take in a hash of hash instead of id/url pair.
|
58
|
-
So the correct call is now of the form chart.add( :composites, :id => { :url => ... } )
|
59
|
-
You can now add extra attributes that will be passed to the generated image component.
|
60
|
-
2.1.4 - Added support for xm/swf 5.0.8
|
61
|
-
- Removed dependency on logging gem version
|
62
|
-
2.1.5 - Added ability to enhance draw and link components in subsequent stylesheets. The old
|
63
|
-
behavior was to simply override the whole component. Now you can keep enhancing these components
|
64
|
-
in higher level stylesheets.
|
65
|
-
</pre>
|
66
|
-
<h2>DESCRIPTION:</h2>
|
67
|
-
<p>
|
68
|
-
ZiYa allows you to easily create interactive charts, gauges and maps for
|
69
|
-
your web applications. ZiYa leverages flash which offload heavy server side
|
70
|
-
processing to the client. At the root ZiYa allows you to easily generate an
|
71
|
-
XML files that will be downloaded to the client for rendering. Using this
|
72
|
-
gem, you will be able to easily create great looking charts for your
|
73
|
-
application. You will also be able to use the charts, gauges and maps has a
|
74
|
-
navigation scheme by embedding various link in the graphical components
|
75
|
-
thus bringing to the table an ideal scheme for reporting and dashboard like
|
76
|
-
applications. Your manager will love you for it !!
|
77
|
-
</p>
|
78
|
-
<pre>
|
79
|
-
Blog Site : http://ziya.liquidrail.com
|
80
|
-
Documentation : http://ziya.liquidrail.com/docs
|
81
|
-
Forum : http://groups.google.com/group/ziya-plugin
|
82
|
-
Repositories : git://github.com/derailed/ziya.git
|
83
|
-
</pre>
|
84
|
-
<h2>FEATURES:</h2>
|
85
|
-
<ul>
|
86
|
-
<li>Supports a wide variety of chart/gauge types, sure to fit your needs.
|
87
|
-
|
88
|
-
</li>
|
89
|
-
<li>Geographical maps. Maps can be drillable and refreshable
|
90
|
-
|
91
|
-
</li>
|
92
|
-
<li>Relieves your server load by generating the actual chart on the client
|
93
|
-
side.
|
94
|
-
|
95
|
-
</li>
|
96
|
-
<li>Provides for cascading like css-styles for your charts using YAML files.
|
97
|
-
|
98
|
-
</li>
|
99
|
-
<li>Themes support. You can change the appearance and behavior of any charts by
|
100
|
-
introducing new themes
|
101
|
-
|
102
|
-
</li>
|
103
|
-
</ul>
|
104
|
-
<h2>REQUIREMENTS:</h2>
|
105
|
-
<pre>
|
106
|
-
ZiYa depends on the following gems
|
107
|
-
|
108
|
-
* logging
|
109
|
-
* color
|
110
|
-
|
111
|
-
ZiYa comes pre-bundled with the following packages:
|
112
|
-
* XML/SWF charts Version 5.07 (http://www.maani.us/xml_charts/index.php)
|
113
|
-
* XML/SWF gauges Version 1.6 (http://www.maani.us/gauge/index.php)
|
114
|
-
* DIY Maps (http://backspace.com/mapapp/)
|
115
|
-
|
116
|
-
XML/SWF
|
117
|
-
* XML/SWF charts are free of charge unless you need to use special features such
|
118
|
-
as embedded links and printing.
|
119
|
-
|
120
|
-
The package cost $45 per domain, including localhost and is well worth the investment.
|
121
|
-
A similar fee applies to the gauge framework.
|
122
|
-
|
123
|
-
DIY Map
|
124
|
-
* This package is free for use in non-commercial applications. For commercial applications,
|
125
|
-
there is a $20.00 license per domain. I have chosen this package over others, as it supports
|
126
|
-
the interaction and configuration I was looking for, it seems stable and packs lots of features
|
127
|
-
for a reasonable price.
|
128
|
-
</pre>
|
129
|
-
<h2>INSTALL:</h2>
|
130
|
-
<pre>
|
131
|
-
NOTE: You will need to add github as a gem source and thus will need gem version 1.3 or later
|
132
|
-
|
133
|
-
> gem sources -a http://gems.github.com
|
134
|
-
|
135
|
-
> sudo gem install derailed-ziya
|
136
|
-
|
137
|
-
cd to your application directory and issue the following command
|
138
|
-
|
139
|
-
> ziyafy --charts
|
140
|
-
|
141
|
-
This will copy the necessary themes and flash files to run ZiYa in your application
|
142
|
-
public/charts directory. You can install maps and gauges components as well. Type in
|
143
|
-
|
144
|
-
> ziyafy --help
|
145
|
-
|
146
|
-
To see all available options.
|
147
|
-
</pre>
|
148
|
-
<h2>SYNOPSIS:</h2>
|
149
|
-
<pre>
|
150
|
-
This gem version requires a client update to flash 9.0 and possibly you will
|
151
|
-
need to get a new license from XML/SWF >= 5.0, if you want to use
|
152
|
-
advanced features suck as links and live updates.
|
153
|
-
</pre>
|
154
|
-
<h2>Creating a ZiYa chart in a Rails 2.3 application</h2>
|
155
|
-
<pre>
|
156
|
-
1 - Create a ziya.rb file under config/initializers
|
157
|
-
|
158
|
-
ziya.rb:
|
159
|
-
|
160
|
-
# Pull in the ZiYa gem framework
|
161
|
-
gem 'derailed-ziya', '= 2.1.0'
|
162
|
-
require 'ziya'
|
163
|
-
|
164
|
-
# Initializes the ZiYa Framework
|
165
|
-
Ziya.initialize(
|
166
|
-
:logger => RAILS_DEFAULT_LOGGER,
|
167
|
-
:themes_dir => File.join( File.dirname(__FILE__), %w[.. .. public charts themes])
|
168
|
-
)
|
169
|
-
|
170
|
-
This will initialize the gem. You can log the output to stdout using the ZiYa bundled logger
|
171
|
-
or specify a file ie File.join( File.dirname(__FILE__), %w[.. log ziya.log]. If you choose to use the
|
172
|
-
ZiYa logger, you can specify the :log_level option to either :warn :info :debug or :error.
|
173
|
-
You will need to specify your themes directory typically located under public/charts/themes or any location
|
174
|
-
you'll like to choose.
|
175
|
-
|
176
|
-
3 - Create a chart controller
|
177
|
-
|
178
|
-
blee_controller.rb:
|
179
|
-
|
180
|
-
class BleeController < ApplicationController
|
181
|
-
# Load ZiYa necessary helpers
|
182
|
-
helper Ziya::HtmlHelpers::Charts
|
183
|
-
helper Ziya::YamlHelpers::Charts
|
184
|
-
|
185
|
-
# Callback from the flash movie to get the chart's data
|
186
|
-
def load_chart
|
187
|
-
# Create a bar chart with 2 series composed of 3 data points each.
|
188
|
-
# Chart will be rendered using the default look and feel
|
189
|
-
chart = Ziya::Charts::Bar.new
|
190
|
-
chart.add( :axis_category_text, %w[2006 2007 2008] )
|
191
|
-
chart.add( :series, "Dogs", [10,20,30] )
|
192
|
-
chart.add( :series, "Cats", [5,15,25] )
|
193
|
-
respond_to do |fmt|
|
194
|
-
fmt.xml { render :xml => chart.to_xml }
|
195
|
-
end
|
196
|
-
end
|
197
|
-
|
198
|
-
4 - Create a view
|
199
|
-
|
200
|
-
blee/index.html.erb:
|
201
|
-
|
202
|
-
# Defines the necessary tag to embed a flash movie in your html page.
|
203
|
-
# This will callback to your controller to fetch the necessary xml.
|
204
|
-
<%= ziya_chart load_chart_url -%>
|
205
|
-
|
206
|
-
5 - Create a named route
|
207
|
-
|
208
|
-
config/routes.rb:
|
209
|
-
|
210
|
-
map.load_chart '/blee/load_chart', :controller => 'blee', :action => 'load_chart'
|
211
|
-
</pre>
|
212
|
-
<h2>Styling a chart</h2>
|
213
|
-
<h3>Basic Theme</h3>
|
214
|
-
<pre>
|
215
|
-
1 - Create a directory fred in public/charts/themes
|
216
|
-
2 - Create a file called column_chart.yml under the fred directory
|
217
|
-
2 - Edit column_chart.yml and add the following lines mind the yaml 2 space indentation!
|
218
|
-
|
219
|
-
<%= chart :column %>
|
220
|
-
<%=comp :axis_category %>
|
221
|
-
color: ff0000
|
222
|
-
|
223
|
-
3 - In fred_controller add the following directive to the chart to associate your new theme with the chart
|
224
|
-
|
225
|
-
chart.add( :theme, 'fred' )
|
226
|
-
|
227
|
-
4 - reload the page and you should now see the red x axis label
|
228
|
-
</pre>
|
229
|
-
<h3>Cascading themes</h3>
|
230
|
-
<pre>
|
231
|
-
To override the default column chart theme, you may now create an instance theme.
|
232
|
-
|
233
|
-
1 - Create fred.yml in public/chart/themes/fred
|
234
|
-
|
235
|
-
2 - Edit fred.yml as follows
|
236
|
-
|
237
|
-
<%= chart :column %>
|
238
|
-
<%=comp :axis_category %>
|
239
|
-
color: 00ff00
|
240
|
-
|
241
|
-
3 - Edit your controller to indicate the instance theme name
|
242
|
-
|
243
|
-
chart = Ziya::Charts.Column.new( nil, 'fred' )
|
244
|
-
|
245
|
-
4 - Reload the page - The x axis category labels should now be green.
|
246
|
-
|
247
|
-
NOTE: There are lots of setup example for themes in the ziya-galeria app at
|
248
|
-
git://github.com/derailed/ziya-galeria.git.
|
249
|
-
The themes component follows the xml/swf xml settings for configuration which
|
250
|
-
are documented here http://www.maani.us/xml_charts/index.php?menu=Reference
|
251
|
-
</pre>
|
252
|
-
<h3>Using theme helpers</h3>
|
253
|
-
<pre>
|
254
|
-
Just like rails view template helpers, ZiYa support helpers for theme stylesheets.
|
255
|
-
In order to use a helper for your chart you will need to use the following steps:
|
256
|
-
|
257
|
-
1 - Create a ziya directory under app/helpers
|
258
|
-
2 - Create a file called fred_helper.rb
|
259
|
-
3 - Edit fred_helper.rb and add the following lines
|
260
|
-
|
261
|
-
module Ziya::FredHelper
|
262
|
-
def random_color
|
263
|
-
%w[ffaa00 aaff00 aabbff][rand(3)]
|
264
|
-
end
|
265
|
-
end
|
266
|
-
|
267
|
-
4 - Edit you theme stylesheet to call the helper method
|
268
|
-
|
269
|
-
In fred.yml
|
270
|
-
|
271
|
-
<%= chart :column %>
|
272
|
-
<%=comp :axis_category %>
|
273
|
-
color: <%= random_color %>
|
274
|
-
|
275
|
-
5 - Edit you config/initializer/ziya.rb and add the following line
|
276
|
-
|
277
|
-
# Initializes the ZiYa Framework
|
278
|
-
Ziya.initialize( :logger => RAILS_DEFAULT_LOGGER,
|
279
|
-
:helpers_dir => File.join( File.dirname(__FILE__), %w[.. .. app helpers ziya] ), # <-- New line !!
|
280
|
-
:themes_dir => File.join( File.dirname(__FILE__), %w[.. .. public charts themes])
|
281
|
-
)
|
282
|
-
|
283
|
-
6 - Restart your app server
|
284
|
-
7 - Reload the page serveral time and watch the x axis label color change
|
285
|
-
</pre>
|
286
|
-
<h2>Creating a gauge for a rails application</h2>
|
287
|
-
<pre>
|
288
|
-
You will need to modify the ziya initializer and add the following directive
|
289
|
-
|
290
|
-
Ziya.initialize(
|
291
|
-
:logger => RAILS_DEFAULT_LOGGER,
|
292
|
-
:designs_dir => File.join( File.dirname(__FILE__), %w[.. .. public gauges designs] ), # => Add this !!
|
293
|
-
:themes_dir => File.join( File.dirname(__FILE__), %w[.. .. public charts themes]) )
|
294
|
-
|
295
|
-
* fred_controller.rb
|
296
|
-
|
297
|
-
class FredController < ApplicationController
|
298
|
-
def load_gauge
|
299
|
-
gauge = Ziya::Gauges::Base.new( LICENCE_KEY, 'my_gauge' )
|
300
|
-
respond_to do |fmt|
|
301
|
-
fmt.xml => { render :xml => gauge.to_xml }
|
302
|
-
end
|
303
|
-
end
|
304
|
-
end
|
305
|
-
|
306
|
-
* fred/index.html.erb
|
307
|
-
|
308
|
-
<%= ziya_gauge load_gauge_url -%>
|
309
|
-
|
310
|
-
* config/routes.rb
|
311
|
-
|
312
|
-
# Creates a named route for the chart.
|
313
|
-
map.load_gauge '/fred/load_gauge', :controller => 'fred', :action => 'load_gauge'
|
314
|
-
|
315
|
-
* public/gauges/designs/my_gauge.yml
|
316
|
-
|
317
|
-
In the design file you will leverage the components defined in the Ziya::Gauges::Support
|
318
|
-
package to create your gauge desgins. You gauges can be animated using rotate, scale and
|
319
|
-
move operations. In this example we will create a volume control that will rotate to the
|
320
|
-
desired position. In real life you will fetch the volume level from your models to
|
321
|
-
set the desired position. Take a look at the ZiYa sample application for the various
|
322
|
-
possibilities. You can think of a gauge as a portable canvas element where you can draw
|
323
|
-
you own designs using the various components provided ZiYa components ( No need to worry about
|
324
|
-
various browsers' canvas support )
|
325
|
-
|
326
|
-
<%= gauge :base %>
|
327
|
-
# specifies the number of ticks to draw in a circular fashion
|
328
|
-
<%= dial :radial_ticks, :volume %>
|
329
|
-
x: 100
|
330
|
-
y: 75
|
331
|
-
radius: 35
|
332
|
-
length: 4
|
333
|
-
start_angle: 235
|
334
|
-
end_angle: 485
|
335
|
-
ticks: 10
|
336
|
-
thickness: 2
|
337
|
-
color: 000000
|
338
|
-
# rotates the volume to the desired position.
|
339
|
-
<%= dial :rotate, :volume_setting %>
|
340
|
-
x: 100
|
341
|
-
y: 75
|
342
|
-
start: 300
|
343
|
-
span: 160
|
344
|
-
step: 5
|
345
|
-
skake_span: 20
|
346
|
-
shadow_alpha: 20
|
347
|
-
shadow_x_offset: 3
|
348
|
-
shadow_y_offset: 3
|
349
|
-
<%= dials %>
|
350
|
-
<%= dial :circle, :circle_1 %>
|
351
|
-
x: 100
|
352
|
-
y: 75
|
353
|
-
radius: 30
|
354
|
-
fill_color: 777777
|
355
|
-
line_thickness: 5
|
356
|
-
line_alpha: 75
|
357
|
-
<%= dial :circle, :circle_2 %>
|
358
|
-
x: 100
|
359
|
-
y: 55
|
360
|
-
radius: 5
|
361
|
-
fill_alpha: 80
|
362
|
-
</pre>
|
363
|
-
<h2>LICENSE:</h2>
|
364
|
-
<p>
|
365
|
-
(The MIT License)
|
366
|
-
</p>
|
367
|
-
<p>
|
368
|
-
Copyright © 2008 FIXME (different license?)
|
369
|
-
</p>
|
370
|
-
<p>
|
371
|
-
Permission is hereby granted, free of charge, to any person obtaining a
|
372
|
-
copy of this software and associated documentation files (the
|
373
|
-
‘Software’), to deal in the Software without restriction,
|
374
|
-
including without limitation the rights to use, copy, modify, merge,
|
375
|
-
publish, distribute, sublicense, and/or sell copies of the Software, and to
|
376
|
-
permit persons to whom the Software is furnished to do so, subject to the
|
377
|
-
following conditions:
|
378
|
-
</p>
|
379
|
-
<p>
|
380
|
-
The above copyright notice and this permission notice shall be included in
|
381
|
-
all copies or substantial portions of the Software.
|
382
|
-
</p>
|
383
|
-
<p>
|
384
|
-
THE SOFTWARE IS PROVIDED ‘AS IS’, WITHOUT WARRANTY OF ANY KIND,
|
385
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
386
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
|
387
|
-
NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
|
388
|
-
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
|
389
|
-
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
|
390
|
-
USE OR OTHER DEALINGS IN THE SOFTWARE.
|
391
|
-
</p>
|
392
|
-
|
393
|
-
</div>
|
394
|
-
</div>
|
395
|
-
|
396
|
-
<div id="validator-badges">
|
397
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
398
|
-
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
|
399
|
-
Rdoc Generator</a></small>.</p>
|
400
|
-
</div>
|
401
|
-
</body>
|
402
|
-
</html>
|
403
|
-
|