Skip to content

evilfant/secret-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

secret-test

Launch

yarn && yarn start or npm install && npm start   

With React?

По-хорошему Scene, Line, Label обернуть в компоненты с примерно таким api

<Scene width={1200} height={250} transform={chartMatrix}>
    <Line points={axisPoints}>
    <Line points={dataPoints} color="green">
</Scene>
<Scene width={1200} height={100}  transform={timeMatrix}>
    {labels.map(label => (
        <Label key={label.text} x={label.x} y={label.y}>{label.text}</Label>
    ))}
</Scene>

Also

Не стал делать проверки на наличие данных и нештатных ситуаций т.к. это за пределами задачи

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published