This may seem obvious to me but it bloody wasn't to me. Spent ages on this >:( Oh well hopefully this post will help someone else.
Charting is not a feature of the flex sdk and charts can not be used wiht just the sdk.
In order to use a chart in flex you need to purchase their flex builder proffessional product.
Error: Type was not found or was not a compile-time constant: BarChart.
mx:BarChart id="myChart"