This guide will walk you through the process of transitioning from WebDataRocks to Flexmonster.
If you are using a front-end framework, see how to migrate from WebDataRocks in a framework of your choice:
Let’s break the migration into small steps:
All the possible ways of getting Flexmonster are described in the Get Flexmonster guide.
Next, replace the WebDataRocks initialization API call with Flexmonster's:
var pivot = new Flexmonster({
container: "pivotContainer",
report: {
dataSource: {
filename: "data.csv"
}
}
});
Notice the differences between the init API calls of Flexmonster and WebDataRocks.
Flexmonster has an additional componentFolder
parameter, which should point to the flexmonster/
folder. Read more about Flexmonster initialization parameters.
In WebDataRocks, we specified which hierarchies to put into the rows, columns, and measures by defining a SliceObject. The structure of the slice in Flexmonster is no different, except that measures should be placed in square brackets:
"slice": {
"rows": [
{ "uniqueName": "Customer" }
],
"columns": [
{ "uniqueName": "Month" },
{ "uniqueName": "[Measures]" }
],
"measures": [
{
"uniqueName": "Revenue",
"aggregation": "sum"
}
]
}
Flexmonster allows you to connect to many more types of data sources. On top of CSV and JSON, you can analyze data from relational or NoSQL databases, MongoDB, Elasticsearch, SSAS, and custom data source API. To learn how to connect to these sources, refer to the following guides: