# Help needed on simple flex line chart

**URL:** <https://forum.kirupa.com/t/help-needed-on-simple-flex-line-chart/319907>\
**Category:** flash\
**Created:** [March 8, 2011, 11:36am UTC](https://forum.kirupa.com/t/help-needed-on-simple-flex-line-chart/319907 "2011-03-08T11:36:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rajesh\_flash](https://avatars.discourse-cdn.com/v4/letter/r/d2c977/32.png) [@rajesh\_flash](https://forum.kirupa.com/u/rajesh_flash)\
**Post date:** [March 8, 2011, 11:36am UTC](https://forum.kirupa.com/t/help-needed-on-simple-flex-line-chart/319907/1 "2011-03-08T11:36:33Z")

</div>

Dear Friends,

I need a small help on Flex Line Chart. I am using FlashBuilder 4 and doing a simple application in flex.

I am displaying a graph with 10 random values and based on the values i am trying to change the itemrenderer values like CandlestickItemRenderer and BoxItemRenderer. Now my requirement was, if the values are \> 10 i want to show my chart with CandlestickItemRenderer else i want to show the remaining spots as BoxItemRenderer. I am failing to do this. Either i am getting all the shapes as BoxItemRenderer or CandlestickItemRenderer. i am sending the code as a text file along with this.

Kindly go thru it and help me out pls.

Rajesh
