Skip to content

How to set X,Y value in VueUiXy #195

Answered by graphieros
jougisljs asked this question in Q&A
Discussion options

You must be logged in to vote

@jougisljs

In VueUiXy, X values are defined in the config, and all dataset items share the same scale. This is the 'time' axis.

const config = ref({
    chart: {
        grid: {
            labels: {
                xAxisLabels: {
                    values: [] // Set your x axis values here
                }
            }
        }
    }
})

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@jougisljs
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by graphieros
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
usage question Questions related to library usage
2 participants