Getting Data In

Advanced Charting Module

healthtrans
Explorer

I'm trying to build a chart for simple volume / month. I do a simple timechart span=1mon with a count field and the search produces the desired output. However, when I use the advanced module for creating the chart, the "time" axis is grouped in 2 month increments, and I'd like to have every month displayed as a major tick. (axis x says "January, March, May" and I'd like to see "January, February, March, April")

Can someone tell me what I'm doing wrong in this code? Or for that matter, how to produce the outcome I spell out above? Should I be using a numeric property instead of the time property?

10         <module name="HiddenSavedSearch" layoutPanel="panel_row1_col1" group="Sum of Claims" autoRun="True">
11                 <param name="savedSearch">HTAnalytics_SumOfClaims_Chart1</param>
12                 <module name="HiddenChartFormatter">
13                         <param name="chart">area</param>
14                         <param name="charting.axislabelsX.majorUnit">P1M</param>
15                         <param name="charting.axislabelsX.minorUnit">P1M</param>
16                         <param name="primaryAxisTitle.text">Month of Year</param>
17                         <param name="secondaryAxisTitle.text">Claims Per Month</param>
18                         <param name="legend.placement">none</param>
19                         <module name="FlashChart"/>
20                 </module>
21         </module>

Thanks!

Tags (3)
1 Solution

healthtrans
Explorer

I found the issue, it's actually nothing more then a typo on my part, axisLabelsX is case sensitive, and I used a lower case l. Thanks all that took a look!

View solution in original post

healthtrans
Explorer

I found the issue, it's actually nothing more then a typo on my part, axisLabelsX is case sensitive, and I used a lower case l. Thanks all that took a look!

Get Updates on the Splunk Community!

Index This | Forward, I’m heavy; backward, I’m not. What am I?

April 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

A Guide To Cloud Migration Success

As enterprises’ rapid expansion to the cloud continues, IT leaders are continuously looking for ways to focus ...

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...