diff --git a/src/assets/icons/timeline.svg b/src/assets/icons/timeline.svg index c7a074f0..64b37e5c 100644 --- a/src/assets/icons/timeline.svg +++ b/src/assets/icons/timeline.svg @@ -13,6 +13,5 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> -timeline diff --git a/src/hooks/useListConfig.ts b/src/hooks/useListConfig.ts index 08e7456b..e48e9edd 100644 --- a/src/hooks/useListConfig.ts +++ b/src/hooks/useListConfig.ts @@ -26,7 +26,6 @@ export function useListConfig(config: any, index: number) { const isAvg = config.metricTypes[index] === MetricQueryTypes.ReadMetricsValues && calculation === Calculations.Average; - return { isLinear: line, isAvg, diff --git a/src/types/dashboard.ts b/src/types/dashboard.ts index f4086d9d..6f60b6a0 100644 --- a/src/types/dashboard.ts +++ b/src/types/dashboard.ts @@ -73,6 +73,7 @@ export interface LineConfig extends AreaConfig { showXAxis?: boolean; showYAxis?: boolean; smallTips?: boolean; + showlabels?: boolean; } export interface AreaConfig { diff --git a/src/views/dashboard/graphs/ServiceList.vue b/src/views/dashboard/graphs/ServiceList.vue index 30046556..c8e53466 100644 --- a/src/views/dashboard/graphs/ServiceList.vue +++ b/src/views/dashboard/graphs/ServiceList.vue @@ -76,35 +76,44 @@ limitations under the License. --> showlabels: false, }" /> - - -
- -
-
+ + diff --git a/src/views/dashboard/panel/Layout.vue b/src/views/dashboard/panel/Layout.vue index 409df42b..39eb8a6d 100644 --- a/src/views/dashboard/panel/Layout.vue +++ b/src/views/dashboard/panel/Layout.vue @@ -66,6 +66,7 @@ export default defineComponent({ selectorStore.setCurrentService(null); selectorStore.setCurrentPod(null); dashboardStore.setEntity(""); + dashboardStore.setConfigPanel(false); }); return { dashboardStore,