Thanks for writing.
From the code you provided it appears that you have declared a chart in the XML but you are also creating a new instance of the chart in the code. The chart in the XML is displayed but since it is not configured nothing is displayed. The code chart on the other hand is initialized but it is not added to the android layout so it doesn't render anything. What you need to do is to get a reference to the chart created in XML via findViewById()
instead of creating a new instance with the new
Also, you can delete the chart created in XML and add the chart created in code to the android layout.
Please write again if you need further assistance.
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.