saurabh.agarwal Posted March 22, 2016 Share Posted March 22, 2016 Hi,I am trying to create graph in JS Studio with JSON as data source. The graph data is in following format in JSON:"graph_data" :{ "name" : ["xyz","abc","def"],"value" : [-15100,15000,20000] }, I am unable to plot a graph with this data because "value" field is being read as String. Is there is way to plot a bar chart with this data without changing the input data format? Link to comment Share on other sites More sharing options...
fizz112 Posted March 14, 2019 Share Posted March 14, 2019 Sounds like you need to change the Class Type of the "value" Field from java.lang.String to java.lang.Integer (or other number format if required).You can do this in the Dataset and Query editor. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now