Both searches and XML-based dashboards will let you plot graphs. Consider running through the tutorial for examples: http://docs.splunk.com/Documentation/Splunk/latest/Tutorial/WelcometotheSplunktutorial
The graphs in tutorial don't have values in bar or pie chart. I want to put the value above each bar graph!!