hello, does anyone know how to put the graphics side by side? Like the photo. Mine are under each other.
You donât mention what version of GenieACS you are using, but Iâm going to presume that v1.2 works the same as v1.1.
If you have any trouble, post your json.graph.erb file.
{
"row1" : {
"CINR" : [
{
"label" : "Good",
"color" : "#66ca0f",
"query" : {"_lastInform" : {"$gt" : "<%= threshold_green %>"}}
},
{
"label" : "Acceptable",
"color" : "#fcfe04",
"query" : {"_lastInform" : {"$lt" : "<%= threshold_green %>", "$gt" : "<%= threshold_yellow %>"}}
},
{
"label" : "Poor",
"color" : "#cc0204",
"query" : {"_lastInform" : {"$lt" : "<%= threshold_yellow %>"}}
}
]
},
"row2" : {
"RSSI" : [
{
"label" : "Good",
"color" : "#66ca0f",
"query" : {"_lastInform" : {"$gt" : "<%= threshold_green %>"}}
},
{
"label" : "Acceptable",
"color" : "#fcfe04",
"query" : {"_lastInform" : {"$lt" : "<%= threshold_green %>", "$gt" : "<%= threshold_yellow %>"}}
},
{
"label" : "Poor",
"color" : "#cc0204",
"query" : {"_lastInform" : {"$lt" : "<%= threshold_yellow %>"}}
}
]
},
"row3" : {
"Online" : [
{
"label" : "Online now",
"color" : "#66ca0f",
"query" : {"_lastInform" : {"$gt" : "<%= threshold_green %>"}}
},
{
"label" : "Past 24 hours",
"color" : "#fcfe04",
"query" : {"_lastInform" : {"$lt" : "<%= threshold_green %>", "$gt" : "<%= threshold_yellow %>"}}
},
{
"label" : "Others",
"color" : "#cc0204",
"query" : {"_lastInform" : {"$lt" : "<%= threshold_yellow %>"}}
}
]
}
}
Try adding another nesting level to the overview graph
I edited it wrong and now the ui is blank, there is no way to revert through the ui. Do you know where I edit? Installed in ubunutu 18.
do you know how to reverse the changes made by the ui?
You will need to manually edit the mongo db I suspect. We havenât migrated to v1.2
Hi all,
I have edited overview window a bit and ui also started to show white page only. Tried restart server, genieacs-ui with no success. As I remember, I changed one chart, after that I moved that chart from one group to another in overview config. I have made a lot configuration today. Where can I find that information in mongodb? I guess this is the only way?
Chrome F12 diag shows error:
overview-page.ts:29 Uncaught TypeError: Cannot convert undefined or null to object
ok, Iâve restored my ui, by editing mongodb. I had to delete group Iâve created:
db.config.remove({ â_idâ : âui.overview.groups.Update.0â, âvalueâ : ââUpdatesââ }
It cause me ui error. This group had no label line as other groups had in db. Iâve tried to add label line at first, but it didnât help:
db.config.insert({ â_idâ : âui.overview.groups.Update.labelâ, âvalueâ : ââUpdatesââ })
See here: 1.2+ How to arrange charts in Overview?
It shows how to use groups inside the config editor for Admin | Config | Overview to create one or more rows.
This example creates two rows, the first with three charts and the second with just one:
to solve this problem, please use this command:
- db.config.find()
- db.config.find({"_id":/.ui.overview.groups.rsrq./})
- db.config.remove({"_id":/.ui.overview.groups.sinr./})
Hello! newbie here! Can you tell us how graphs like that are created?