paveldanilin / grafana-csv-plugin

CSV datasource for Grafana 6.x.x / 7.x.x
MIT License
36 stars 12 forks source link

Displaying string values #38

Closed vjagannath786 closed 3 years ago

vjagannath786 commented 3 years ago

For example below is the csv file ;

name,age varun, 30 aswini,29

if select this as datasource and also Time series instead of Table data then only numeric values are displayed

Capture

paveldanilin commented 3 years ago

@vjagannath786 Hi!

With your data, I have the following picture image

But unfortunately, I do not understand what exactly you are expecting from the time series.

For example, I have chosen the visualization type a "Graph" + format "Time series" as a result I have the picture image

Could you clarify for me your task?

paveldanilin commented 3 years ago

@vjagannath786 Hi!

Any updates?

vjagannath786 commented 3 years ago

when you have selected Time series in tabular format why the string value is displayed as "0" ?

paveldanilin commented 3 years ago

Because the "Time series" mode aims to draw graphs, not a table. So if you would like to have a representation of your data as a table you should choose the "Table" mode and the table panel. When you are dealing with the "Time series" there are three columns that help to draw a chart, namely:

As far as I understand you would like to have the "normal" table in the "Time series" mode. From my point of view, it does not make sense.

You can find an example how to write SQL for the graph visualization in Readme. Let me know If you need help with creating such SQL for your data.

paveldanilin commented 3 years ago

@vjagannath786 Hi!

Did you manage to use the table format for visualisation your table?

Do you have any questions ?