Need help to have someone point out where I did wrong in yaml file below, I am getting default graph type like ParallelThreedColumn
-
the yaml file below
I exported the default one which use ParallelThreedCoulmn(2D) and change “dims:” to 3 and “:type:” to StackedThreedColumn
---
- MiqWidget:
guid: 75bb99e4-b43b-11e7-99dd-005056b84f46
description: StackedThreedColumn chart_vendor_and_guest_os
title: StackedThreedColumn Vendor and Guest OS Chart
content_type: chart
options:
:col_order: []
visibility:
:roles:
- _ALL_
user_id:
resource_id: 7
resource_type: MiqReport
enabled: true
read_only: false
MiqReportContent:
- MiqReport:
title: StackedThreedColumn Vendor and Guest OS
rpt_group: Configuration Management - Virtual Machines
rpt_type: Default
priority: 22
db: Vm
cols:
- vendor_display
- name
include:
operating_system:
columns:
- product_name
- name
col_order:
- vendor_display
- operating_system.product_name
- name
- operating_system.name
headers:
- Container
- OS Product Name
- Name
- OS Name
conditions:
order: Ascending
sortby:
- vendor_display
- operating_system.product_name
group: c
graph:
:type: StackedThreedColumn
:count: 10
:other: true
dims: 3
filename: 100_Configuration Management - Virtual Machines/022_Vendor and Guest
OS.yaml
file_mtime: !ruby/object:ActiveSupport::TimeWithZone
utc: 2017-05-31 22:24:27.000000000 Z
zone: !ruby/object:ActiveSupport::TimeZone
name: America/Chicago
time: 2017-05-31 17:24:27.000000000 Z
categories:
timeline:
template_type: report
where_clause:
db_options:
generate_cols:
generate_rows:
col_formats:
tz:
time_profile_id:
display_filter:
col_options:
rpt_options:
miq_group_id:
user_id:
menu_name: StackedThreedColumn Vendor and Guest OS
MiqSchedule:
name: StackedThreedColumn Vendor and Guest OS Chart
description: StackedThreedColumn chart_vendor_and_guest_os
sched_action:
:method: generate_widget
filter: !ruby/object:MiqExpression
exp:
"=":
field: MiqWidget-id
value: 24
context_type:
col_details:
MiqWidget-id:
:data_type: :integer
:virtual_reflection: false
:virtual_column: false
:sql_support: true
:excluded_by_preprocess_options: false
:tag: false
:include: {}
:format_sub_type: :integer
pexp:
"=":
field: MiqWidget-id
value: 24
towhat: MiqWidget
run_at:
:start_time: 2017-10-19 05:00:00.000000000 Z
:tz: Central Time (US & Canada)
:interval:
:unit: hourly
:value: 1
enabled: true
userid: system
prod_default: system
adhoc:
file_depot_id: