Sha256: 4f8d55f6a076ed067e2a0a24ec0b9d0f0186cd14ad3e23e0acb1e5ee1dd032b2

Contents?: true

Size: 508 Bytes

Versions: 15

Compression:

Stored size: 508 Bytes

Contents

# frozen_string_literal: true

require 'spec_helper'

module Quby::Questionnaires::Entities
  module Charting
    describe RadarChart do
      it_behaves_like Chart

      it 'has a type' do
        expect(RadarChart.new(:tot).type).to eq 'radar_chart'
      end

      it 'can set plotlines' do
        chart = RadarChart.new(:tot, plotlines: [{value: 40, color: :red, width: 1, zIndex: 3}])
        expect(chart.plotlines).to eq([{value: 40, color: :red, width: 1, zIndex: 3}])
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
quby-5.0.1 spec/quby/questionnaires/entities/charting/radar_chart_spec.rb
quby-5.0.0 spec/quby/questionnaires/entities/charting/radar_chart_spec.rb
quby-4.0.4 spec/quby/questionnaires/entities/charting/radar_chart_spec.rb
quby-5.0.0.pre4 spec/quby/questionnaires/entities/charting/radar_chart_spec.rb
quby-5.0.0.pre3 spec/quby/questionnaires/entities/charting/radar_chart_spec.rb
quby-5.0.0.pre2 spec/quby/questionnaires/entities/charting/radar_chart_spec.rb
quby-5.0.0.pre1 spec/quby/questionnaires/entities/charting/radar_chart_spec.rb
quby-4.0.3 spec/quby/questionnaires/entities/charting/radar_chart_spec.rb
quby-4.0.2 spec/quby/questionnaires/entities/charting/radar_chart_spec.rb
quby-4.0.1 spec/quby/questionnaires/entities/charting/radar_chart_spec.rb
quby-4.0.0 spec/quby/questionnaires/entities/charting/radar_chart_spec.rb
quby-3.2.2 spec/quby/questionnaires/entities/charting/radar_chart_spec.rb
quby-3.2.1 spec/quby/questionnaires/entities/charting/radar_chart_spec.rb
quby-3.2.0 spec/quby/questionnaires/entities/charting/radar_chart_spec.rb
quby-3.2.0.pre.pre1 spec/quby/questionnaires/entities/charting/radar_chart_spec.rb