Expert advice required for plotly.net

Hi Friends, Anyone is here who help me in c# .net code to write one function which plot bar chart and that function return as html string of generated graph