Thx by advance,
Hi Laura - Which chart are you trying to work with? I would recommend starting with one of the chart components that we provide in the SDK. You can see them in the examples directory. Take a look at this page on dev.splunk.com: http://dev.splunk.com/view/SP-CAAAEDC
It shows how to run the examples that we ship. This is a nice simple web app that shows you the code that is required to display a chart.
Generally, you will need to run a search, which I don't see in your code example. You then take the results from that search and then you have to draw the chart and pass in the search results. The examples app that we ship shows code for that for Google charts, Rickshaw and the Splunk timeline and charting views. Hope that helps.
Thanks very much for your answer. I see that there are this app but I don't able to start node.js because when I try to launch it, it say "did you forget to run 'npm install?' but I download node.js which include the module npm so I don't able to say why it doesn't work.
I want to see pie chart of column chart in my web page.
Thx by advance if you know where is the problem.