We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If one changes the height parameter in the example 4.3-1 in the manual, and draws a larger cross, it gets truncated.
height
CreateVisualization( rec( tool := "canvas", height := 500 ), """ // visualization is the canvas element var context = visualization.getContext( '2d' ); // draw an X context.beginPath(); context.moveTo( 0, 0 ); context.lineTo( 500, 500 ); context.moveTo( 500, 0 ); context.lineTo( 0, 500 ); context.stroke(); """ );
Probably, I am doing something wrong...
The text was updated successfully, but these errors were encountered:
Indeed, there is not need to change the height in the example, if one makes the cross larger, it will also be truncated.
CreateVisualization( rec( tool := "canvas", height := 300 ), """ // visualization is the canvas element var context = visualization.getContext( '2d' ); // draw an X context.beginPath(); context.moveTo( 0, 0 ); context.lineTo( 200, 200 ); context.moveTo( 200, 0 ); context.lineTo( 0, 200 ); context.stroke(); """ );
Sorry, something went wrong.
No branches or pull requests
If one changes the
height
parameter in the example 4.3-1 in the manual, and draws a larger cross, it gets truncated.Probably, I am doing something wrong...
The text was updated successfully, but these errors were encountered: