Skip to content

How to Set Initial Chart Type/Color By/Sort in Explorer React component #670

Answered by danmarshall
Posvar asked this question in Q&A
Discussion options

You must be logged in to vote

The 2nd parameter to the load function can return the initial insight:

explorerInstance.load(data, (columns)=>{
                    chart: 'Grid',
                    columns: {
                        color: 'ToneCSS',
                        sort: 'UniqueID'
                    }
                });

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by Posvar
Comment options

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