Compare commits
No commits in common. "a9ceff8f6f1680e0a53e18c795f5ba1f66ad7cc6" and "0b371ecd3f20ad4cd4074045c008b604e8f93595" have entirely different histories.
a9ceff8f6f
...
0b371ecd3f
|
@ -15,9 +15,7 @@ Canvas {
|
|||
function animateToNewData()
|
||||
{
|
||||
chartAnimationProgress = 0.1;
|
||||
if (d.jsChart) {
|
||||
d.jsChart.update();
|
||||
}
|
||||
d.jsChart?.update();
|
||||
chartAnimator.restart();
|
||||
}
|
||||
QtObject{
|
||||
|
|
|
@ -41,15 +41,13 @@ ProgressBar{
|
|||
height: parent.height
|
||||
radius: d._radius
|
||||
color: control.color
|
||||
SequentialAnimation on x {
|
||||
id: animator_x
|
||||
PropertyAnimation on x {
|
||||
id:animator_x
|
||||
running: control.indeterminate && control.visible
|
||||
from: -rect_progress.width
|
||||
to:control.width+rect_progress.width
|
||||
loops: Animation.Infinite
|
||||
PropertyAnimation {
|
||||
from: -rect_progress.width
|
||||
to: control.width + rect_progress.width
|
||||
duration: control.duration
|
||||
}
|
||||
duration: control.duration
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -14,9 +14,7 @@ Canvas {
|
|||
function animateToNewData()
|
||||
{
|
||||
chartAnimationProgress = 0.1;
|
||||
if (d.jsChart) {
|
||||
d.jsChart.update();
|
||||
}
|
||||
d.jsChart?.update();
|
||||
chartAnimator.restart();
|
||||
}
|
||||
QtObject{
|
||||
|
|
|
@ -42,15 +42,13 @@ ProgressBar{
|
|||
height: parent.height
|
||||
radius: d._radius
|
||||
color: control.color
|
||||
SequentialAnimation on x {
|
||||
id: animator_x
|
||||
PropertyAnimation on x {
|
||||
id:animator_x
|
||||
running: control.indeterminate && control.visible
|
||||
from: -rect_progress.width
|
||||
to:control.width+rect_progress.width
|
||||
loops: Animation.Infinite
|
||||
PropertyAnimation {
|
||||
from: -rect_progress.width
|
||||
to: control.width + rect_progress.width
|
||||
duration: control.duration
|
||||
}
|
||||
duration: control.duration
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue