Added number function to SquiggleChart
This commit is contained in:
parent
d38caff28f
commit
f5474030ec
|
@ -153,11 +153,11 @@ to allow large and small numbers being printed cleanly.
|
|||
</Story>
|
||||
</Canvas>
|
||||
|
||||
## Functions
|
||||
## Functions (Distribution Output)
|
||||
|
||||
<Canvas>
|
||||
<Story
|
||||
name="Function"
|
||||
name="Function to Distribution"
|
||||
args={{
|
||||
squiggleString: "foo(t) = normal(t,2)*normal(5,3); foo",
|
||||
width,
|
||||
|
@ -167,6 +167,20 @@ to allow large and small numbers being printed cleanly.
|
|||
</Story>
|
||||
</Canvas>
|
||||
|
||||
## Functions (Number Output)
|
||||
|
||||
<Canvas>
|
||||
<Story
|
||||
name="Function to Number"
|
||||
args={{
|
||||
squiggleString: "foo(t) = t^2; foo",
|
||||
width,
|
||||
}}
|
||||
>
|
||||
{Template.bind({})}
|
||||
</Story>
|
||||
</Canvas>
|
||||
|
||||
## Records
|
||||
|
||||
<Canvas>
|
||||
|
|
|
@ -82,6 +82,9 @@
|
|||
"y2": {
|
||||
"scale": "yscale",
|
||||
"value": 0
|
||||
},
|
||||
"fill": {
|
||||
"value": "#2f65a7"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user