Estoy tratando de hacer zoom programáticamente en mi gráfico cuando se carga. Funciona correctamente cuando no permito que mi eje horizontal se mueva y cuando agrego horizontalZoom="3"
al RadCartesianChart. Pero cuando agrego allowPan="true"
o allowZoom="true"
en mi eje horizontal, entiende que necesita alejarse por completo.
Mi necesidad es dar la posibilidad de desplazarse en un gráfico ya ampliado.
<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>
esto no funciona El horizontalZoom="3"
no hace nada. Supongo que necesito configurar los allowPan
allowZoom
y horizontalZoom
mediante programación, pero nada tiende a funcionar.