You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Reduce bounding box closer to the axes, so the invalid domains are not
visible. This is a roundabout way to resolve issues #2673, as it seems
there is no general way to add this restriction to jsxgraph's Line
element, according to the thread referenced in that issue.
* Use Label's [autoPosition](https://jsxgraph.uni-bayreuth.de/docs/symbols/Label.html#autoPosition)
option for the demand-supply graph's line labels. This option is new
in jsxgraph 1.1.0, and will give us some better dynamic position for
the line labels, through my testing. The auto-positioning isn't ideal
(see: jsxgraph/jsxgraph#575), but it looks
like it's an improvement.
The lines in an EconPractice graph should only display in the positive X and Y domains. This is sort of achieved with an ugly workaround - blocking off the area beneath the axes lines with white blocks, in
Graph.postMake()
: https://github.com/ccnmtl/econplayground/blob/master/media/js/src/graphs/Graph.js#L146It doesn't always work.
We can consider restricting lines to never render themselves when in the invalid domain, as described here:
https://groups.google.com/g/jsxgraph/c/jhEaxh225VA/m/iHUsTKxJAQAJ
The text was updated successfully, but these errors were encountered: