Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

152
Vistas
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
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda