# md/getChart Renko chart settings

**URL:** <https://community.tradovate.com/t/md-getchart-renko-chart-settings/4700>\
**Category:** API Developers\
**Created:** [May 25, 2022, 8:26pm UTC](https://community.tradovate.com/t/md-getchart-renko-chart-settings/4700 "2022-05-25T20:26:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![alessanm](https://avatars.discourse-cdn.com/v4/letter/a/ecb155/32.png) [@alessanm](https://community.tradovate.com/u/alessanm)\
**Post date:** [May 25, 2022, 8:26pm UTC](https://community.tradovate.com/t/md-getchart-renko-chart-settings/4700/1 "2022-05-25T20:26:30Z")

</div>

Can someone tell me what are the proper settings to get Renko bars from the getChart websocket api? I have tried both “Tick” and “MinuteBar” but in either cases I never get a callback. I know the code works since I’m able to get 1minute bar with the exact same code.

This is what I’m passing to the socket.getChart API:

{  
symbol: ‘ESM2’,  
chartDescription: {  
underlyingType: ‘Tick’,  
elementSize: 8,  
elementSizeUnit: ‘Renko’,  
withHistogram: false  
},  
timeRange: { asMuchAsElements: 100 },  
callback: [Function: callback]  
}

I also tried:  
{  
symbol: ‘ESM2’,  
chartDescription: {  
underlyingType: ‘MinuteBar’,  
elementSize: 8,  
elementSizeUnit: ‘Renko’,  
withHistogram: false  
},  
timeRange: { asMuchAsElements: 100 },  
callback: [Function: callback]  
}

neither return any values.
