Odd values on chart axis

22 views
Skip to first unread message

Doug Thompson

unread,
Mar 3, 2016, 4:04:35 PM3/3/16
to Keen IO Community
Would like to display current and last month side by side in Keen Explorer.

Running a query with:
  • Count
  • Group by (name of item)
  • For this 1 month
  • Interval: 2 months
Returns a chart with more than 2 intervals on the x-axis:


















Why is it showing so many x-axis "ticks" (there are only 2 groups of data after all).

Second, trying to swap these in Keen.DataViz doesn't work. Using the following:

.chartOptions({
  isStacked
: false,
  left
: "5%",
  labelMapping
: {},
  labels
: [('Last Month', 'This Month')],
  chartArea
: {
        height
: "80%",
        left
: "10%",
        top
: "10%",
        width
: "70%"
     
}

Has no impact on how the chart appears.

Justin Johnson

unread,
Mar 14, 2016, 3:33:08 PM3/14/16
to Keen IO Community
Hi Doug,

Thanks for posting this question and sorry for not getting back to you sooner. Have you figured this one out?

I think you can get the results you want by making the timeframe 'this_2_months' and the interval 'monthly'. If you want to discuss further you can ping me on http://keen.chat, I'm @elof in there.

Best regards,

Justin

Doug Thompson

unread,
Mar 14, 2016, 5:19:59 PM3/14/16
to Justin Johnson, Keen IO Community
Thanks - will try that out.




Doug Thompson
CEO | dot3 Ltd.

p 416-860-6632
m. 647-575-1282
http://dot3digital.com
Blog: BEEKn

Boring Legal Disclaimer Stuff 
The information in this email and any attachments may contain proprietary and confidential information that is intended for the addressee(s) only. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, retention or use of the contents of this information is prohibited. When addressed to our clients or vendors, any information contained in this e-mail or any attachments is subject to the terms and conditions in any governing contract. If you have received this e-mail in error, please immediately contact the sender and delete the e-mail.


Reply all
Reply to author
Forward
0 new messages