Skip to content
Discussion options

You must be logged in to vote

I figured it out and am posting here in case anyone else seeking the answer comes here. For the labels and the grid lines:

lineChartOptions = new()
        {
            IndexAxis = "x",
            Interaction = new Interaction { Mode = InteractionMode.Index, Intersect = false },
            Responsive = true,
           Scales = new Scales
            {
                X = new()
                {
                    Ticks = new()
                    {
                        Color = "#fff" // Set X-axis label color
                    },
                    Grid = new()
                    {
                        Color = "#fff" // Set X-axis grid color
                    }
          …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by markburgessstl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant