Merged
Conversation
Compliance consts
v0.7.0 - Box, Polyline & Table Renderers, Render Clipping
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
[0.7.0] - 2026-02-27 - Box, Polyline & Table Renderers, Render Clipping
Added
BoxRenderer): New renderer for Pine Scriptbox.*drawing objects. Renders filled rectangles defined by two corners(left, top)→(right, bottom)with configurable fill color, border color/width/style, optional text, and extend mode. Supports 8-digit hex colors (#RRGGBBAA) by converting them torgba()for ECharts canvas compatibility.PolylineRenderer): New renderer for Pine Scriptpolyline.*drawing objects. Renders multi-point connected paths from an array ofchart.pointobjects, with support for straight or curved segments, optional closed shapes, and fill color.TableOverlayRenderer): New HTML-based renderer for Pine Scripttable.*drawing objects. Tables are positioned as DOM overlays anchored to fixed positions (top_left,bottom_center, etc.) rather than data coordinates. Supports cell text, background/text/border colors, full opacity control, and Pine Script's "last table at each position wins" behavior.Fixed
LayoutManagerto expose the grid rect for clipping and rewrote clipping logic across all affected renderers.LabelRenderer,ShapeRenderer,ShapeUtils,DrawingLineRenderer,LinefillRenderer) to match PineTS constant names. This ensures PineTS output renders correctly without manual constant conversion.