public class ChartController extends Object
Constructor and Description |
---|
ChartController() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
create(String buffer)
Create a new chart meta data
|
String |
describe(String id)
Describe chart meta data
|
String |
draw(String id)
Render chart using flot.js
|
String |
preview(String buffer)
Preview a chart
|
String |
previewSeries(javax.servlet.http.HttpServletRequest request,
String buffer) |
javax.ws.rs.core.Response |
save(String id,
String buffer)
Save chart meta data
|
public String draw(String id)
id
- Reference ID of Chart stored in HBase chukwa_meta table.public javax.ws.rs.core.Response create(String buffer)
buffer
- JSON description of a chart objectpublic javax.ws.rs.core.Response save(String id, String buffer)
id
- chart idbuffer
- JSON description of a chart objectCopyright © 2015 Apache Software Foundation. All Rights Reserved.