Refine your search:

I'm trying something that's probably pretty simple. When I use the dashboard editor to make a dashboard consisting of a couple bar charts; I can't seem to get them turned the proper direction. I'm using the following search string:

searchstring | chart sum(linecount) as Count by fieldname | head 15

When I run the report outside the dashboard and click on show report it shows the way I want it. Which is fieldname with count as horizontal bars. However when I put the search in the dashboard it puts count as vertical bars. Any idea how to flip these? I've tried option="reverse" to no avail.

Thanks in advance for any help.

asked 21 Sep '10, 20:23

theotherzachm's gravatar image

theotherzachm
133
accept rate: 0%


One Answer:

There are two chart types that will display bars:

  • Column: This chart type will show veritcal bars (columns)
  • Bar: This chart type will show horizontal bars.-
link

answered 21 Sep '10, 20:33

ftk's gravatar image

ftk ♦
7.2k5834
accept rate: 38%

Awesome, this pointed me in the right direction. I added the "<option name="charting.chart">bar</option>" and now it's displayed correctly. Would be nice if this was an option that could be modified through the gui.

(21 Sep '10, 21:09) theotherzachm
Post your answer
toggle preview

Follow this question

Log In to enable email subscriptions

RSS:

Answers

Answers + Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×856
×505

Asked: 21 Sep '10, 20:23

Seen: 1,562 times

Last updated: 21 Sep '10, 20:33

Copyright © 2005-2014 Splunk Inc. All rights reserved.