Comments (4)
Thanks for highlighting this issue! We have gone ahead and made hasWarm optional with the default value of false, we will roll an update to npm later today.
Additionally, the availability chart doesnt take availability results, it takes chart data shape, so you have to transform the results before you render. Try doing this...
tsiClient.server.getAvailability(token, tsi.url)
.then(function(result){
var availability = new tsiClient.ux.AvailabilityChart(document.getElementById('availability'));
availability.render(tsiClient.ux.transformAvailabilityForVisualization(result, 500),
{theme: 'light', color: 'purple', legend: 'hidden'},
result);
})
})
I'll go ahead and extend the explore events example to cover using the availability chart since this is largely undocumented.
Please let us know if you have any other issues, thanks!
from tsiclient.
I've updated the explore events example to show how to use the availability chart, as well as illustrated two way binding when zooming from the line chart and adjusting the availability chart. It's a pretty complex example, but it's really powerful, and still only 175 lines of code (with 50 just to choose bucket size!)
Check it out here!
https://tsiclientsample.azurewebsites.net/withplatform/exploreevents.html
from tsiclient.
thanks for letting us know about this issue! we are checking it out right now, should have a fix out real soon, will keep you posted
from tsiclient.
Thank you for updating the documentation and helping me out.
from tsiclient.
Related Issues (20)
- Barchart showing data in a period of time HOT 1
- Tooltip is always visible for Pie Charts
- How to give the availability chart default brush start/end position? HOT 1
- Authentication failed on calling tsiClient.server.getAggregates() HOT 1
- Is this library dead ? HOT 3
- Chart doesn't render when the brush range is less than 2h 46m
- Ellipsis menu jitters when line chart is renderered
- LineChart from and to dates are set to unix epoch when there is no data within the provided search span
- Way to show live and data within specific date range to Power BI Report
- Availability chart's Timeframe label is not announced by Narrator when date time picker is focused
- Accessibility issue: Not able to access curves with keyboard that are present inside the graph.
- Consider reducing the verbosity of the date time range picker buttons
- Consider updating NPM version to fix security issues with dependencies
- v1.4.16 Breaks Change Y-Axis Type Button In Line Chart
- Query API Link leads to 404
- Change Y-axis Type button not working correctly HOT 1
- On Chnage Y-axis State to Stacked , Shared , Overlap not working as expected HOT 1
- This repo is missing important files HOT 3
- Changing the Availability Chart default search span 1 Day to any range
- How to disable mouse wheel event which changes the range of availability chart HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tsiclient.