Table of Contents |
---|
Info | ||
---|---|---|
| ||
This relates to opCharts version 4 |
Introduction
Each TopN table is really just a component in a dashboard, components are defined in json documents. opCharts ships the Default components in omk/lib/json/opCharts/components.d/. User defined components are loaded from omk/conf/components.d, and are loaded last so default components are overridden, if desired, by creating new versions in the User defined folder.
...
The new TopN table should now appear in opCharts TopN page and also as an option when adding a component to a dashboard under the opCharts data source.
Editing TopN Table
If you are having issues with overflow on your values you can edit /usr/local/omk/templates/charts/topn/topn_table.html.ep and remove class="wide-20" from the first portion of this file. Please note that upgrades will overwrite this!
Before:
<table class="table table-condensed table-bordered topn-table">
<col span="1" class="wide-20">
<col span="1">
<col span="1" class="wide-45">
<col span="1">
</col>
After:
<table class="table table-condensed table-bordered topn-table">
<col span="1">
<col span="1">
<col span="1">
<col span="1">
</col>