Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

153
Views
Is there a way to programmatically set Nativescript-Vue RadCartesianChart's zoom when allowing pan in horizontal axis?

I'm trying to programmatically zoom in my Chart when loaded. It is correctly working when i'm not allowing my horizontal axis to pan and when I add horizontalZoom="3" to the RadCartesianChart. But when I add allowPan="true" or allowZoom="true" on my horizontal Axis, it understands that he needs to zoom out completely.

My need is to give the possibility to pan in an already zoomed Chart.

<template>
    <Page>

       <RadCartesianChart horizontalZoom="3">
            
            <RadCartesianChartGrid v-tkCartesianChartGrid verticalStripLineColor="#00F,#F00" />
            <CategoricalAxis v-tkCartesianHorizontalAxis allowPan="true" allowZoom="false" />
            <LinearAxis v-tkCartesianVerticalAxis minimum="0" maximum="200" majorStep="40" />

            <LineSeries 
                v-tkCartesianSeries 
                v-bind:items="items"
                categoryProperty="category" 
                valueProperty="value" 
            />
        </RadCartesianChart> 

    </Page>
</template> 

This doesn't work. The horizontalZoom="3" does nothing. I suppose I need to set the allowPan allowZoom and horizontalZoom values programmatically but nothing tends to work.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!