Pre loader

i have a questions

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums

0
0

thank you for answer !

Additional questions
image is attached

q1. last data only marker
q2. vertical dotted line (with rolloverModifier)

Version
This version was downloaded on October 19, 2021. It seems to be the latest version
Images
  • You must to post comments
0
0

Hi there,

q1. There are several ways – you can use Annotation API and place annotation at last point ( e.g. CustomAnnotation ). The other ways XyScatterRenderableSeries with single data point ( you can update that data point using updateXXX() method or you can set FifoCapacity = 1 and use appendXXX()
q2. I have modifier our custom rollover example from demo and change next lines:

        UpdateSuspender.using(surface, new Runnable() {
        @Override
        public void run() {
            Collections.addAll(surface.getXAxes(), xAxis);
            Collections.addAll(surface.getYAxes(), yAxis);
            Collections.addAll(surface.getRenderableSeries(), lineRs1, lineRs2);

            final RolloverModifier rolloverModifier = new RolloverModifier();
            Collections.addAll(surface.getChartModifiers(), sciChartBuilder.newModifierGroup().withModifier(rolloverModifier).build());

            rolloverModifier.getVerticalLinePaint().setColor(Color.RED);
            rolloverModifier.getVerticalLinePaint().setPathEffect(new DashPathEffect(new float[] {20, 20}, 0));

            sciChartBuilder.newAnimator(lineRs1).withSweepTransformation().withInterpolator(new DecelerateInterpolator()).withDuration(3000).withStartDelay(350).start();
            sciChartBuilder.newAnimator(lineRs2).withSweepTransformation().withInterpolator(new DecelerateInterpolator()).withDuration(3000).withStartDelay(350).start();
        }
    });

Results are on attached screenshot. Hope this will help you!

Best regards,
Yura

Images
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies