-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
floating value should be limited to 2 decimal points #174
Comments
Related to
|
Related to set timestamp to yy:mm:dd:mm:ss in chord table #172 We can handle this by adding a configuration option for custom formatters for each column of the table. The formatter may be either a number format (hooking into d3-format) or a date format (hooking into d3-time-format). Here's a sketch of what the configuration might look like: "data": {
"columns": [
{ "column": "SrcUplink", "label": "Source Uplink" },
{ "column": "DstUplink", "label": "Destination Uplink" },
{ "column": "PerfMonitor", "label": "Perf Monitor" },
{ "column": "AvgJitter", "label": "Avg Jitter", "format": ",.2f" },
{ "column": "AvgLatency", "label": "Avg Latency" , "format": ",.2f" },
{ "column": "AvgPacketLoss", "label": "Avg Pkt Loss" , "format": ",.2f" },
{ "column": "timestamp", "label": "Timestamp", "timeFormat": "%b %d, %y %X"}
]
}, |
@ronakmshah This is implemented in PR #188. I did not see the same thing as your screenshot under |
This disrupts the view. If showing floating values anywhere, it should always be shown with 2 decimal points max.
The text was updated successfully, but these errors were encountered: