How to use Chart widget, ie for temperature data

Generated code make array local , then you cant aces it , but maybe can replace it


or change this as BUG