← 수업 제작 도구
홈 › Components › Graph and Graphing Calc

Graph and Graphing Calc

원본: Computation Layer 문서(Graph). 문서의 Try It 예제가 가리키는 화면 29개를 기록했고, 화면마다 CL 코드를 한국어로 풀어 썼다.

화면이름CL 수문서 항목 설명 (원문 일부)
1Graph.number [source]2Gets the numerical value of a variable in the graph.
2Graph.calculatorState [source]1Gets the full state of a graph. Pass this, for example, into the graphLayer method.
3Graph.numberList [source]3Gets the list of numbers that was assigned to the variable in the graph.
4Graph.animationTime [source]3Gets the position of the animation playhead. Use in conjunction with animationDuration.
5Graph.bounds [source]4Gets the bounds of a graph component.
6Graph.labelText [source]1Gets the content from a point label based on the name of the point.
7Graph.labelLatex [source]2Gets the inner latex content from a point label based on the name of the point.
8Graph.labelNumericValue [source]1Evaluates to content of a point label based on the name of the point.
9Graph.isAnimating [source]1Tells whether the animation is running. Use in conjunction with animationDuration.
10Graph.currentX/Y [source]1Gets the current x-coordinate of the mouse. Works on hover with a mouse and while depressed for touch.
11Graph.narration [sink]1Text that screen readers will read aloud. Similar to image alt text, narration can be used to describe a graph or sketch. Example: narration…
12Graph.animationDuration [sink]3Adds an animation playhead on top of the graph as if it were a video. This sets the duration for the animation. A non-positive value hides t…
13Graph.animationKeyboardStepValue [sink]3Sets the amount of time (in seconds) that an animation moves when its scrubber is adjusted with the arrow keys. If not specified, the scrubb…
14Graph.saveOnChange [sink]3Specify a string value. If that value changes, the component saves its state.
15Graph.resetAnimationOnChange [sink]4Specify a string value. If that value changes, the animation timer resets.
16Graph.bounds [sink]2Sets the bounds of the graph. Commonly used in combination with the "background" sink. This overrides user interaction, so we caution agains…
17Graph.background [sink]2Sets the background layer of the graph.
18Graph.number [sink]3Sets the value of a variable in the calculator. This will override any existing definitions of that variable.
19Graph.numberList [sink]1Sets a variable in the calculator to the contents of a list. This will override any existing definitions of that variable.
20Graph.pointLabel [sink]2Sets a label for a point. This only works for points defined like A=(1,2), and the identifier needs to match the name given to the point (A …
21Graph.xAxisLabel [sink]1Sets the string we display along the x-axis. This overrides any user interaction, so we caution against using it with fullscreen graphs.
22Graph.yAxisLabel [sink]1Sets the string we display along the y-axis. This overrides any user interaction, so we caution against using it with fullscreen graphs.
23Graph.audioTraceReverseExpressions [sink]1Specifies whether expressions are traversed in reverse order when audio trace is active. This behavior may be desired in situations where th…
24Graph.trace [sink]1Allows tracing curves to inspect coordinates and shows point coordinates when clicked.
25Graph.function [sink]1Sets the output of simpleFunction() to a variable defined in the graph.
26Graph.warning [sink]1Sets a string that is displayed as a tooltip in the teacher dashboard attached to a warning icon.
27Graph.correct [sink]1Sets a Boolean value that determines whether or not a gray checkmark is displayed for the student's screen in the dashboard's summary view.
28Graph.readOnly [sink]2Sets a Boolean value that determines whether or not a component will be ignored when determining a screen's correctness. If all components h…
29Graph.hidden [sink]1When true, this component will not be shown to students.

화면은 없지만 문서에 있는 항목 (3개)

이 항목들은 문서의 항목 표에 Try It 예제가 없어서 화면을 만들지 않았다. 영어 설명 원문과 한국어 해석만 적는다.

종류이름한국어 해석영어 원문
sinkexpression(identifier: latex, ...allowedSymbols: latex)계산기의 변수를 주어진 latex 식으로 정한다. 그 변수의 기존 정의는 덮어쓴다. 첫 번째 매개변수는 정의할 변수나 함수의 이름이다. 선택 사항인 나머지 매개변수는 그 latex 식이 참조할 수 있는 기호를 정한다. (기본으로는 계산기에 있는 기존 변수나 함수를 참조할 수 없다.)Sets a variable in the calculator to an expression with the provided latex. This will override any existing definitions of that variable. The first parameter is the name of the variable or function to be defined. The optional additional parameters specify the symbols that the latex expression is allowed to reference. (By default, it will not be allowed to reference any existing variables or functions in the calculator.)
sinkgraphDescription화면 낭독기가 그래프나 계산기 구성요소 전체에 대해 읽는 설명을 정한다. 그래프에 대한 기본 안내를 덮어쓰는 사용자 지정 접근성 라벨을 줄 때 쓴다.Sets the description read by screen readers for the entire graph or calculator component. Use this to provide a custom accessible label that overrides the default screen reader announcement for the graph.
sinkshowResetButton기하(geometry) 구성요소이면 재설정 버튼을 둘지를 정한다.If this is a geometry component, controls the presence of the reset button.