Sha256: aeb9c76b0c4a43a8fa649445db95984aaa744af246810699b184fdc4544a729c
Contents?: true
Size: 601 Bytes
Versions: 1
Compression:
Stored size: 601 Bytes
Contents
require_relative '../../config' require 'mdarray' morley = MDArray.double("morley.csv", true) dimensions_labels = MDArray.string([3], ["Expt", "Run", "Speed"]) # Create a new dashboard db = Sol.dashboard("Morley", morley, dimensions_labels) chart = db.chart(:line_chart, "Run", "Speed", "RunSpeed") .width(768).height(480) .x(:linear, [1, 20]) .margins(left: 50, top: 10, right: 10, bottom: 50) .y_axis_label("This is the Y Axis!") .render_area(true) .render_data_points(true) .clip_padding(10) .brush_on(false) .group(:reduce_sum) # chart.stack("Run", :reduce_count) db.plot
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mdarray-sol-0.1.0-java | examples/charts/area.rb |