chronograf icon indicating copy to clipboard operation
chronograf copied to clipboard

Dashboard Table Graph Format

Open cryptoquick opened this issue 9 years ago • 31 comments

@nathanielc asked about displaying data in a table format, and we don't currently support that as a graph type on the dashboard.

cryptoquick avatar Jul 04 '17 15:07 cryptoquick

Dupe of #1031

nhaugo avatar Jul 05 '17 16:07 nhaugo

Not quite @nhaugo – #1031 is about Data Explorer, whereas this one's about Dashboard. Re-opening for now (the other one was closed anyway).

jaredscheib avatar Aug 31 '17 00:08 jaredscheib

Hey guys,

Any plans to add such graph in the future ?

botzill avatar Oct 26 '17 12:10 botzill

@botzill yes, but it is not currently schedule for any particular release.

nhaugo avatar Oct 26 '17 13:10 nhaugo

See also #2246

nhaugo avatar Nov 03 '17 19:11 nhaugo

customer feedback: this would be really useful for "Top N" tables that could be used for identify bad actors. For example, i have a list of the top apps/ips/services that are making requests and I can investigate apps that are making way too many.

russorat avatar Nov 16 '17 18:11 russorat

Would be extremely useful! Any updates on this?

hasselrot avatar Dec 13 '17 12:12 hasselrot

Hi @hasselrot, I don't can't give you an exact timing, but it is near the top of the list for 2018

nhaugo avatar Dec 13 '17 21:12 nhaugo

this package might be useful https://github.com/bvaughn/react-virtualized

121watts avatar Jan 09 '18 01:01 121watts

Initial Requirements:

  • [x] A user shall be able to select to display their data as a table
  • [x] A user shall be able to show or hide columns in the table
  • [x] A user shall be able to sort table by any column
  • [x] A user shall be able to override the name of each column
  • [x] A user shall be able to correlate rows of the table with data from other graphs on the dash
  • [x] A user shall be able to format the displayed timestamp
  • [x] A user shall be able to set threshold values similar to single stat and change the color of the text or background

russorat avatar Feb 09 '18 23:02 russorat

table-graph-design--v2.pdf

Included all the relevant details I can think of in here I can handle styling next week

alexpaxton avatar Feb 13 '18 19:02 alexpaxton

We often need to compare two datasets at the same point in time, so it would be exceptionally useful to not mandate time series on one axis , but to allow comparison of multiple measurements at the same point in time in a matrix, see example below:

screen shot 2018-02-20 at 12 08 16 pm

evo7master avatar Feb 20 '18 01:02 evo7master

thanks @evo7master ! we will see what we can do to tackle that use case.

russorat avatar Feb 20 '18 17:02 russorat

Please check ReactJS / Redux Data Table called Sematable https://github.com/sematext/sematable. Sematable has probably all required features, is open source, and is well maintained. The data table component is used in production for Sematext Cloud to show a large number of logs, events and alerts. Announcement Blog post (2016): https://sematext.com/blog/reactjs-redux-table-sematable/

megastef avatar Feb 28 '18 16:02 megastef

Thanks so much @megastef! We are leaning towards react-virtualized at the moment due to the potential size of the data and the accompanying need for windowing/lazy-loading. But it's really nice to know that you are following our feature development. Thanks again!

ischolten avatar Feb 28 '18 22:02 ischolten

  • [x] Add react-visualized as dependency: https://bvaughn.github.io/react-virtualized/#/components/Grid
  • [x] Add TableGraph as a graph option in cell editor overlay.
  • [x] Add basic TableGraph visualization options
  • [x] Create TableGraph component
  • [x] Backend data schema

end of base functionality forinit PR. #2905 backend base functionality #2968


merged:

  • [x] TableGraph: styling!! (@alexpaxton)
  • [x] TableGraph: highlight cell on hover and trigger crosshairs on other cells. (@ebb-tide)
  • [x] TableGraph: highlight time range associated with crosshairs and scroll to bring in to view. (@ebb-tide)
  • [x] TableGraph: time format implementation. (@ischolten)
  • [x] TableGraph: series renaming. (@ischolten)
  • [x] TableGraph: columns sorting (with indicator) (@bthesorceror )
    • from the vis options
  • [x] TableGraph: thresholding colors for individual cells text and background. (@alexpaxton)
  • [x] TableGraph: lazyloading. (out of the box)
  • [x] TableGraph: zoom in behavior in table (out of the box!!)
  • [x] TableGraph: switching time axis vertical/ horizontal. (@ebb-tide)
  • [x] TableGraph: freeze/fix top row and allow toggle freeze/fix left column(@ischolten)
  • [x] TableGraph: columns sorting (with indicator) (@ebb-tide)
    • from the table itself.
  • [x] TableGraph: hide/unhide series (including time) visibility. (@ischolten)

in progress:

  • [ ] TableGraph: text wrapping. (@alexpaxton)

ebb-tide avatar Mar 02 '18 00:03 ebb-tide

TableOptions shape

cell: {
  tableOptions: {
    timeFormat: '',
    verticalTimeAxis: bool,                   
    sortBy: {
      internalName: '',
      displayName: '',
      visible: '',                               // added -is
    },
    wrapping: '',
    fieldNames: [                    // changed from columnNames
  {
      internalName: '',
      displayName: '',
      visible: true                            // added -is
    }],
    fixFirstColumn: true                // added -dk
}

in the backend, type TableColumn is changing to RenamableField.

alexpaxton avatar Mar 14 '18 21:03 alexpaxton

Rename "Fix First Column" to "Lock First Column"

@russorat In the Table Controls, the option "Fix First Column" should be renamed to "Lock First Column". Here are a couple of examples where the term "lock" is used:

"Freeze" is often mentioned, but "lock" seems less ambiguous. When "freeze" is used, it is often documented as "to freeze (lock)" Or, as above, "Freeze panes to lock rows and columns". I think that "lock" is the least confusing, and if others have to repeatedly explain "freeze" by saying "lock", enough said. I did see in AirTable, their docs confusingly repeat the phrase "freeze (lock)" in explaining how to use the functionality, and at the end used the term "fixed" once. The term "fix" can be very confusing and difficult to translate meaningfully.

IBM in one instance refers to this as "Lock Column as Header" -- we could say "Lock First Column as Header", but I can see the first column being used for comparison and not as a header.

stevebang avatar Mar 23 '18 00:03 stevebang

after looking at this, i've asked @alexpaxton to look into a simple way to format numbers in the table.

russorat avatar Mar 23 '18 19:03 russorat