Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Fractalis
fractal.js
Commits
e7300d99
Commit
e7300d99
authored
Jul 13, 2017
by
Sascha Herzinger
Browse files
Changed way id filter affects boxplot
parent
bbad9b12
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/vue/charts/Boxplot.vue
View file @
e7300d99
...
...
@@ -89,7 +89,6 @@
:height=
"scales.y(results.statistics[label].l_qrt) - scales.y(results.statistics[label].median)"
>
</rect>
<circle
class=
"fjs-points"
:class=
"
{'fjs-id-filtered': ~idFilter.indexOf(point.id)}"
:title=
"point.tooltip"
:cx=
"point.jitter"
:cy=
"scales.y(point.value)"
...
...
@@ -148,7 +147,7 @@
return
{
variables
:
this
.
numData
,
categories
:
this
.
catData
,
id_filter
:
[]
,
id_filter
:
this
.
idFilter
,
subsets
:
store
.
getters
.
subsets
}
},
...
...
@@ -409,8 +408,6 @@
shape-rendering
:
crispEdges
.fjs-points
stroke
:
none
.fjs-id-filtered
fill
:
#f00
.fjs-kde
fill
:
none
stroke
:
black
...
...
test/charts/boxplot/boxplot.html
View file @
e7300d99
...
...
@@ -8,11 +8,13 @@
<body>
<input
type=
"button"
onclick=
"loadData()"
value=
"load data"
/>
<input
type=
"button"
onclick=
"deleteData()"
value=
"delete data"
/>
<div
style=
"height: 100%; width: 70%"
>
<div
id=
"placeholder1"
></div>
</div>
<div
style=
"height: 100%; width: 70%"
>
<div
id=
"placeholder2"
></div>
<div
class=
"fjs-placeholder-container"
style=
"width: 2000px;"
>
<div
style=
"width: 1000px;"
>
<div
id=
"placeholder1"
></div>
</div>
<div
style=
"width: 1000px;"
>
<div
id=
"placeholder2"
></div>
</div>
</div>
</body>
...
...
@@ -91,3 +93,10 @@
fjs
.
setChart
({
chart
:
'
boxplot
'
,
selector
:
'
#placeholder1
'
})
fjs
.
setChart
({
chart
:
'
correlation-analysis
'
,
selector
:
'
#placeholder2
'
})
</script>
<style>
.fjs-placeholder-container
{
display
:
flex
;
flex-direction
:
row
;
}
</style>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment