All Apps and Add-ons
Highlighted

how to change the color in aplura_viz_donut chart?

New Member

My XML code and I tried series color but it is not working

    <search>
      <query>index="optus_exec_view" sourcetype="health_check" | eval latest_file=strftime(_time,"%d/%m/%Y %H:%M") | JOIN Application latest_file [search index="optus_exec_view" sourcetype="health_check"   | eval latest_file=strftime(_time,"%d/%m/%Y %H:%M")| stats max(latest_file) as  latest_file by Application | table  Application latest_file ] | stats count(eval(Status="AMBER")) as AMBER_count count(eval(Status="GREEN")) as GREEN_count count(eval(Status="RED")) as RED_count by Application latest_file | eval last_file_epoch = strptime(latest_file, "%d/%m/%Y %H:%M") | eval Timefstamp=strptime(strftime(now(),"%d-%m-%Y %H:%M:%S") ,"%d-%m-%Y %H:%M:%S") |  eval no_data_calc=round((Timefstamp-last_file_epoch)/60) |  lookup application_frequency Application OUTPUT Frequency | eval HEALTH_STATUS=if(no_data_calc>Frequency,"NO DATA",if(RED_count > 0,RED_count ,if(AMBER_count > 0,AMBER_count ,GREEN_count))) | eval APPLICATION=upper(Application) |  lookup tower APPLICATION OUTPUT Tower Application| where Tower="OSS" | stats sum(GREEN_count) as GREEN sum(RED_count) as RED sum(AMBER_count) as Amber | transpose</query>
      <earliest></earliest>
      <latest></latest>
    </search>
    <option name="aplura_viz_donut.donut.chartPadding">5</option>
    <option name="aplura_viz_donut.donut.chartSize">100</option>
    <option name="aplura_viz_donut.donut.chartType">3D</option>
    <option name="aplura_viz_donut.donut.donutWidth">50</option>
    <option name="aplura_viz_donut.donut.drilldown">1</option>
    <option name="aplura_viz_donut.donut.height">20</option>
    <option name="aplura_viz_donut.donut.iradius">0.4</option>
    <option name="aplura_viz_donut.donut.legend_height">12</option>
    <option name="aplura_viz_donut.donut.legend_left_fudge">10</option>
    <option name="aplura_viz_donut.donut.legend_position">right</option>
    <option name="aplura_viz_donut.donut.legend_top_fudge">-30</option>
    <option name="aplura_viz_donut.donut.log">1</option>
    <option name="aplura_viz_donut.donut.seriesColors">[0xFF0000,0xFFFF00,0x00FF00]</option>
    <option name="aplura_viz_donut.donut.radius">80</option>
    <option name="aplura_viz_donut.donut.show_legend">1</option>
    <option name="aplura_viz_donut.donut.svg_height">1000</option>
    <option name="aplura_viz_donut.donut.svg_width">1024</option>
    <option name="aplura_viz_donut.donut.xcenter">80</option>
    <option name="aplura_viz_donut.donut.xradius">60</option>
    <option name="aplura_viz_donut.donut.ycenter">80</option>
    <option name="aplura_viz_donut.donut.yradius">30</option>
  </viz>
0 Karma
Highlighted

Re: how to change the color in aplura_viz_donut chart?

Communicator

were you able to change colours? I'm facing same problem

0 Karma