Comments (4)
Hi @dinhthang12t,
Example:
<template>
<div id="app">
<HistogramSlider
style="margin: 200px auto"
:width="600"
:bar-height="100"
:data="data"
:prettify="prettify"
:drag-interval="true"
:colors="['#4facfe', '#00f2fe']"
:min="4"
:max="100"
/>
</div>
</template>
<script>
export default {
data() {
return {
data: [10, 5, 4, 20, 100]
};
}
};
</script>
from vue-histogram-slider.
Hi @oguzhaninan
What if the server send me the counted data? Something like this:
[
{ value: 5, count: 15},
{ value: 250, count: 124},
...
]
Is there a way to pass the data in this way?
Thanks for your help.
from vue-histogram-slider.
Hi @jonalxh,
There is no structure suitable for this data. You can just take the values ββand try them out by making a list.
[5, 250,....]
from vue-histogram-slider.
Ok, I'll try, thanks.
from vue-histogram-slider.
Related Issues (20)
- Histogram Tooltips HOT 1
- Support for v-model HOT 7
- Support multi-color gradient for color prop
- How to update the data in realtime using ajax?
- Disable zoom in Histogram HOT 3
- How can I use histogram-slider using CDN?
- The range is not working properly when min = 0. HOT 1
- How can one set min + max dynamically using a reactive property? HOT 1
- Histogram Not Updating HOT 6
- Updating from, to on mount renders partial histogram bars HOT 1
- Is there any way to make slider's width to 100%? HOT 1
- Using vue-histogram without global registration HOT 2
- vue-histogram-slider v 0.3.8 not working properly with vue v 2.6.11
- Non-passive event listeners destroying performance
- Vue 3 support? HOT 1
- Import error HOT 2
- Showing Column
- Change data
- Unable to write a custom test in cypress
- Preselect "from" and "to" displaying the whole data set
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 vue-histogram-slider.