aaronoah / kibana_calendar_vis Goto Github PK
View Code? Open in Web Editor NEWCalendar heatmap visualization Kibana plugin
License: Apache License 2.0
Calendar heatmap visualization Kibana plugin
License: Apache License 2.0
I installed calendar viz plugin in Kibana 7.9.2 , but it is not showing up in the visualizations
- The week of the year varies depending on which day is the first day of the week (Sunday, Monday, etc), and which week is the first week of the year.
- For example, in the United States, Sunday is the first day of the week. The week with January 1st in it is the first week of the year.
- In France, Monday is the first day of the week, and the week with January 4th is the first week of the year.
moment.week()
on the last week of December could return a 53 / 52 / 1moment.week()
on the first week of January could return a 53 / 52 / 1yearView
and the monthView
and would result in (refer screenshots)
yearView:
last week of December or first week of January getting croppedmonthView:
Only last week of December or first week of January is displayed rest of the weeks are croppedExpected Behaviour
chart_grid.js
for YearView and monthView, add conditions to handle the following scenarios
Actual Behaviour
Basic Information
kibana version: 6.4
Screenshots
yearView (Dec 2018)
: last week of Dec getting cropped
Any plans to update this to be compatible with Kibana 7.0.0?
#f7fbff
this is too light and not visible.Expected Behaviour
The colour used to represent the lowest range in the legend be visible on the chart.
Actual Behaviour
The colour used to represent the lowest range in the legend isn't visible on the chart. Probably a darker shade could be used
Basic Information
kibana version: 6.4
Hi,
I ran this command:
./bin/kibana-plugin install https://github.com/aaronoah/kibana_calendar_vis/releases/download/v6.4.0/kibana_calendar_vis-6.4.0.zip
Then I obtained this error:
Plugin installation was unsuccessful due to error "Plugin kibana_calendar_vis [6.4.0] is incompatible with Kibana [7.6.1]
How can I solve it using my current Kibana version?
Any plans to update this to be compatible with 6.5.4?
// get the difference between to and from
const diff = to.diff(from, 'days');
// render a day view
if (diff <= 1)
// render a month view
else if (diff > 1 && diff < 32 && new Date(from).getMonth() === new Date(to).getMonth())
// render a year view
else if (diff > 31)
There a couple or corner cases which this will not handle
diff<1
but a year view is expected since range lies across monthsdiff<1
but a month view is expected since range lies across two daysThe condition should not be based on the difference between to
and from
instead, based on the day/month/year they lie in, such as the conditions below
// render a day view
if ( moment(new Date(from)).format("MMM Do YY") === moment(new Date(to)).format("MMM Do YY") )
// render a month view
else if (new Date(from).getMonth() === new Date(to).getMonth() && new Date(from).getFullYear() === new Date(to).getFullYear())
// render a year view
else
Expected Behaviour
Condition used to determine when to switch between the 3 types of views be based on the day/month/year they lie in
Actual Behaviour
Condition used to determine when to switch between the 3 types of views are based on the based on the difference between to
and from
Basic Information
kibana version: 6.4
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.