@pie-element/graphing 3.7.9 → 3.7.10-beta.1443

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,7 +2,7 @@ const { model } = require('./generate');
2
2
 
3
3
  module.exports = {
4
4
  elements: {
5
- 'graphing-element': '../..'
5
+ 'graphing-element': '../..',
6
6
  },
7
- models: [model('1', 'graphing-element')]
7
+ models: [model('1', 'graphing-element')],
8
8
  };
@@ -83,33 +83,37 @@ exports.model = (id, element) => ({
83
83
  answers: {
84
84
  correctAnswer: {
85
85
  name: 'Correct Answer',
86
- marks: [{
87
- type: 'point',
88
- x: 0,
89
- y: 0
90
- }]
86
+ marks: [
87
+ {
88
+ type: 'point',
89
+ x: 0,
90
+ y: 0,
91
+ },
92
+ ],
91
93
  },
92
94
  alternate1: {
93
95
  name: 'Alternate 1',
94
- marks: [{
95
- type: 'segment',
96
- from: { x: 0, y: 0 },
97
- to: { x: 1, y: 1 },
98
- },
96
+ marks: [
97
+ {
98
+ type: 'segment',
99
+ from: { x: 0, y: 0 },
100
+ to: { x: 1, y: 1 },
101
+ },
99
102
  {
100
103
  type: 'point',
101
104
  x: 3,
102
105
  y: 3,
103
106
  label: 'Point',
104
- showLabel: true
105
- }]
106
- }
107
+ showLabel: true,
108
+ },
109
+ ],
110
+ },
107
111
  },
108
112
  arrows: {
109
113
  left: true,
110
114
  right: true,
111
115
  up: true,
112
- down: true
116
+ down: true,
113
117
  },
114
118
  backgroundMarks: [
115
119
  {
@@ -117,8 +121,8 @@ exports.model = (id, element) => ({
117
121
  x: 2,
118
122
  y: 2,
119
123
  label: 'Point',
120
- showLabel: true
121
- }
124
+ showLabel: true,
125
+ },
122
126
  ],
123
127
  domain: {
124
128
  min: -10,
@@ -126,11 +130,12 @@ exports.model = (id, element) => ({
126
130
  padding: 0,
127
131
  step: 1,
128
132
  labelStep: 1,
129
- axisLabel: 'x'
133
+ axisLabel: 'x',
130
134
  },
135
+ defaultTool: 'point',
131
136
  graph: {
132
137
  width: 480,
133
- height: 480
138
+ height: 480,
134
139
  },
135
140
  coordinatesOnHover: false,
136
141
  labels: { top: 'top', left: 'left', bottom: 'bottom', right: 'right' },
@@ -143,8 +148,9 @@ exports.model = (id, element) => ({
143
148
  padding: 0,
144
149
  step: 1,
145
150
  labelStep: 1,
146
- axisLabel: 'y'
151
+ axisLabel: 'y',
147
152
  },
148
153
  rationale: 'Rationale goes here',
149
154
  title: 'Graph title',
155
+ rubricEnabled: false,
150
156
  });