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