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
``In the react framework, how do you add a custom html mark to the tradingvie arealine diagram? I looked at the shap and mark in the api and it seems that it cannot customize content with styles (such as a combination of pictures and text). I hope to get your help. Thank you so much
The following is my current code, which can only form a circle mark, which does not meet my needs: getMarks: (symbolInfo, startDate, endDate, onDataCallback, resolution) => { console.log('getMarks', symbolInfo, startDate, endDate, onDataCallback, resolution); var Arr = [ { id: 1, time: Date.now() / 1000 - 45, color: 'red', text: '<div>3333</div>', label: 'test', labelFontColor: 'yellow', minSize: 30, }, ] let res = onDataCallback(Arr); console.log(res, "=====getMarks running"); },
The text was updated successfully, but these errors were encountered:
Unfortunately, it is currently not possible to customize the shape of bar marks. We are collecting requests for this functionality. At the moment it is not possible to say whether this will be implemented or any ETAs.
``In the react framework, how do you add a custom html mark to the tradingvie arealine diagram? I looked at the shap and mark in the api and it seems that it cannot customize content with styles (such as a combination of pictures and text). I hope to get your help. Thank you so much
The following is my current code, which can only form a circle mark, which does not meet my needs:
getMarks: (symbolInfo, startDate, endDate, onDataCallback, resolution) => { console.log('getMarks', symbolInfo, startDate, endDate, onDataCallback, resolution); var Arr = [ { id: 1, time: Date.now() / 1000 - 45, color: 'red', text: '<div>3333</div>', label: 'test', labelFontColor: 'yellow', minSize: 30, }, ] let res = onDataCallback(Arr); console.log(res, "=====getMarks running"); },
The text was updated successfully, but these errors were encountered: