Home Forums Chart Support pie char in jsp

pie char in jsp

Viewing 2 posts - 1 through 2 (of 2 total)
  • #21762

    I have to create a pie chart in jsp from database.My database consist of string values how to do this please anyone reply
    below is my code. but it is only accepting integer values i have to do this with string values

    while(resultSet.next()){
    xVal = resultSet.getString(“x”);
    yVal = resultSet.getString(“y”);
    map = new HashMap<Object,Object>(); map.put(“x”, Double.parseDouble(xVal)); map.put(“y”, Double.parseDouble(yVal)); list.add(map);
    dataPoints = gsonObj.toJson(list);

    #21789

    @draj.8126,

    We are looking into it and will get back to you at the earliest.

    __
    Priyanka M S
    Team CanvasJS

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.