Hi!
I have one problem.
I'm using a XYPlot to show some variables from a database.
In database can be stored thousands of values of these variables, but I only shows 1000 of them.
The problem is that when I make a zoom I want to know the X values between which the zoom is selected. Knowing these values, I want to create a new dataset of 1000 points between them and to refresh the chart.
How can I know these values?
Thanks and sorry for my bad english.
Zoom question
Hola pochazas!
Si no te he entendido mal, me parece que esto te ayudara:
myPlot.getDomainAxis().getUpperBound()
myPlot.getDomainAxis().getLowerBound()
Con esto puedes coger los extremos del XYPlot con el que estes trabajando, ya hayas aplicado un zoom o no.
Ya me contaras como te va.
Saludos
P.S.- great nickname!
Si no te he entendido mal, me parece que esto te ayudara:
myPlot.getDomainAxis().getUpperBound()
myPlot.getDomainAxis().getLowerBound()
Con esto puedes coger los extremos del XYPlot con el que estes trabajando, ya hayas aplicado un zoom o no.
Ya me contaras como te va.
Saludos
P.S.- great nickname!
