বার চার্ট

এই নথিটি বিভিন্ন ধরনের বার চার্ট বর্ণনা করে যা আপনি চার্ট API ব্যবহার করে তৈরি করতে পারেন।

সুচিপত্র

চার্ট-নির্দিষ্ট বৈশিষ্ট্য

  1. ওভারভিউ
  2. চার্টের ধরন ( cht )
  3. সিরিজ রং ( chco )
  4. বার লেবেল
  5. বার প্রস্থ এবং ব্যবধান ( chbh )
  6. জিরো লাইন ( chp )
  7. যৌগিক চার্ট
  8. নির্দিষ্ট বারে চিহ্নিতকারী

সাধারণ বৈশিষ্ট্য

  1. চার্ট শিরোনাম ( chtt , chts )
  2. চার্ট লিজেন্ড টেক্সট এবং স্টাইল ( chdl , chdlp , chdls )
  3. চার্ট মার্জিন ( chma )
  4. অক্ষ শৈলী এবং লেবেল
    1. দৃশ্যমান অক্ষ ( chxt )
    2. অক্ষ রেঞ্জ ( chxr )
    3. কাস্টম অক্ষ লেবেল ( chxl )
    4. অক্ষ লেবেল অবস্থান ( chxp )
    5. অক্ষ লেবেল শৈলী ( chxs )
    6. অক্ষ টিক চিহ্ন ( chxtc )
  5. ব্যাকগ্রাউন্ড ফিলস ( chf )
    1. সলিড ফিলস ( chf )
    2. গ্রেডিয়েন্ট ফিলস ( chf )
    3. স্ট্রিপড ফিলস ( chf )
  6. গ্রিড লাইন ( chg )
  7. ডাইনামিক মার্কার ( chem )
  8. আকৃতি চিহ্নিতকারী ( chm )
  9. পাঠ্য এবং ডেটা মান চিহ্নিতকারী ( chm )
  10. রেঞ্জ মার্কার ( chm=r|R )
  11. ক্যান্ডেলস্টিক মার্কার ( chm=F )
  12. লাইন মার্কার ( chm=D )
  13. ডেটা ফাংশন ( chfd )

ওভারভিউ

উল্লম্ব, অনুভূমিক, গোষ্ঠীবদ্ধ, স্ট্যাক করা এবং প্রতিটির ওভারল্যাপ করা সংস্করণ সহ আপনি বিভিন্ন বার চার্ট তৈরি করতে পারেন।

বার চার্টগুলি পাশাপাশি তুলনা করার জন্য এবং স্বল্প সংখ্যক পৃথক ডেটা পয়েন্টে প্রবণতা চিহ্নিত করার জন্য ভাল। এগুলি লাইন চার্টের একটি ভাল বিকল্প যখন আপনার কাছে একটি সিরিজে মাত্র কয়েকটি ডেটা পয়েন্ট থাকে।

বার চার্টে একাধিক সিরিজ দেখানোর তিনটি সাধারণ উপায় রয়েছে:

দলবদ্ধ
স্তুপীকৃত
ওভারল্যাপড
Grouped chart
Stacked chart
Overlapped chart
cht=bvg
chd=t:5,5,5|10,10,10|15,15,15
cht=bvs
chd=t:5,5,5|10,10,10|15,15,15

cht=bvo
chd=t:5,5,5|10,10,10|15,15,15

আপনি chbh প্যারামিটার ব্যবহার করে বারের প্রস্থ এবং ব্যবধান নিয়ন্ত্রণ করতে পারেন। আপনি chbh নির্দিষ্ট না করলে, কিছু বার ক্রপ করা হতে পারে।

মনে রাখবেন যে ডিফল্টরূপে, সমস্ত সিরিজ একই রঙে প্রদর্শিত হয়; আপনি যদি বিভিন্ন সিরিজের জন্য বিভিন্ন রঙ নির্দিষ্ট না করেন, তাহলে আপনার চার্টে একাধিক সিরিজ আছে তা আলাদা করা কঠিন হবে। বিস্তারিত জানার জন্য সিরিজ রং দেখুন.

বার চার্ট ডিফল্টরূপে অন্তত একটি অক্ষ প্রদর্শন করবে; আপনি যদি কোনো ডিফল্ট অক্ষ লুকাতে চান, chxs প্যারামিটার ব্যবহার করুন এবং < axis_or_tick > মানটির জন্য একটি আন্ডারস্কোর উল্লেখ করুন।

আপনি যদি স্ট্যাক করা চার্টে সাধারণ পাঠ্য বিন্যাস ব্যবহার করেন, তাহলে আপনাকে সতর্ক থাকতে হবে যে চার্টটি মোট স্ট্যাকের উচ্চতা হিসাবে 100-এর বেশি কিছু ক্রপ করবে যদি না আপনি কাস্টম স্কেলিং যোগ করেন, যেমনটি এখানে দেখানো হয়েছে:

স্কেলিং ছাড়াই, মাঝের তিনটি বার 100 ছাড়িয়ে যায় এবং একটি সাধারণ পাঠ্য বিন্যাস করা ডেটা চার্টে ক্রপ করা হয়। Horizontal bar chart with two data sets: one data set is colored in dark blue the second is stacked in pale blue
cht=bhs
chco=4D89F9,C6D9FD
chd=t:10,50,60,80,40|
50,60,100,40,20
যদি আমরা সম্পূর্ণ স্ট্যাক করা বারের দৈর্ঘ্য দেখাতে চাই, তাহলে আমাদের হয় একটি ভিন্ন এনকোডিং স্কিম ব্যবহার করতে হবে, অথবা কাস্টম স্কেলিং সহ পাঠ্য বিন্যাস ব্যবহার করতে হবে। সর্বাধিক স্কেলের মান মোট স্ট্যাক করা বারের উচ্চতার সাথে আপেক্ষিক হওয়া উচিত; এই উদাহরণ 160 পর্যন্ত যায় (সর্বোচ্চ সমষ্টি মান)। Horizontal bar chart with two data sets: one data set is colored in dark blue the second is stacked in pale blue
cht=bhs
chco=4D89F9,C6D9FD
chd=t:10,50,60,80,40|
50,60,100,40,20
chds=0,160

চার্টের ধরন ( cht )

আপনি তৈরি করতে পারেন যে বার চার্ট কয়েক বিভিন্ন ধরনের আছে. নিম্নলিখিত সিনট্যাক্স সহ একটি বার চার্ট নির্দিষ্ট করুন:

বাক্য গঠন

cht=<chart_type>

যেখানে < chart_type > নিম্নলিখিত প্রকারগুলির মধ্যে একটি:

চার্টের ধরন বর্ণনা উদাহরণ

bhs

স্তুপীকৃত বার সহ অনুভূমিক বার চার্ট।

প্রথম উদাহরণে (গাঢ় নীল সব বার) একটি ডেটা সিরিজ আছে।

দ্বিতীয় উদাহরণে (গাঢ় এবং ফ্যাকাশে নীল বার) দুটি সিরিজ আছে। (এটি যোগফল বারের মান দেখানোর জন্যও স্কেল করা হয়, যা 100 ছাড়িয়ে যায়)।

আপনি দেখতে পাচ্ছেন, একাধিক সিরিজ স্ট্যাক করা আছে। আপনি যদি বিভিন্ন সিরিজের রঙ নির্দিষ্ট না করেন তবে সব রং একই হবে (এবং বারগুলি স্ট্যাক করা দেখাবে না)। আপনি একটি একক সিরিজের মধ্যে প্রতিটি বারের জন্য একটি রঙ নির্দিষ্ট করতে পারেন।

Horizontal bar chart with two data sets: both are colored in blue
cht=bhs
chco=4D89F9


Horizontal bar chart with two data sets: one data set is colored in dark blue the second is stacked in pale blue
cht=bhs
chco=4D89F9,C6D9FD
chd=t:10,50,60,80,40|
50,60,100,40,20
chds=0,160

bvs

স্ট্যাক করা বার সহ উল্লম্ব বার চার্ট।

এই উদাহরণে দুটি সিরিজ রয়েছে এবং সমস্ত স্ট্যাক করা মান সম্পূর্ণরূপে দৃশ্যমান কিনা তা নিশ্চিত করতে কাস্টম স্কেলিং সহ পাঠ্য বিন্যাস ব্যবহার করে৷

মনে রাখবেন যে আপনি যদি chp প্যারামিটার ব্যবহার করে একটি bvs চার্টে শূন্য লাইন সরান, যদি একটি বার এই মানের থেকে কম হয় তবে এটি শূন্য রেখার নীচে প্রদর্শিত হবে এবং যদি এটি এই মানের থেকে বড় হয় তবে এটি শূন্য রেখার উপরে প্রদর্শিত হবে। .

Vertical bar chart with two data sets: one data set is colored in dark blue the second is stacked in pale blue cht=bvs
chco=4D89F9,C6D9FD
chd=t:10,50,60,80,40|
50,60,100,40,20
chds=0,160

bvo উল্লম্ব বার চার্ট যেখানে বারগুলি একে অপরের উপরে না থেকে একে অপরের সামনে স্ট্যাক করা হয়। প্রতিটি বারের উচ্চতা তার স্বতন্ত্র মান, এর সমষ্টি মান নয়। বারগুলি আপনার জন্য উচ্চতা অনুসারে সাজানো হবে যাতে সমস্ত বার দৃশ্যমান হয়।

bvo stacked chart
cht=bvo
chd=t:
10,50,60,80,40
50,60,100,40,20
30,30,75,20,60

bhg

দলবদ্ধ বার সহ অনুভূমিক বার চার্ট।

শীর্ষ তালিকাটি ডিফল্ট গ্রুপ স্পেসিং মান ব্যবহার করে; নীচের চার্টটি chbh প্যারামিটার ব্যবহার করে ডিফল্ট বার প্রস্থ এবং গ্রুপ স্পেসিং পরিবর্তন করতে গোষ্ঠীগুলিকে আরও সুস্পষ্ট করতে।

Horizontal bar chart with two data sets: one data set is colored in dark blue the second is adjacent in pale blue
cht=bhg
chco=4D89D9,C6D9FD

Horizontal bar chart with two data sets: one data set is colored in dark blue the second is adjacent in pale blue
cht=bhg
chco=4D89D9,C6D9FD
chbh=15,4,15

bvg

দলবদ্ধ বার সহ উল্লম্ব বার চার্ট।

Vertical bar chart with two data sets: one data set is colored in dark blue the second is adjacent in pale blue
cht=bvg
chco=4D89F9,C6D9FD
chbh=15,4,15

উপরে ফিরে যাও

সিরিজ রং chco

আপনি chco প্যারামিটার ব্যবহার করে পৃথক বার, পৃথক সিরিজ বা একাধিক সিরিজের রঙ নির্দিষ্ট করতে পারেন। আপনি যদি প্রতিটি সিরিজের জন্য একটি ভিন্ন রঙ নির্দিষ্ট না করেন তবে সমস্ত সিরিজ একই রঙের হবে।

বাক্য গঠন

chco=<series_1_color>, ..., <series_n_color>

    or

chco=<series_1_bar_1>|<series_1_bar_2>|...|<series_1_bar_n>,<series_2>,...,<series_n>
<color>
একটি সিরিজ বা পৃথক বারে প্রয়োগ করার জন্য একটি RRGGBB ফরম্যাট হেক্সাডেসিমেল নম্বর । পুরো সিরিজে রঙ প্রয়োগ করতে, এটি কমা দ্বারা সীমাবদ্ধ করা উচিত। একটি পৃথক বারে রঙ প্রয়োগ করতে, এটি পাইপ-বিভাজিত হওয়া উচিত। আপনি এই দুটি বিন্যাস মিশ্রিত করতে পারেন. উদাহরণের জন্য নীচের টেবিল দেখুন. যখনই আপনার কাছে ডেটা পয়েন্ট বা সিরিজের চেয়ে কম রঙের মান থাকে, সেই গ্রুপের প্রথম রঙ থেকে শুরু করে রঙগুলি আবার তালিকার মধ্যে দিয়ে ঘুরতে থাকবে।

উদাহরণ

বর্ণনা উদাহরণ
কমা দ্বারা সীমাবদ্ধ রং সহ সিরিজ প্রতি একটি রঙ।

Vertical bar chart with two data sets: one data set is colored in dark blue the second is stacked in pale blue

cht=bvs
chco=4D89F9,C6D9FD

পাইপ-ডিলিমিটেড রং সহ মান প্রতি একটি রঙ।

Vertical bar chart with two data sets: one data set is colored in dark blue the second is stacked in pale blue

cht=bvs
chco=FFC6A5|FFFF42|DEF3BD|00A5C6|DEBDDE

সিরিজ রং এবং পৃথক বার রং একটি সংমিশ্রণ.

এই উদাহরণটি দুটি সিরিজ সহ একটি বার চার্ট দেখায়। প্রথম সিরিজটি সমস্ত কালো ( 000000, ) এবং কমা দ্বারা সীমাবদ্ধ৷ দ্বিতীয় সিরিজটি পাইপ-ডিলিমিটেড, এবং প্রতিটি পয়েন্টের জন্য আলাদা রঙ বরাদ্দ করে ( FF0000|00FF00|0000FF )।

Horizontal bar chart with one data point in red, the second in green, and the third in blue

chco=000000,FF0000|00FF00|0000FF
chd=s:FOE,elo

এই উদাহরণটি একটি মাল্টি-সিরিজ চার্টে প্রতিটি বারের জন্য বিভিন্ন রং সেট করা দেখায়। Horizontal bar chart with one data point in red, the second in green, and the third in blue
chco=
FF0000|00FF00|0000FF,FFC6A5|DEF3BD|C6EFF7
আপনি কঠিন, ডোরাকাটা, বা গ্রেডিয়েন্ট রং দিয়ে একটি সিরিজ রঙ করার জন্য পূরণগুলি নির্দিষ্ট করতে পারেন। সলিড ফিলগুলি chco ব্যবহার করার মতোই দেখায়, কিন্তু স্ট্রাইপ বা গ্রেডিয়েন্ট অনন্য প্রভাব তৈরি করে। Gradient bar fills
chd=
t:10,40,60,80,30,20
chf=
b0,lg,0,FFE7C6,0,76A4FB,1

striped fills
chd=t:
40,40,60,80
30,50,55,86
chf=
b0,ls,0,FFE7C6,.3,76A4FB,.1
b1,ls,0,FF0000,.3,FFBFBF,.1

উপরে ফিরে যাও

বার লেবেল

বার চার্টগুলি স্ট্যান্ডার্ড অক্ষের লেবেলগুলিকে সমর্থন করে, তবে বারগুলির বেস বরাবর লেবেলগুলি বার চার্ট বরাবর ছড়িয়ে দেওয়ার পরিবর্তে পৃথক বারগুলিতে বরাদ্দ করা হয়। (লেবেলগুলিকে সমানভাবে ছড়িয়ে দিতে, নীচে বর্ণিত হিসাবে chxp প্যারামিটারটি ব্যবহার করুন৷) আপনি যদি অক্ষের লেবেলগুলি নির্দিষ্ট করেন কিন্তু বার অক্ষ বরাবর কাস্টম লেবেলগুলি নির্দিষ্ট না করেন তবে বার লেবেলগুলি প্রতিটি বার বা বারের গ্রুপের সূচক নম্বর হবে৷ আপনি chxl প্যারামিটার ব্যবহার করে অক্ষ লেবেল কাস্টমাইজ করতে পারেন।

বর্ণনা উদাহরণ
ডিফল্ট x-অক্ষ লেবেল ব্যবহার করে একটি বার চার্ট। Bar chart without custom labels
chxt=x,y
কাস্টম x-অক্ষ লেবেল ব্যবহার করে একটি বার চার্ট।

Bar chart without custom labels
chxt=x,y
chxl=0:|Jan|Feb|Mar|Apr|May

আপনার যদি আলাদা সংখ্যক লেবেল এবং বার থাকে এবং আপনি লেবেলগুলিকে সমানভাবে স্থান দিতে চান (প্রতিটি বারের নীচে না করে), সিনট্যাক্স < axis_index >,0 সহ chxp প্যারামিটারটি ব্যবহার করুন যেখানে axis_index হল লেবেল করা অক্ষের সূচী, এবং 0 নির্দেশ করে যে তাদের সমানভাবে ফাঁক করা উচিত। (এর কারণ হল একটি একক 0 প্রথম লেবেলের অবস্থান নির্দেশ করে, এবং আর কোন মান নির্দেশ করে না যে লেবেলগুলি অক্ষ জুড়ে সমানভাবে স্বয়ংক্রিয়ভাবে স্থাপন করা উচিত।)

  • শীর্ষ চার্ট: তিনটি চার্ট লেবেল পাঁচটি বারে প্রয়োগ করা হয়। লেবেলগুলি প্রথম তিনটি বারের নীচে সারিবদ্ধ।
  • নীচের চার্ট: একই তিনটি লেবেল পাঁচটি বারে প্রয়োগ করা হয়, কিন্তু chxp=0,0 লেবেলগুলিকে x-অক্ষ (অক্ষ সূচক 0) জুড়ে সমানভাবে ফাঁক করে দেয়।

Bar chart without custom labels
chd=s:cEj9U
chxt=x,y
chxl=0:|2001|2002|2003


Bar chart without custom labels
chd=s:cEj9U
chxt=x,y
chxl=0:|2001|2002|2003
chxp=0,0

উপরে ফিরে যাও

বার প্রস্থ এবং ব্যবধান chbh

আপনি ঐচ্ছিকভাবে বারের প্রস্থ এবং বার এবং গোষ্ঠীর মধ্যে ব্যবধানের জন্য কাস্টম মান নির্দিষ্ট করতে পারেন। আপনি সমস্ত বারের জন্য প্রস্থ মানগুলির শুধুমাত্র একটি সেট নির্দিষ্ট করতে পারেন। আপনি যদি chbh নির্দিষ্ট না করেন, তাহলে সমস্ত বার 23 পিক্সেল চওড়া হবে, যার অর্থ হল শেষ বারগুলি ক্লিপ করা যেতে পারে যদি মোট বার + স্থান প্রস্থ চার্টের প্রস্থের চেয়ে বেশি হয়।

বাক্য গঠন

chbh=
  <bar_width_or_scale>,<space_between_bars>,<space_between_groups>
< bar_width_or_scale >
দণ্ডের প্রস্থ। আপনি প্রস্থ এবং ব্যবধান নির্দিষ্ট করতে পারেন একেবারে বা তুলনামূলকভাবে, নিম্নলিখিত মানগুলির মধ্যে একটি প্রবেশ করে। ডিফল্ট মান হল 23 পিক্সেল, পরম মান।
  • প্রস্থ - বার প্রস্থ, পিক্সেলে। সমস্ত ব্যবধানের মানগুলিও পিক্সেলে পরম মান। চার্ট যথেষ্ট প্রশস্ত না হলে বারগুলি ক্লিপ করা যেতে পারে।
  • a - space_between_bars এবং space_between_groups পরম এককে দেওয়া হয় (বা ডিফল্ট পরম মান, যদি নির্দিষ্ট করা না থাকে)। বারগুলির আকার পরিবর্তন করা হবে যাতে সমস্ত বার চার্টে ফিট হয়৷
  • r - space_between_bars এবং space_between_groups আপেক্ষিক ইউনিটে দেওয়া হয় (বা ডিফল্ট আপেক্ষিক মান, যদি নির্দিষ্ট করা না থাকে) আপেক্ষিক ইউনিটগুলি বারের প্রস্থের তুলনায় ফ্লোটিং পয়েন্ট মান, যেখানে বারের প্রস্থ 1.0: উদাহরণস্বরূপ, 0.5 হল বারের প্রস্থের অর্ধেক, 2.0 বারের প্রস্থের দ্বিগুণ। চার্ট যথেষ্ট প্রশস্ত না হলে বারগুলি ক্লিপ করা যেতে পারে।
< স্পেস_মধ্যবর্তী_বার >
[ ঐচ্ছিক ] একই গ্রুপের বারগুলির মধ্যে স্থান। যদি মাপ পরম হয়, এটি পিক্সেলের একটি প্রস্থ; সাইজিং আপেক্ষিক হলে, এটি একটি ফ্লোটিং পয়েন্ট মান যেখানে 1.0 হল বারের প্রস্থ। পরম মানের জন্য ডিফল্ট মান হল 4 পিক্সেল, বা আপেক্ষিক মানের জন্য 4/23৷
<স্পেস_এর মধ্যে_গ্রুপ>
[ ঐচ্ছিক ] একই গ্রুপের বার গ্রুপের মধ্যে স্থান। যদি মাপ পরম হয়, এটি পিক্সেলের একটি প্রস্থ; সাইজিং আপেক্ষিক হলে, এটি একটি ফ্লোটিং পয়েন্ট মান যেখানে 1.0 হল বারের প্রস্থ। পরম মানের জন্য ডিফল্ট মান 8 পিক্সেল, বা আপেক্ষিক মানের জন্য 8/23।

আপনি মধ্যবর্তী ঐচ্ছিক পরামিতি বাদ দিতে পারবেন না; আপনাকে অবশ্যই একটি নির্দিষ্ট মান দিয়ে শেষ করতে হবে। উদাহরণস্বরূপ: chbh=10,5,10 বৈধ, chbh=10,,10 নয়, chbh=10,5, নয়।

বর্ণনা উদাহরণ

এই চার্টটি স্বয়ংক্রিয়ভাবে মান পরিবর্তন করতে a মান ব্যবহার করে।

প্রথম চার্টে কোনো গ্রুপ স্পেসিং উল্লেখ করা হয়নি, তাই গ্রুপগুলো স্পষ্ট নয়। দ্বিতীয় চার্ট গ্রুপের মধ্যে কিছু ব্যবধান (15 পিক্সেল) যোগ করে।

Vertical grouped bar chart in blue and black, bars and spaces are automatically sized

chbh=a




chbh=a,5,15

এই চার্টটি বারের প্রস্থের সাপেক্ষে মাপ নির্দিষ্ট করতে r মান ব্যবহার করে। এই চার্টে, বারগুলির মধ্যে ব্যবধান হল 0.5x বার প্রস্থ, এবং গ্রুপগুলির মধ্যে 1.5x বার প্রস্থ।

Vertical grouped bar chart in blue and black, bars are automatically sized, spaces expressed as percentage of chart width

chbh=r,0.5,1.5

প্রথম চার্টে প্রতিটি সিরিজে পাঁচটি মান রয়েছে, কিন্তু চার্টটি ডিফল্ট মান সহ সমস্ত বার ধরে রাখার জন্য খুব ছোট:

বারের জন্য 10 * 23 পিক্সেল +
ব্যবধানের জন্য 5 * 4 পিক্সেল +
গ্রুপ স্পেসিংয়ের জন্য 4 * 8 পিক্সেল
282 পিক্সেল -- 190 পিক্সেল চার্ট প্রস্থের চেয়ে বেশি

...তাই কিছু বার ক্লিপ করা হয়েছে।

দ্বিতীয় চার্টটি চার্টের সমস্ত বারকে ফিট করার জন্য পরম বার এবং ব্যবধানের মানগুলি নির্দিষ্ট করে৷

Vertical grouped bar chart in blue and black, bars have the default width

chbh
বাদ দেওয়া হয়েছে
chs=190x125
দুটি সিরিজ, পাঁচটি মান/সিরিজ


Vertical grouped bar chart in blue and black, bars are automatically sized

chbh=10,5,10

উপরে ফিরে যাও

জিরো লাইন chp

আপনি chp প্যারামিটার ব্যবহার করে বা ডেটা স্কেলিং সহ পাঠ্য এনকোডিং ব্যবহার করে আপনার চার্টের জন্য একটি কাস্টম শূন্য লাইন নির্দিষ্ট করতে পারেন। এই শূন্য লাইন দুটি ভিন্ন উপায়ে কাজ করে:

  • ডেটা স্কেলিং - যখন আপনি স্কেলিং প্যারামিটার chds সহ টেক্সট ফরম্যাট ডেটা ব্যবহার করেন, তখন এটি সমস্ত নেতিবাচক মানগুলি দেখানোর জন্য শূন্য রেখাটিকে যতটা প্রয়োজন ততটা ঠেলে দেবে।
  • chp প্যারামিটার - আপনি chp প্যারামিটার ব্যবহার করে যেকোন ডেটা ফরম্যাটে, যেকোনো অবস্থানে ম্যানুয়ালি শূন্য রেখা সরাতে পারেন। এটি আসলে একটি কৃত্রিম শূন্য রেখা তৈরি করে, এবং বারগুলিকে ডেটা মান এবং আপনার নির্বিচারে শূন্য মানের মধ্যে পার্থক্য হিসাবে পুনরায় অঙ্কন করে (অর্থাৎ, বারগুলি আপনার শূন্য রেখা থেকে বার মান পর্যন্ত আঁকা হয়)। এটি chds এর সাথে একত্রে ব্যবহার করা যাবে না।

বাক্য গঠন

chp=
  <zero_value_series_1>,
   ...,
  <zero_value_series_n>
<zero_value_series_1 >
0.0-1.0 থেকে একটি ফ্লোটিং পয়েন্ট মান, সমন্বিত, যেখানে 0.0 হল অক্ষের নীচে, এবং 1.0 হল অক্ষের উপরে৷ এটি এবং তাদের মানের মধ্যে পার্থক্য দেখানোর জন্য বারগুলি পুনরায় আঁকা হবে।
বর্ণনা উদাহরণ

এখানে একই ডেটা সহ একটি বার চার্টের তিনটি কপি রয়েছে:

  • প্রথমটি কোন শূন্য লাইন উল্লেখ না করে চার্ট দেখায়।
  • দ্বিতীয়টি 0.2 এর একটি শূন্য রেখা সহ চার্ট দেখায়, বা শূন্য রেখাটি y-অক্ষের উপরে দূরত্বের 0.2 ঠেলে দেওয়া হয়। লক্ষ্য করুন যে মান 20 অদৃশ্য হয়ে গেছে কারণ এটি নতুন শূন্য রেখায় রয়েছে।
  • তৃতীয়টি 0.5 এর শূন্য রেখা সহ চার্টটি দেখায়। এখন 20 মান একটি ঋণাত্মক মান হিসাবে পুনরায় আবির্ভূত হয়েছে, যেমন 40 মান (যা 50 এর কম)। এর কারণ হল বারগুলি নতুন শূন্য রেখার অবস্থান থেকে প্রকৃত ডেটা মান পর্যন্ত আঁকা হয়, তাই চার্টে 50-এর কম মানগুলি নীচের দিকে যায় এবং 50-এর বেশি মানগুলি উপরের দিকে আঁকা হয়৷

Vertical bar chart with zero line half way up the chart
chd=t:20,40,60,80,95
কোন শূন্য লাইন নির্দিষ্ট করা নেই.


Vertical bar chart with zero line half way up the chart
chd=t:20,40,60,80,95
chp=0.2


Vertical bar chart with zero line half way up the chart
chd=t:20,40,60,80,95
chp=0.5

এই উদাহরণটি কাস্টম স্কেলিং ( chds ) সহ টেক্সট ফরম্যাট করা ডেটা ব্যবহার করে একটি শূন্য লাইন সেট করা দেখায়। আপনি একসাথে chds এবং chp ব্যবহার করতে পারবেন না।

উদাহরণে -60 থেকে 120 পর্যন্ত মান রয়েছে৷ স্কেলটি -80 থেকে 140-এ সেট করা হয়েছে, বারগুলির উপরে এবং নীচে স্থান ছেড়ে দেওয়ার জন্য৷

Horizontal bar chart with two data sets: both are colored in red
chd=t:30,-60,50,120,80
chds=-80,140

উপরে ফিরে যাও

যৌগিক চার্ট

আপনি একটি যৌগিক চার্ট তৈরি করতে একটি বার চার্টে লাইন, ক্যান্ডেলস্টিক এবং শেপ মার্কার যোগ করতে পারেন। আরও বিস্তারিত জানার জন্য যৌগিক চার্ট দেখুন।

নির্দিষ্ট বারে চিহ্নিতকারী (শুধুমাত্র cht=bvg )

ডিফল্টরূপে, আপনি যখন একটি গোষ্ঠীবদ্ধ উল্লম্ব চার্টে একটি chm মার্কার আঁকেন, তখন মার্কারটি একই সিরিজে আঁকা হয় যেখান থেকে এটি ডেটা সংগ্রহ করে। যদি ডেটা একটি লুকানো সিরিজ হয়, ডিফল্ট আচরণ হল বার গ্রুপে মার্কারকে কেন্দ্র করে।

যাইহোক, উল্লম্বভাবে গোষ্ঠীবদ্ধ বার চার্ট (টাইপ bvg ) দিয়ে আপনি একটি প্লেসমেন্ট সিরিজ নির্দিষ্ট করতে পারেন যা মার্কার ডেটা সিরিজ থেকে আলাদা। এটি করার জন্য, নিম্নলিখিত সিনট্যাক্স ব্যবহার করে < series_index > প্যারামিটার (তৃতীয় প্যারামিটার) নির্দিষ্ট করুন: < data_series_index >:< placement_series_index >

মনে রাখবেন যে আপনি যদি একটি লুকানো বা অস্তিত্বহীন প্লেসমেন্ট সিরিজ নির্দিষ্ট করেন, তাহলে চিহ্নিতকারীটি গ্রুপে অনুভূমিকভাবে কেন্দ্রীভূত হবে।

এই বৈশিষ্ট্যটি ব্যবহার করার সর্বোত্তম উপায় হল মার্কার ডেটার জন্য একটি লুকানো সিরিজ ব্যবহার করা এবং একটি দৃশ্যমান সিরিজে মার্কার স্থাপন করা।

নিম্নলিখিত উদাহরণগুলি ডিফল্ট আচরণ দেখায়, উভয় ডেটা সিরিজ এবং প্লেসমেন্ট সিরিজ একই, এবং উন্নত সিনট্যাক্স, একটি ভিন্ন ডেটা এবং প্লেসমেন্ট সিরিজ নির্দিষ্ট করে।

লুকানো ডেটা সিরিজ, ডিফল্ট মার্কার বসানো লুকানো ডেটা সিরিজ, উন্নত মার্কার বসানো

chd=t2: // First two series are visible
10,20,30,40,50 // Red bars
20,40,60,80,100 // Blue bars
20,20,20,20,20 // Hidden: black circle data
30,30,30,30,30 // Hidden: black square data
chm=
o,000000, 2 ,,10 // Circle markers
s,000000, 3 ,,10 // Square markers

এই উদাহরণে, মৌলিক সিনট্যাক্স নির্দিষ্ট করে যে মার্কার ডেটা এবং প্লেসমেন্ট একই সিরিজে হওয়া উচিত। যেহেতু এটি একটি লুকানো সিরিজ, ডিফল্ট প্লেসমেন্ট প্রতিটি গ্রুপে উল্লম্বভাবে কেন্দ্রীভূত হয়।

chd=t2: // First two series are visible
10,20,30,40,50 // Red bars
20,40,60,80,100 // Blue bars
20,20,20,20,20 // Hidden: black circle data
30,30,30,30,30 // Hidden: black square data
chm=
o,000000, 2:0 ,,10 // Circle markers
o,000000, 3:1 ,,10 // Square markers

এই উদাহরণে, উন্নত সিনট্যাক্স মার্কারগুলির জন্য একটি ভিন্ন ডেটা উত্স এবং স্থান নির্ধারণের সিরিজ নির্দিষ্ট করে৷ চেনাশোনাগুলি লুকানো সিরিজ 2 থেকে ডেটা ব্যবহার করে এবং সিরিজ 0 এ স্থাপন করা হয়; বর্গক্ষেত্রগুলি লুকানো সিরিজ 3 থেকে ডেটা ব্যবহার করে এবং সিরিজ 1 এ স্থাপন করা হয়।

নিম্নলিখিত উদাহরণটি দেখায় কিভাবে একটি গোষ্ঠীবদ্ধ বার চার্টে পৃথক বারগুলিতে বিভিন্ন ধরণের মার্কার যুক্ত করতে হয়। নোট করুন কিভাবে কালো বৃত্তটি গ্রুপগুলিতে কেন্দ্রীভূত হয়, কারণ এটি স্থান নির্ধারণের সিরিজ হিসাবে একটি লুকানো সিরিজ নির্দিষ্ট করে।


chd=t4: // First four series are rendered as bars. Remaining data is hidden.
5,10,15,20,25,30 // Purple bar
10,20,30,40,50,60 // Blue bar
30,40,50,60,70,80 // Olive bar
5,5,5,5,5,5 // Black bar
0,15,25,30,45,55 // Hidden data: Purple circle, blue error bar start
15,30,40,45,55,65 // Hidden data: Blue error bar end
20,35,45,50,55,65 // Hidden data: Yellow error bar start
40,45,55,80,75,85 // Hidden data: Yellow error bar end
chm= // Markers:
o,D000D0,4:0,,10 // Purple circle: data series 4, placement series 0 (purple)
E,00D0D0,4:1,,1:10 // Blue error bars: data series 4, placement series 1 (blue)
E,D0D000,6:2,,1:10 // Yellow error bars: data series 6, placement series 2 (olive)
o,000000,3:4,,10 // Black circle: data series 3, placement 4 (hidden placement series, centered in group)

উপরে ফিরে যাও

সাধারণ বৈশিষ্ট্য

এই পৃষ্ঠার বাকি বৈশিষ্ট্যগুলি স্ট্যান্ডার্ড চিত্র চার্ট বৈশিষ্ট্য।

চার্ট শিরোনাম chtt , chts [ সমস্ত চার্ট ]

আপনি আপনার চার্টের জন্য শিরোনাম পাঠ্য, রঙ এবং ফন্টের আকার নির্দিষ্ট করতে পারেন।

বাক্য গঠন

chtt=<chart_title>
chts=<color>,<font_size>,<opt_alignment>

chtt - চার্ট শিরোনাম নির্দিষ্ট করে।

< চার্ট_টাইটেল >
চার্ট দেখানোর জন্য শিরোনাম। এটি কোথায় প্রদর্শিত হবে তা আপনি নির্দিষ্ট করতে পারবেন না, তবে আপনি ঐচ্ছিকভাবে ফন্টের আকার এবং রঙ নির্দিষ্ট করতে পারেন। শূন্যস্থান নির্দেশ করতে একটি + চিহ্ন এবং লাইন বিরতি নির্দেশ করতে একটি পাইপ অক্ষর ( | ) ব্যবহার করুন।

chts [ ঐচ্ছিক ] - chtt প্যারামিটারের জন্য রঙ এবং ফন্টের আকার।

<রঙ >
শিরোনামের রঙ, RRGGBB হেক্সাডেসিমেল বিন্যাসেডিফল্ট রঙ কালো।
<font_size>
শিরোনামের হরফের আকার, পয়েন্টে।
< opt_alignment >
[ ঐচ্ছিক ] শিরোনামের প্রান্তিককরণ। নিম্নলিখিত কেস-সংবেদনশীল স্ট্রিং মানগুলির মধ্যে একটি বেছে নিন: "l" (বাম), "c" (কেন্দ্রিক) "r" (ডান)। ডিফল্ট হল "c"।

উদাহরণ

বর্ণনা উদাহরণ

একটি শিরোনাম সহ একটি চার্ট, ডিফল্ট রঙ এবং ফন্টের আকার ব্যবহার করে৷

যোগ চিহ্ন ( + ) সহ একটি স্থান নির্দিষ্ট করুন।

একটি লাইন বিরতি জোর করতে একটি পাইপ অক্ষর ( | ) ব্যবহার করুন৷

chts এখানে নির্দিষ্ট করা নেই।

Vertical bar chart with title
chtt=Site+visitors+by+month|
January+to+July

একটি নীল, ডান-সারিবদ্ধ, 20-পয়েন্ট শিরোনাম সহ একটি চার্ট।

Vertical bar chart with blue, 20 pixel, title
chtt=Site+visitors
chts=FF0000,20,r

উপরে ফিরে যাও

চার্ট লিজেন্ড টেক্সট এবং স্টাইল chdl , chdlp , chdls [ সমস্ত চার্ট ]

কিংবদন্তি হল চার্টের একটি পার্শ্ব বিভাগ যা প্রতিটি সিরিজের একটি ছোট পাঠ্য বিবরণ দেয়। আপনি এই কিংবদন্তির প্রতিটি সিরিজের সাথে যুক্ত পাঠ্যটি নির্দিষ্ট করতে পারেন এবং চার্টে এটি কোথায় প্রদর্শিত হবে তা উল্লেখ করতে পারেন।

আপনার কিংবদন্তির চারপাশে মার্জিন কীভাবে সেট করবেন তা শিখতে chma দেখুন।

স্ট্রিং মানগুলির উপর একটি নোট: লেবেল স্ট্রিংগুলিতে শুধুমাত্র URL-নিরাপদ অক্ষরগুলি অনুমোদিত৷ নিরাপদে থাকার জন্য, আপনি 0-9a-zA-Z অক্ষর সেটে নেই এমন অক্ষর সমন্বিত যেকোনো স্ট্রিংকে URL-এনকোড করতে হবে। আপনি Google ভিজ্যুয়ালাইজেশন ডকুমেন্টেশনে একটি URL এনকোডার খুঁজে পেতে পারেন।

বাক্য গঠন

chdl=<data_series_1_label>|...|<data_series_n_label>
chdlp=<opt_position>|<opt_label_order>
chdls=<color>,<size>

chdl - কিংবদন্তীতে প্রদর্শনের জন্য প্রতিটি সিরিজের পাঠ্য।

< ডেটা_সিরিজ_লেবেল >
কিংবদন্তি এন্ট্রি জন্য পাঠ্য. প্রতিটি লেবেল chd অ্যারের সংশ্লিষ্ট সিরিজে প্রযোজ্য। একটি স্থানের জন্য একটি + চিহ্ন ব্যবহার করুন। আপনি যদি এই প্যারামিটারটি নির্দিষ্ট না করেন তবে চার্টটি একটি কিংবদন্তি পাবে না। একটি লেবেলে একটি লাইন বিরতি নির্দিষ্ট করার কোন উপায় নেই। কিংবদন্তিটি সাধারণত আপনার কিংবদন্তি পাঠ্যটিকে ধরে রাখতে প্রসারিত হবে এবং লেজেন্ডটিকে মিটমাট করার জন্য চার্টের ক্ষেত্রটি সঙ্কুচিত হবে।

chdlp - [ ঐচ্ছিক ] কিংবদন্তির অবস্থান, এবং কিংবদন্তি এন্ট্রির ক্রম। আপনি < অবস্থান > এবং/অথবা < label_order > নির্দিষ্ট করতে পারেন। আপনি যদি উভয়টি নির্দিষ্ট করেন তবে একটি বার অক্ষর দিয়ে আলাদা করুন। আপনি যদি চান যে chdl এ খালি কিংবদন্তি এন্ট্রিগুলি কিংবদন্তিতে এড়িয়ে যেতে চান তাহলে আপনি যেকোনো মানতে একটি 's' যোগ করতে পারেন। উদাহরণ: chdlp=bv , chdlp=r , chdlp=bv|r , chdlp=bvs|r

< opt_position >
[ ঐচ্ছিক ] লেজেন্ডের অবস্থান সুনির্দিষ্ট করে। কিংবদন্তি এবং চার্ট এলাকা বা ছবির সীমানার মধ্যে অতিরিক্ত প্যাডিং নির্দিষ্ট করতে, chma প্যারামিটার ব্যবহার করুন। নিম্নলিখিত মানগুলির মধ্যে একটি চয়ন করুন:
  • b - লেজেন্ডের নীচে লেজেন্ড, একটি অনুভূমিক সারিতে লেজেন্ড এন্ট্রি।
  • bv - চার্টের নীচে কিংবদন্তি, একটি উল্লম্ব কলামে কিংবদন্তি এন্ট্রি।
  • t - চার্টের শীর্ষে লেজেন্ড, একটি অনুভূমিক সারিতে কিংবদন্তি এন্ট্রি।
  • tv - চার্টের শীর্ষে লেজেন্ড, একটি উল্লম্ব কলামে কিংবদন্তি এন্ট্রি।
  • r - [ ডিফল্ট ] লেজেন্ড লেজেন্ডের ডানদিকে, একটি উল্লম্ব কলামে লেজেন্ড এন্ট্রি।
  • l - লেজেন্ডের বাম দিকে, একটি উল্লম্ব কলামে কিংবদন্তি এন্ট্রি।
< opt_label_order >
[ ঐচ্ছিক ] যে ক্রমে লেবেলগুলি কিংবদন্তিতে দেখানো হয়েছে৷ নিম্নলিখিত মানগুলির মধ্যে একটি চয়ন করুন:
  • l - [ উল্লম্ব কিংবদন্তিগুলির জন্য ডিফল্ট ] chdl কে দেওয়া ক্রমে লেবেলগুলি প্রদর্শন করুন৷
  • r - chdl কে দেওয়া বিপরীত ক্রমে লেবেলগুলি প্রদর্শন করুন। এটি কিংবদন্তি দেখানোর জন্য স্ট্যাক করা বার চার্টে দরকারী
    বার প্রদর্শিত একই ক্রমে.
  • a - [ অনুভূমিক কিংবদন্তির জন্য ডিফল্ট ] স্বয়ংক্রিয় ক্রম: মোটামুটি মানে হল দৈর্ঘ্য অনুসারে বাছাই করা, প্রথমে সংক্ষিপ্ততম, যেমন 10 পিক্সেল ব্লকে পরিমাপ করা হয়। যখন দুটি উপাদান একই দৈর্ঘ্যের হয় (10 পিক্সেল ব্লকে বিভক্ত), প্রথমে তালিকাভুক্ত একটি প্রথমে প্রদর্শিত হবে।
  • 0,1,2... - কাস্টম লেবেল অর্ডার। এটি chdl থেকে শূন্য-ভিত্তিক লেবেল সূচীগুলির একটি তালিকা, কমা দ্বারা পৃথক করা হয়েছে।

chdls - [ ঐচ্ছিক ] কিংবদন্তি পাঠ্যের রঙ এবং ফন্টের আকার নির্দিষ্ট করে।

< রঙ >
কিংবদন্তি পাঠ্যের রঙ, RRGGBB হেক্সাডেসিমেল বিন্যাসে
< আকার >
কিংবদন্তি পাঠ্যের বিন্দু আকার।

উদাহরণ

বর্ণনা উদাহরণ

কিংবদন্তির দুটি উদাহরণ। আপনার ডেটা সিরিজের মতো একই ক্রমে কিংবদন্তি পাঠ্য নির্দিষ্ট করুন।

Red, blue, and green line chart with matching legends

chdl=NASDAQ|FTSE100|DOW
chco=FF0000,00FF00,0000FF

Venn diagram with two smaller circles enclosed by a larger circle


chdl=First|Second|Third
chco=ff0000,00ff00,0000ff

প্রথম চার্টটি অনুভূমিক কিংবদন্তি এন্ট্রিগুলি প্রদর্শন করে ( chdlp=t , ডিফল্ট বিন্যাস অনুভূমিক), এবং দ্বিতীয়টি নীচে উল্লম্ব কিংবদন্তি এন্ট্রিগুলি ( chdlp=bv ) প্রদর্শন করে।

Venn diagram with two smaller circles enclosed by a larger circle
chdl=First|Second|Third
chco=ff0000,00ff00,0000ff
chdlp=t


Venn diagram with two smaller circles enclosed by a larger circle
chdl=First|Second|Third
chco=ff0000,00ff00,0000ff
chdlp=bv

এই উদাহরণটি ফন্টের আকার পরিবর্তন দেখায়।

Venn diagram with two smaller circles enclosed by a larger circle
chdls=0000CC,14

উপরে ফিরে যাও

চার্ট মার্জিন chma [ সমস্ত চার্ট ]

আপনি চার্টের মার্জিনের আকার পিক্সেলে নির্দিষ্ট করতে পারেন। মার্জিন নির্দিষ্ট চার্ট আকার ( chs ) থেকে ভিতরের দিকে গণনা করা হয়; মার্জিনের আকার বাড়ানো মোট চার্টের আকার বাড়ায় না, বরং প্রয়োজনে চার্টের ক্ষেত্রটিকে সঙ্কুচিত করে।

চার্টের আকার গণনা করার পরে যা অবশিষ্ট থাকে তা ডিফল্টভাবে মার্জিন হয়। এই ডিফল্ট মান চার্টের ধরন অনুসারে পরিবর্তিত হয়। আপনি যে মার্জিনগুলি নির্দিষ্ট করেছেন তা একটি সর্বনিম্ন মান; যদি চার্টের ক্ষেত্রটি মার্জিনের জন্য জায়গা ছেড়ে দেয়, তবে মার্জিনের আকার যা অবশিষ্ট থাকবে তা হবে; আপনি কোন কিংবদন্তি এবং লেবেলগুলির জন্য প্রয়োজনীয়তার চেয়ে ছোট মার্জিনগুলিকে চাপতে পারবেন না। এখানে একটি চার্টের মৌলিক অংশগুলি দেখানো একটি চিত্র:

চার্ট মার্জিন, কিংবদন্তি এলাকা, এবং চার্ট এলাকা

চার্ট মার্জিনে অক্ষ লেবেল এবং কিংবদন্তি এলাকা অন্তর্ভুক্ত রয়েছে। কিংবদন্তি এলাকা স্বয়ংক্রিয়ভাবে টেক্সট ফিট করার জন্য স্বয়ংক্রিয়ভাবে আকার পরিবর্তন করে, যদি না আপনি chma ব্যবহার করে একটি বৃহত্তর প্রস্থ নির্দিষ্ট করেন, এই ক্ষেত্রে এটি মার্জিন আকারকে আরও প্রসারিত করবে, লেখচিত্রের ক্ষেত্রটিকে ছোট করবে। আপনি খুব ছোট একটি আকার নির্দিষ্ট করে একটি কিংবদন্তি ক্রপ করতে পারবেন না, তবে আপনি এটির প্রয়োজনের চেয়ে বেশি জায়গা নিতে পারেন৷

টিপ: একটি বার চার্টে, বারগুলির একটি নির্দিষ্ট আকার (ডিফল্ট) থাকলে, চার্ট এলাকার প্রস্থ কমানো যাবে না। আপনাকে অবশ্যই chbh ব্যবহার করে একটি ছোট বা পুনরায় মাপযোগ্য বারের আকার নির্দিষ্ট করতে হবে।

বাক্য গঠন

chma=
  <left_margin>,<right_margin>,<top_margin>,<bottom_margin>|<opt_legend_width>,<opt_legend_height>
< left_margin >, < right_margin >, < top_margin >, < bottom_margin >
চার্ট এলাকার চারপাশে ন্যূনতম মার্জিন আকার, পিক্সেলে। অক্ষের লেবেলগুলিকে চার্টের সীমানাগুলির সাথে বাম্পিং থেকে আটকাতে কিছু প্যাডিং অন্তর্ভুক্ত করতে এই মানটি বাড়ান৷
< opt_legend_width >, < opt_legend_height >
[ ঐচ্ছিক ] কিংবদন্তির চারপাশে মার্জিনের প্রস্থ, পিক্সেলে। লেজেন্ডটি চার্ট এরিয়া বা ইমেজের প্রান্তের সাথে বাম্প হওয়া এড়াতে এটি ব্যবহার করুন।

উদাহরণ

বর্ণনা উদাহরণ

এই উদাহরণে, চার্টের প্রতিটি পাশে ন্যূনতম 30 পিক্সেল মার্জিন রয়েছে। চার্ট লিজেন্ডটি 30 পিক্সেলের বেশি প্রশস্ত হওয়ার কারণে, ডান পাশের মার্জিনটি চার্ট লিজেন্ডের প্রস্থে সেট করা হয়েছে এবং অন্যান্য মার্জিন থেকে আলাদা।

অক্ষ লেবেলগুলি প্লট এলাকার বাইরে, এবং তাই মার্জিন স্পেসের মধ্যে আঁকা হয়।

Line chart with gray background and margins on each side.
chma=30,30,30,30

কিংবদন্তির চারপাশে একটি মার্জিন যোগ করতে, < opt_legend_width > এবং < opt_legend_height > প্যারামিটারের জন্য একটি মান সেট করুন।

এই উদাহরণে, কিংবদন্তিটি প্রায় 60 পিক্সেল প্রশস্ত। আপনি যদি < opt_legend_width > 80 পিক্সেল সেট করেন, মার্জিন কিংবদন্তির বাইরে 20 পিক্সেল পর্যন্ত প্রসারিত হয়।

Line chart with gray background and margins on each side.
chma=20,20,20,30|80,20

উপরে ফিরে যাও

অক্ষ শৈলী এবং লেবেল [ লাইন, বার, গুগল-ও-মিটার, রাডার, স্ক্যাটার ]

আপনি চার্টে কোন অক্ষগুলি প্রদর্শন করতে হবে তা নির্দিষ্ট করতে পারেন এবং তাদের কাস্টম লেবেল এবং অবস্থান, ব্যাপ্তি এবং শৈলী দিতে পারেন।

সমস্ত চার্ট ডিফল্টরূপে অক্ষরেখা দেখায় না। chxt প্যারামিটার ব্যবহার করে আপনার চার্টে ঠিক কোন অক্ষগুলি দেখানো উচিত তা আপনি নির্দিষ্ট করতে পারেন। ডিফল্ট অক্ষ রেখা সংখ্যা দেখায় না; সংখ্যা দেখানোর জন্য আপনাকে chxt প্যারামিটারে একটি অক্ষ উল্লেখ করতে হবে।

আপনি আপনার অক্ষগুলি ডেটা মানগুলিকে প্রতিফলিত করে প্রদর্শন সংখ্যাগুলি বেছে নিতে পারেন বা আপনি কাস্টম অক্ষগুলি নির্দিষ্ট করতে পারেন৷ ডিফল্ট হল সাংখ্যিক মান প্রদর্শন করা, মানগুলি 0-100 থেকে পরিসরে স্কেল করা। যাইহোক, আপনি chxr ব্যবহার করে যে কোনো পরিসর পরিবর্তন করতে পারেন, এবং আপনি chxs ব্যবহার করে মান (উদাহরণস্বরূপ, মুদ্রার প্রতীক বা দশমিক স্থান দেখানোর জন্য) স্টাইল করতে পারেন।

আপনি যদি কাস্টম মান ব্যবহার করতে চান, উদাহরণস্বরূপ: "সোম, মঙ্গল, বুধ", আপনি chxl প্যারামিটার ব্যবহার করতে পারেন। এই লেবেলগুলিকে অক্ষ বরাবর নির্দিষ্ট স্থানে রাখতে, chxp প্যারামিটার ব্যবহার করুন।

অবশেষে, আপনি কাস্টম এবং সাংখ্যিক অক্ষ লেবেলের রঙ, আকার, প্রান্তিককরণ এবং অন্যান্য বৈশিষ্ট্যগুলি নির্দিষ্ট করতে chxs এবং chxtc প্যারামিটার ব্যবহার করতে পারেন।

স্ট্রিং মানগুলির উপর একটি নোট: লেবেল স্ট্রিংগুলিতে শুধুমাত্র URL-নিরাপদ অক্ষরগুলি অনুমোদিত৷ নিরাপদে থাকার জন্য, আপনি 0-9a-zA-Z অক্ষর সেটে নেই এমন অক্ষর সমন্বিত যেকোনো স্ট্রিংকে URL-এনকোড করতে হবে। আপনি Google ভিজ্যুয়ালাইজেশন ডকুমেন্টেশনে একটি URL এনকোডার খুঁজে পেতে পারেন।

এই বিভাগে নিম্নলিখিত বিষয়গুলি কভার করে:


দৃশ্যমান Axes chxt

বার, লাইন, রাডার, এবং স্ক্যাটার চার্ট ডিফল্টভাবে এক বা দুটি অক্ষ রেখা দেখায়, কিন্তু এই লাইনগুলিতে মান অন্তর্ভুক্ত নয়। আপনার অক্ষ রেখায় মান প্রদর্শন করতে, বা কোন অক্ষগুলি দেখানো হয়েছে তা পরিবর্তন করতে, আপনাকে অবশ্যই chxt প্যারামিটার ব্যবহার করতে হবে। ডিফল্টরূপে, অক্ষের মানগুলি 0-100 এর মধ্যে থাকে, যদি না আপনি chxr প্রপার্টি ব্যবহার করে স্পষ্টভাবে স্কেল না করেন। একটি লাইন চার্টে সমস্ত অক্ষ রেখা লুকানোর জন্য, cht প্যারামিটারে চার্ট টাইপ মানের পরে :nda উল্লেখ করুন (উদাহরণ: cht= lc:nda )।

ডিফল্টরূপে, উপরের এবং নীচের অক্ষগুলি মান দ্বারা টিক চিহ্ন দেখায় না, যখন বাম এবং ডান অক্ষগুলি সেগুলি দেখায়। আপনি chxs প্যারামিটার ব্যবহার করে এই আচরণ পরিবর্তন করতে পারেন।

বাক্য গঠন

chxt=
  <axis_1>
    ,...,
  <axis_n>
< অক্ষ >
চার্টে দেখানোর জন্য একটি অক্ষ। উপলব্ধ অক্ষগুলি হল:
  • x - নিচের x-অক্ষ
  • t - শীর্ষ x-অক্ষ [ Google-o-Meter দ্বারা সমর্থিত নয় ]
  • y - বাম y-অক্ষ
  • r - ডান y-অক্ষ [ Google-o-Meter দ্বারা সমর্থিত নয় ]

আপনি একই ধরণের একাধিক অক্ষ নির্দিষ্ট করতে পারেন, উদাহরণস্বরূপ: cht=x,x,y । এটি চার্টের নীচের দিকে x-অক্ষের দুটি সেট স্ট্যাক করবে। সাংখ্যিক মান দেখায় এমন একটি অক্ষ বরাবর কাস্টম লেবেল যোগ করার সময় এটি দরকারী (নীচের উদাহরণ দেখুন)। অক্ষগুলি ভিতরের বাইরে থেকে আঁকা হয়, তাই আপনার যদি x,x থাকে, তাহলে প্রথম xটি সবচেয়ে ভিতরের অনুলিপিকে বোঝায়, পরের xটি পরবর্তী বাইরের অনুলিপিকে বোঝায় এবং আরও অনেক কিছু।

উদাহরণ

বর্ণনা উদাহরণ

এই উদাহরণটি একটি x-অক্ষ, একটি y-অক্ষ, একটি শীর্ষ অক্ষ (t), এবং একটি ডান অক্ষ (r) সহ একটি লাইন চার্ট দেখায়।

যেহেতু কোনো লেবেল নির্দিষ্ট করা নেই, তাই সমস্ত অক্ষের জন্য চার্টটি 0 থেকে 100 এর পরিসরে ডিফল্ট।

মনে রাখবেন যে ডিফল্টরূপে, উপরের এবং নীচের অক্ষগুলি লেবেল দ্বারা টিক চিহ্ন দেখায় না।

Line chart with the labels: 0, 20, 40, 60, 80, and 100 on the left and right and labels: 0, 25, 50, 75, and 100 above and below
chxt=x,y,r,t

আপনি একই মান একাধিকবার অন্তর্ভুক্ত করে প্রতিটি অক্ষের জন্য লেবেলের একাধিক সেট অন্তর্ভুক্ত করতে পারেন। এই উদাহরণটি x এর দুটি সেট এবং y-অক্ষের দুটি সেট দেখায়। শুধুমাত্র ডিফল্ট অক্ষ লেবেল ব্যবহার করার সময় এটি বিশেষভাবে উপযোগী নয়, যেমনটি এখানে দেখানো হয়েছে। কিন্তু আপনি chxl প্যারামিটার ব্যবহার করে প্রতিটি অক্ষের প্রতিটি কপির জন্য কাস্টম লেবেল নির্দিষ্ট করতে পারেন।

chxt=x,x,y,y


chxt=x,x,y,y
chxl=
1:|হিমায়িত|গরম|
3:|নিম্ন|উচ্চ

এই উদাহরণটি একটি x-অক্ষ, একটি y-অক্ষ, একটি উপরের টি-অক্ষ এবং একটি ডান r-অক্ষ সহ একটি অনুভূমিক বার চার্ট দেখায়।

অক্ষ লেবেলগুলি বাদ দেওয়া হয়েছে, তাই চার্ট API x-অক্ষ এবং টি-অক্ষের জন্য 0 থেকে 100 এর পরিসর প্রদর্শন করে।

y-অক্ষ এবং r-অক্ষের জন্য পরিসীমা বারের সংখ্যা দ্বারা নির্ধারিত হয়। এই ক্ষেত্রে, পাঁচটি বার আছে, তাই চার্ট এপিআই 0 থেকে 4 এর পরিসর প্রদর্শন করে। প্রথম লেবেলটি প্রথম বারের গোড়ায় কেন্দ্রীভূত হয়, দ্বিতীয় লেবেলটি দ্বিতীয় বারের গোড়ায় কেন্দ্রীভূত হয় এবং আরও অনেক কিছু। .

Line chart with the labels: 0, 20, 40, 60, 80, and 100 on the left and right and labels: 0, 25, 50, 75, and 100 above and below
chxt=x,y,r,t

আপনি চার্টের প্রকারের পরে :nda উল্লেখ করে একটি লাইন চার্টে ডিফল্ট অক্ষগুলিকে দমন করতে পারেন। Line chart with hidden axes
cht=lc:nda

উপরে ফিরে যাও

অক্ষ রেঞ্জ chxr

আপনি chxr প্যারামিটার ব্যবহার করে প্রতিটি অক্ষে স্বতন্ত্রভাবে প্রদর্শিত মানগুলির পরিসর নির্দিষ্ট করতে পারেন। মনে রাখবেন যে এটি চার্ট উপাদানগুলির স্কেল পরিবর্তন করে না , শুধুমাত্র অক্ষ লেবেলের স্কেল পরিবর্তন করে। আপনি যদি অক্ষ সংখ্যাগুলিকে প্রকৃত ডেটা মানগুলি বর্ণনা করতে চান তবে যথাক্রমে আপনার ডেটা বিন্যাস পরিসরের নিম্ন এবং উপরের মানগুলিতে < start_val > এবং < end_val > সেট করুন। আরও তথ্যের জন্য অক্ষ স্কেলিং দেখুন।

আপনি chxt প্যারামিটার ব্যবহার করে একটি অক্ষকে দৃশ্যমান করতে হবে যদি আপনি এর পরিসীমা নির্দিষ্ট করতে চান।

কাস্টম অক্ষ মান নির্দিষ্ট করতে, chxl প্যারামিটার ব্যবহার করুন।

বাক্য গঠন

পাইপ অক্ষর ( | ) ব্যবহার করে একাধিক অক্ষ লেবেল রেঞ্জ আলাদা করুন।

chxr=
  <axis_index>,<start_val>,<end_val>,<opt_step>
    |...|
  <axis_index>,<start_val>,<end_val>,<opt_step>
<axis_index>
কোন অক্ষে লেবেল প্রয়োগ করতে হবে। এটি chxt দ্বারা নির্দিষ্ট করা অক্ষ অ্যারের মধ্যে একটি শূন্য-ভিত্তিক সূচক। উদাহরণস্বরূপ, chxt=x,r,y তে r-অক্ষ 1 হবে।
< start_val >
একটি সংখ্যা, এই অক্ষের জন্য নিম্ন মান সংজ্ঞায়িত করে।
< end_val >
একটি সংখ্যা, এই অক্ষের জন্য উচ্চ মান সংজ্ঞায়িত করে।
< opt_step >
[ ঐচ্ছিক ] অক্ষে টিকগুলির মধ্যে গণনা ধাপ। কোন ডিফল্ট ধাপ মান নেই; ধাপটি সুন্দরভাবে ফাঁকা লেবেলের একটি সেট দেখানোর চেষ্টা করার জন্য গণনা করা হয়।

উদাহরণ

বর্ণনা উদাহরণ

এই উদাহরণটি বাম এবং ডান y-অক্ষ ( y এবং r ) এবং একটি x-অক্ষ ( x ) দেখায়।

প্রতিটি অক্ষের একটি নির্দিষ্ট পরিসর রয়েছে। যেহেতু কোন লেবেল বা অবস্থান নির্দিষ্ট করা নেই, মানগুলি প্রদত্ত পরিসর থেকে নেওয়া হয় এবং সেই সীমার মধ্যে সমানভাবে ব্যবধান করা হয়। লাইন চার্টে, মানগুলি সমানভাবে x-অক্ষ বরাবর ছড়িয়ে আছে।

অক্ষের দিকটি r-অক্ষ (সূচক 2 ) এর জন্য বিপরীত হয়, কারণ প্রথম মান ( 1000 ) শেষ মানের ( 0 ) থেকে বড়।


chxt=x,y,r
chxr=
0,0,500|
1,0,200|
2,1000,0

এই উদাহরণে, x-অক্ষের জন্য মান নির্দিষ্ট করা হয়েছে।

অক্ষের লেবেলগুলি অক্ষ বরাবর সমানভাবে ব্যবধানযুক্ত। < opt_step > প্যারামিটারের জন্য পাঁচ ( 5 ) এর মান নির্দিষ্ট করা হয়েছে।

Bar chart with 200, 300, and 400 on the x-axis chxt=x
chxr=0,10,50,5

উপরে ফিরে যাও

কাস্টম অক্ষ লেবেল chxl

আপনি chxl প্যারামিটার ব্যবহার করে যেকোনো অক্ষে কাস্টম স্ট্রিং অক্ষ লেবেল নির্দিষ্ট করতে পারেন। আপনি আপনার পছন্দ অনুযায়ী অনেক লেবেল নির্দিষ্ট করতে পারেন. আপনি যদি একটি অক্ষ প্রদর্শন করেন ( chxt প্যারামিটার ব্যবহার করে) এবং কাস্টম লেবেল নির্দিষ্ট না করেন, তাহলে মানক, সংখ্যাসূচক লেবেল প্রয়োগ করা হবে। একটি কাস্টম সাংখ্যিক পরিসর নির্দিষ্ট করতে, পরিবর্তে chxr প্যারামিটার ব্যবহার করুন।

আপনার লেবেলের জন্য অক্ষ বরাবর নির্দিষ্ট অবস্থান সেট করতে, chxp প্যারামিটার ব্যবহার করুন।

বাক্য গঠন

আপনি লেবেল করতে চান এমন প্রতিটি অক্ষের জন্য একটি প্যারামিটার সেট নির্দিষ্ট করুন। পাইপ অক্ষর ( | ) ব্যবহার করে লেবেলের একাধিক সেট আলাদা করুন।

chxl=
  <axis_index>:|<label_1>|...|<label_n>
    |...|
  <axis_index>:|<label_1>|...|<label_n>
<axis_index>
কোন অক্ষ এতে লেবেল প্রয়োগ করতে হবে। এটি chxt প্যারামিটার অ্যারেতে একটি সূচক। উদাহরণস্বরূপ, আপনার যদি chxt=x,x,y,y থাকে তবে সূচক 0 প্রথম এক্স-অক্ষ হবে, 1 দ্বিতীয় এক্স-অক্ষ হবে।
<লেবেল_1> | ... | < লেবেল_এন >
এই অক্ষ বরাবর রাখার জন্য এক বা একাধিক লেবেল। এগুলি স্ট্রিং বা সংখ্যা মান হতে পারে; স্ট্রিংগুলি উদ্ধৃতিতে হওয়ার দরকার নেই। Lamel_1 অক্ষের সর্বনিম্ন অবস্থানে প্রদর্শিত হয় এবং Lamel_n সর্বোচ্চ অবস্থানে প্রদর্শিত হয়। অতিরিক্ত লেবেলগুলি তাদের মধ্যে সমানভাবে ব্যবধানযুক্ত। একটি + চিহ্ন সহ স্পেসগুলি নির্দেশ করুন। কোনও লেবেলে লাইন বিরতি নির্দিষ্ট করার কোনও উপায় নেই। পাইপ চরিত্রের সাথে পৃথক লেবেল। দ্রষ্টব্য: chxl প্যারামিটারে চূড়ান্ত লেবেলের পরে কোনও পাইপ রাখবেন না।

উদাহরণ

বর্ণনা উদাহরণ

এই চার্টটি দেখায় যে কীভাবে দুটি অক্ষের সাথে কাস্টম লেবেল যুক্ত করা যায়। মানগুলি কীভাবে সমানভাবে ব্যবধান করা হয় এবং কীভাবে শেষ chxl মানটি পাইপ দিয়ে শেষ হয় না তা নোট করুন।

Line chart with 0 and 100 on the left, A, B, and C on the right, Jan,July, Jan, July, and Jan on the x-axis and 2005, 2006 and 2007 below
chxt=x,y
chxl=
0:|Jan|Feb|March|April|May|
1:|Min|Mid|Max

এই উদাহরণে বাম এবং ডান y- অক্ষগুলি ( y এবং r ) এ অক্ষের লেবেল অন্তর্ভুক্ত রয়েছে। এটিতে এক্স-অক্ষ ( x ) এর জন্য দুটি সেট মানও অন্তর্ভুক্ত রয়েছে। আপনি chxs ব্যবহার করে ওয়াই-অক্ষগুলিতে টিক চিহ্ন যুক্ত করার বিষয়টি বিবেচনা করতে পারেন।

Line chart with 0 and 100 on the left, A, B, and C on the right, Jan,July, Jan, July, and Jan on the x-axis and 2005, 2006 and 2007 below
chxt=x,y,r,x
chxl=
0:|Jan|July|Jan|July|Jan|
1:|0|50|100|
2:|A|B|C|
3:|2005|2006|2007

এই উদাহরণে বাম এবং ডান y- অক্ষগুলি ( y এবং r ) এ অক্ষের লেবেল অন্তর্ভুক্ত রয়েছে। এটিতে এক্স-অক্ষ ( x ) এর জন্য দুটি সেট মানও অন্তর্ভুক্ত রয়েছে। নিম্ন এক্স-অক্ষ সেটটির জন্য খালি লেবেলগুলি নোট করুন, মানগুলি আলাদা করে রাখার জন্য ব্যবহৃত হয়।

এই উদাহরণটি বাম ওয়াই-অক্ষের অক্ষের লেবেলের জন্য ডিফল্ট মানগুলি ব্যবহার করে।

Bar chart with 0 and 100 on the left, A, B, and C on the right, Jan, July,Jan, July, and Jan on the x-axis and 2005, 2006 and 2007 below
chxt=x,y,r,x
chxl=
0:|Jan|July|Jan|July|Jan|
2:|A|B|C|
3:|2005||2006||2007

আপনি যদি পুরো অক্ষটি বর্ণনা করতে একটি জেনেরিক লেবেল যুক্ত করতে চান (উদাহরণস্বরূপ, একটি অক্ষ "ব্যয়" এবং অন্য "শিক্ষার্থী" লেবেল করতে), প্রতিটি পাশে একটি অতিরিক্ত অক্ষ যুক্ত করতে chxt সম্পত্তি ব্যবহার করুন, তারপরে একটি যুক্ত করতে chxl ব্যবহার করুন প্রতিটি পাশে একক কাস্টম লেবেল এবং অক্ষের মাঝখানে এটি স্পেসে chxp


chxt=x,x,y,y
chxl=1:|Martinis|3:|Score
chxp=1,50|3,50

উপরে ফিরে যাও

অক্ষ লেবেল অবস্থান chxp

ডিফল্ট লেবেল বা chxl ব্যবহার করে নির্দিষ্ট কাস্টম লেবেলগুলি ব্যবহার করে কোন অক্ষের লেবেলগুলি দেখাতে হবে তা আপনি নির্দিষ্ট করতে পারেন। আপনি যদি এই প্যারামিটারটি ব্যবহার করে সঠিক অবস্থানগুলি নির্দিষ্ট না করেন তবে লেবেলগুলি অক্ষের সাথে সমানভাবে এবং একটি ডিফল্ট পদক্ষেপের মান ব্যবধানে হবে। আপনি যদি chxl নির্দিষ্ট না করেন তবে টিক চিহ্ন লেবেলগুলি ডিফল্ট মানগুলি হবে (সাধারণত ডেটা মান, বা বার চার্টে বার নম্বর)।

বাক্য গঠন

পাইপ চরিত্র ( | ) ব্যবহার করে একাধিক পজিশনিং সেট পৃথক করুন।

chxp=
  <axis_1_index>,<label_1_position>,...,<label_n_position>
    |...|
  <axis_m_index>,<label_1_position>,...,<label_n_position>
<অক্ষ_আইডেক্স >
যে অক্ষের জন্য আপনি অবস্থানগুলি নির্দিষ্ট করছেন। এটি chxt প্যারামিটার অ্যারেতে একটি সূচক। উদাহরণস্বরূপ, যদি আপনার কাছে chxt=x,x,y,y থাকে তবে সূচক 0 প্রথম এক্স-অক্ষ হবে, 1 হবে দ্বিতীয় এক্স-অক্ষ এবং আরও অনেক কিছু।
< লেবেল_1_পজিশন >, ..., < লেবেল_এন_পজিশন >
অক্ষ বরাবর লেবেলের অবস্থান। এটি সংখ্যাসূচক মানগুলির একটি কমা-বিচ্ছিন্ন তালিকা, যেখানে প্রতিটি মান chxl অ্যারেতে সংশ্লিষ্ট লেবেলের অবস্থান নির্ধারণ করে: প্রথম এন্ট্রি প্রথম লেবেলের ক্ষেত্রে প্রযোজ্য। অবস্থানটি সেই অক্ষের জন্য পরিসীমাটির একটি মান। নোট করুন যে আপনি chxr ব্যবহার করে কাস্টম রেঞ্জ নির্দিষ্ট না করে এটি সর্বদা 0-100 হবে। সেই অক্ষের জন্য আপনার লেবেল যতটা পজিশন থাকতে হবে।

উদাহরণ

বর্ণনা উদাহরণ

এই উদাহরণে চার্টে নির্দিষ্ট পজিশনে আর-অক্ষের লেবেল অন্তর্ভুক্ত রয়েছে। লেবেল পাঠ্যটি chxl প্যারামিটার ব্যবহার করে নির্দিষ্ট করা হয়েছে।

0 এর একটি নির্দিষ্ট অবস্থান সহ লেবেলগুলি y- বা r-axis এর নীচে, বা x- বা টি-অক্ষের বামে স্থাপন করা হয়।

100 এর একটি নির্দিষ্ট অবস্থানের সাথে লেবেলগুলি y- বা r-axis এর শীর্ষে বা x- বা টি-অক্ষের ডানদিকে স্থাপন করা হয়।

Line chart with min, average, and max on the right, 20, 40, 60, 80, and 100 on the left, and 0, 25, 50, 75, and 100 along the x-axis
chxt=x,y,r
chxl=2:|min|average|max
chxp=2,10,35,75

এই উদাহরণটি ডিফল্ট লেবেল মানগুলি প্রদর্শন করে তবে কেবল নির্দিষ্ট স্থানে।

chxp=1,10,35,75 - ওয়াই -অক্ষগুলিতে কেবল তিনটি লেবেল দেখানো উচিত: 10, 35, এবং 75. যেহেতু কোনও কাস্টম লেবেল পাঠ্য নির্দিষ্ট করা হয়নি, এই অক্ষের মানগুলি দেখানো হয়েছে। আপনি যখন chxp ব্যবহার করেন তখন কীভাবে আপনাকে সমানভাবে স্পেস লেবেলগুলি আলাদা করতে হবে না তা নোট করুন। যদি এখানে chxp নির্দিষ্ট না করা হয়, তবে দ্বিতীয় গ্রাফে প্রদর্শিত হিসাবে ওয়াই-অক্ষের ডিফল্ট লেবেল মান দূরত্ব প্রতি 20 ইউনিট হবে।

Line chart with 10, 35, and 75 on the left, and 0, 25, 50, 75, and 100 along the x-axis
chxt=x,y
chxp=1,10,35,75

Line chart with default axis positions.
chxt=x,y
chxp নির্দিষ্ট করা হয়নি

উপরে ফিরে যাও

অক্ষ লেবেল শৈলী chxs

আপনি কাস্টম লেবেল এবং ডিফল্ট লেবেল মান উভয়ই অক্ষের লেবেলগুলির জন্য ফন্টের আকার, রঙ এবং প্রান্তিককরণ নির্দিষ্ট করতে পারেন। একই অক্ষের সমস্ত লেবেলের একই ফর্ম্যাট রয়েছে। আপনার যদি অক্ষের একাধিক অনুলিপি থাকে তবে আপনি প্রতিটিকে আলাদাভাবে ফর্ম্যাট করতে পারেন। আপনি একটি লেবেল স্ট্রিংয়ের ফর্ম্যাটটিও নির্দিষ্ট করতে পারেন, উদাহরণস্বরূপ মুদ্রা প্রতীকগুলি বা পিছনে শূন্যগুলি দেখানোর জন্য।

ডিফল্টরূপে, শীর্ষ এবং নীচের অক্ষগুলি মানগুলি দ্বারা টিক চিহ্নগুলি দেখায় না, যখন বাম এবং ডান অক্ষগুলি সেগুলি দেখায়।

বাক্য গঠন

একাধিক অক্ষের জন্য মানগুলি পাইপ চরিত্র ( | ) ব্যবহার করে পৃথক করা উচিত।

chxs=
 <axis_index><opt_format_string>,<opt_label_color>,<opt_font_size>,<opt_alignment>,<opt_axis_or_tick>,<opt_tick_color>,<opt_axis_color>
   |...|
 <axis_index><opt_format_string>,<opt_label_color>,<opt_font_size>,<opt_alignment>,<opt_axis_or_tick>,<opt_tick_color>,<opt_axis_color>
< অক্ষ_আইডেক্স >
এটি যে অক্ষটিতে প্রযোজ্য তা প্রয়োগ করে। এটি chxt প্যারামিটারে একটি শূন্য-ভিত্তিক সূচক।
<opt_format_string>
[ Al চ্ছিক ] এটি একটি al চ্ছিক ফর্ম্যাট স্ট্রিং যা যদি ব্যবহার করা হয় তবে কোনও হস্তক্ষেপ কমা ছাড়াই অক্ষ সূচক সংখ্যার পরে অনুসরণ করে। এটি একটি আক্ষরিক চিঠি এন দিয়ে শুরু হয় নিম্নলিখিত মানগুলি অনুসরণ করে, সমস্ত al চ্ছিক: ফর্ম্যাটিং স্ট্রিং সিনট্যাক্সটি নিম্নরূপ:
N< preceding_text >*< number_type >< decimal_places >zs< x or y >*< following_text >
এখানে প্রতিটি উপাদানটির অর্থ:
  • <preceding_text> - প্রতিটি মানের পূর্বে আক্ষরিক পাঠ্য।
  • *...* - আক্ষরিক নক্ষত্রগুলিতে আবৃত একটি al চ্ছিক ব্লক, যাতে আপনি সংখ্যার জন্য বিন্যাসের বিশদ নির্দিষ্ট করতে পারেন। নিম্নলিখিত মানগুলি সমর্থিত, এবং সমস্ত al চ্ছিক:
    • <number_type> > - সংখ্যার মানগুলির জন্য নম্বর ফর্ম্যাট। নিচের কোনো একটি পছন্দ কর:
      • f - [ ডিফল্ট ] ভাসমান পয়েন্ট ফর্ম্যাট। < দশমিক_প্লেস > মান সহ যথাযথতা নির্দিষ্ট করার বিষয়টি বিবেচনা করুন।
      • p - শতাংশ ফর্ম্যাট। একটি % চিহ্ন স্বয়ংক্রিয়ভাবে সংযুক্ত করা হয়। দ্রষ্টব্য: এই ফর্ম্যাটটি ব্যবহার করার সময়, 0.0 - 1.0 মানচিত্র থেকে 0 - 100% পর্যন্ত ডেটা মানগুলি (উদাহরণস্বরূপ, 0.43 43% হিসাবে দেখানো হবে)।
      • e - বৈজ্ঞানিক স্বরলিপি ফর্ম্যাট।
      • c< CUR > - উপযুক্ত মুদ্রা চিহ্নিতকারী সহ নির্দিষ্ট মুদ্রায় নম্বরটি ফর্ম্যাট করুন। একটি তিন অক্ষরের মুদ্রা কোডের সাথে < CUR > প্রতিস্থাপন করুন। উদাহরণ: ইউরোর জন্য cEUR । আপনি আইএসও ওয়েব সাইটে কোডগুলির একটি তালিকা খুঁজে পেতে পারেন, যদিও সমস্ত চিহ্ন সমর্থিত নয়।
    • <decimal_places> > - একটি পূর্ণসংখ্যা নির্দিষ্ট করে যে কত দশমিক জায়গা দেখাতে হবে। এই দৈর্ঘ্যের মানটি বৃত্তাকার (কাটা নয়)। ডিফল্ট হল 2।
    • z - ডিসপ্লে ট্রেলিং জিরো। ডিফল্ট না
    • s - প্রদর্শন গ্রুপ বিভাজক। ডিফল্ট না
    • x বা y নির্দিষ্ট হিসাবে x- বা y- সমন্বয় থেকে ডেটা প্রদর্শন করুন। এক্স ডেটার অর্থ চার্টের ধরণ অনুসারে পরিবর্তিত হয়: এর অর্থ কী তা নির্ধারণের জন্য আপনার চার্টটি নিয়ে পরীক্ষা করুন। ডিফল্ট হ'ল 'ওয়াই'
  • < following_text > - প্রতিটি মান অনুসরণ করার জন্য আক্ষরিক পাঠ্য।
<opt_label_color>
আরআরজিবিবি হেক্সাডেসিমাল ফর্ম্যাটে অক্ষ পাঠ্যে (তবে অক্ষ রেখা নয়) প্রয়োগ করার জন্য রঙ। অক্ষ লাইন রঙ Opt_axis_color ব্যবহার করে আলাদাভাবে নির্দিষ্ট করা হয়। ডিফল্ট ধূসর।
<opt_font_size>
[ Al চ্ছিক ] পিক্সেলগুলিতে ফন্টের আকার নির্দিষ্ট করে। এই পরামিতি ঐচ্ছিক।
<opt_allignment>
[ Al চ্ছিক ] লেবেল প্রান্তিককরণ। শীর্ষ বা নীচের অক্ষগুলির জন্য, এটি বর্ণনা করে যে কীভাবে লেবেলটি উপরে বা নীচে টিক চিহ্নের সাথে সারিবদ্ধ হয়; বাম বা ডান অক্ষগুলির জন্য, এটি বর্ণনা করে যে কীভাবে তার সীমানা বাক্সের অভ্যন্তরে সারিবদ্ধ হয়, যা অক্ষকে স্পর্শ করে। নিম্নলিখিত সংখ্যাগুলির মধ্যে একটি নির্দিষ্ট করুন:
  • -1 - শীর্ষ বা নীচে : লেবেলগুলি টিক্সের ডানদিকে রয়েছে; বাম বা ডান : লেবেলগুলি তাদের অঞ্চলে বাম-সংযুক্ত করা হয়। আর-অক্ষের লেবেলের জন্য ডিফল্ট।
  • 0 - শীর্ষ বা নীচে : লেবেলগুলি টিক্সকে কেন্দ্র করে; বাম বা ডান : লেবেলগুলি তাদের অঞ্চলে কেন্দ্রিক। এক্স- এবং টি-অক্ষ লেবেলের জন্য ডিফল্ট।
  • 1 - শীর্ষ বা নীচে : লেবেলগুলি টিক্সের বাম দিকে; বাম বা ডান : লেবেলগুলি তাদের অঞ্চলে ডান-সারিবদ্ধ। ওয়াই-অক্ষের লেবেলের জন্য ডিফল্ট।
<opt_axis_or_tick>
[ Al চ্ছিক; গুগল-ও-মিটারে সমর্থিত নয় ] এই অক্ষের জন্য টিক চিহ্ন এবং/অথবা অক্ষ লাইনগুলি দেখাতে হবে কিনা। টিক চিহ্ন এবং অক্ষ লাইনগুলি কেবল অন্তর্নিহিত অক্ষগুলির জন্য উপলব্ধ (উদাহরণস্বরূপ, এগুলি দুটি এক্স-অক্ষের বাইরের জন্য সমর্থিত নয়)। নিম্নলিখিত মানগুলির একটি ব্যবহার করুন:
  • l (ছোট হাতের 'এল') - কেবল অক্ষ লাইন আঁকুন।
  • t - কেবল টিক চিহ্ন আঁকুন। টিক চিহ্নগুলি অক্ষের লেবেলের পাশের ছোট লাইন।
  • lt - [ ডিফল্ট ] সমস্ত লেবেলের জন্য একটি অক্ষ লাইন এবং টিক চিহ্ন উভয়ই আঁকুন।
  • _ - (আন্ডারস্কোর) অক্ষ লাইন বা টিক চিহ্ন আঁকুন না। আপনি যদি কোনও অক্ষ রেখাটি লুকিয়ে রাখতে চান তবে এই মানটি ব্যবহার করুন।
< টিক_ক্লোর >
[ Al চ্ছিক ; গুগল-ও-মিটারে সমর্থিত নয় ] আরআরজিবিবি হেক্সাডেসিমাল ফর্ম্যাটে টিক চিহ্নের রঙ। ডিফল্ট ধূসর।
<opt_axis_color>
[ Al চ্ছিক ] এই অক্ষ লাইনের রঙ, আরআরজিজিবিবি হেক্সাডেসিমাল ফর্ম্যাটেডিফল্ট ধূসর।

উদাহরণ

বর্ণনা উদাহরণ

দ্বিতীয় এক্স-অক্ষের জন্য ফন্টের আকার এবং রঙ নির্দিষ্ট করা হয়েছে (জানুয়ারী, ফেব্রুয়ারী, মার্চ)।

Line chart with min, average, and max on the left, 0, 1, 2, 3, and 4 on the right, 0 to 100 along the x-axis and Jan, Feb, and Mar in blue below

chxt=x,y,r,x
chxr=2,0,4
chxl=3:|Jan|Feb|Mar|
1:|min|average|max
chxp=1,10,35,75
chxs=3,0000DD,13,0,t

ফন্টের আকার, রঙ এবং প্রান্তিককরণটি ডান ওয়াই-অক্ষের জন্য নির্দিষ্ট করা হয়। টিক চিহ্নগুলি, তবে কোনও অক্ষের রেখা আঁকা হয় না।

Line chart with 0 to 100 along the x-axis, Jan, Feb, Mar below, 0 to 4 on the y-axis, and red tickmarks with blue text for min, average and max on the right.

chxt=x,y,r,x
chxl=3:|Jan|Feb|Mar|
2:|min|average|max
chxp=2,10,35,95
chxs=2,0000DD,13,-1,t,FF0000

এই চার্টে তিনটি ডেটা সেট অন্তর্ভুক্ত রয়েছে এবং এটি প্রতি সিরিজের একটিতে অক্ষ লেবেলের তিনটি সেট দেখায়। লেবেলের প্রতিটি সেট একটি কাস্টম ফর্ম্যাটিং স্ট্রিং ব্যবহার করে ফর্ম্যাট করা হয়, এখানে বর্ণিত:

  • 0N*e,000000|
    • 0 মানে প্রথম ডেটা সিরিজ
    • N অর্থ একটি ফর্ম্যাটিং স্ট্রিং
    • * মানে ফর্ম্যাট স্পেসিফায়ারগুলির শুরু
    • e মানে বৈজ্ঞানিক স্বরলিপি
    • * মানে ফর্ম্যাট স্পেসিফায়ারগুলির শেষ
    • 000000 অর্থ কালো পাঠ্য।
  • 1N*cUSD*Mil,FF0000|
    • 1 মানে দ্বিতীয় সিরিজ
    • N অর্থ একটি ফর্ম্যাটিং স্ট্রিং
    • * মানে ফর্ম্যাট স্পেসিফায়ারগুলির শুরু
    • c মানে একটি মুদ্রা চিহ্নিতকারী
    • USD ইউএস ডলারকে ব্যবহারের জন্য মুদ্রা চিহ্নিতকারী হিসাবে নির্দিষ্ট করে
    • * মানে ফর্ম্যাট স্পেসিফায়ারগুলির শেষ
    • Mil একটি আক্ষরিক নিম্নলিখিত স্ট্রিং
    • FF0000 অর্থ লাল পাঠ্য।
  • 2N*sz2*,0000FF
    • 2 মানে তৃতীয় সিরিজ
    • N অর্থ একটি ফর্ম্যাটিং স্ট্রিং
    • * মানে ফর্ম্যাট স্পেসিফায়ারগুলির শুরু
    • s মানে গ্রুপিং স্পেসিফায়ারগুলি দেখানোর (মার্কিন যুক্তরাষ্ট্রে ইংলিশ লোকেল, এটি প্রতি তিনটি শূন্যে কমা)
    • z2 মানে দুটি ট্রেলিং জিরো দেখান
    • 0000FF অর্থ নীল পাঠ্য।

অক্ষের লেবেল রেঞ্জগুলি chxr প্যারামিটার ( অক্ষ_আইডেক্স , শুরু , শেষ , পদক্ষেপ ) ব্যবহার করে সেট করা আছে। যদি সেট না করা হয় তবে সেগুলি ডিফল্টরূপে 0-100 হত।


chd=s:
984sttvuvkQIBLKNCAIi,
DEJPgq0uov17zwopQODS,
AFLPTXaflptx159gsDrn
chxr=
0,0,1000000,250000|
1,0,60|
2,0,5000
chxs=
0N*e,000000|
1N*cUSD*Mil,FF0000|
2N*sz2*,0000FF

উপরে ফিরে যাও

অক্ষ টিক চিহ্ন শৈলী chxtc

আপনি নির্দিষ্ট অক্ষের জন্য দীর্ঘ টিক চিহ্নগুলি নির্দিষ্ট করতে পারেন। সাধারণত এটি একটি চার্টের দৈর্ঘ্য জুড়ে একটি টিক চিহ্ন প্রসারিত করতে ব্যবহৃত হয়। টিক চিহ্নের রঙ পরিবর্তন করতে chxs প্যারামিটারটি ব্যবহার করুন।

একাধিক অক্ষের জন্য মানগুলি পাইপ চরিত্র ( | ) ব্যবহার করে পৃথক করা উচিত। একটি সিরিজের মধ্যে মানগুলি একটি কমা দ্বারা পৃথক করা উচিত।

বাক্য গঠন

chxtc=
  <axis_index_1>,<tick_length_1>,...,<tick_length_n>
    |...|
  <axis_index_m>,<tick_length_1>,...,<tick_length_n>
< অক্ষ_আইডেক্স >
এটি যে অক্ষটিতে প্রযোজ্য তা প্রয়োগ করে। এটি chxt প্যারামিটারে একটি শূন্য-ভিত্তিক সূচক। একটি বার ডিলিমিটার ব্যবহার করে বিভিন্ন অক্ষের জন্য পৃথক মান।
<tick_length_1> , ..., <tick_length_n>
পিক্সেলগুলিতে সেই অক্ষের উপর টিক চিহ্নের দৈর্ঘ্য। যদি একটি একক মান দেওয়া হয় তবে এটি সমস্ত মানের ক্ষেত্রে প্রযোজ্য হবে; যদি একাধিক মান দেওয়া হয় তবে অক্ষের টিক চিহ্নগুলি সেই অক্ষের জন্য মানগুলির তালিকার মাধ্যমে চক্র তৈরি করবে। ইতিবাচক মানগুলি চার্ট অঞ্চলের বাইরে আঁকা এবং চার্ট সীমানা দ্বারা ক্রপ করা হয়। সর্বাধিক ধনাত্মক মান 25 হয় negative নেতিবাচক মানগুলি চার্ট অঞ্চলের অভ্যন্তরে আঁকা হয় এবং চার্ট অঞ্চল সীমানা দ্বারা ক্রপ করা হয়।

উদাহরণ

বর্ণনা উদাহরণ

দীর্ঘ লাল টিক চিহ্ন তৈরি করতে chxtc ব্যবহারের উদাহরণ। এখানে টিক চিহ্নের দৈর্ঘ্য চার্ট ক্ষেত্রের প্রস্থকে ছাড়িয়ে গেছে তবে চার্টের মধ্যে ফিট করার জন্য এটি ক্রপ করা হয়েছে।

  • chxt=x,y,r,x - একটি বাম অক্ষ, একটি ডান অক্ষ এবং দুটি নীচের অক্ষগুলি দেখান।
  • chxl =2:|min|average|max|3:|Jan|Feb|Mar
  • chxp =2,10,35,95 - তিনটি লেবেলের জন্য আর -অক্ষ (সূচক = 2) বরাবর কাস্টম লেবেল অবস্থান।
  • chxs=2,0000dd,13,-1,t,FF0000 -আর-অক্ষের জন্য অক্ষের লেবেল শৈলী: পাঠ্য রঙ, পাঠ্যের আকার, বাম-প্রান্তিক, লাল টিক চিহ্ন সহ।
  • chxtc=1,10|2,-180 y- এবং r-axes এর জন্য অক্ষ টিক দৈর্ঘ্য। প্রথম মানটি অক্ষের বাইরে 10-পিক্সেল-দীর্ঘ টিক নির্দিষ্ট করে। দ্বিতীয় মানটি অক্ষের অভ্যন্তরে 180-পিক্সেল দীর্ঘ টিক নির্দিষ্ট করে; নেতিবাচক সংখ্যার অর্থ হ'ল টিকটি অক্ষের ভিতরে চলে যায় এবং টিকটি চার্টের ভিতরে ফিট করার জন্য ক্রপ করা হয়।

Line chart with 0 to 100 along the x-axis, Jan, Feb, Mar below, 0 to 4 on the y-axis, and long red tickmarks with blue text for min, average and max on the right.

chxt=x,y,r,x
chxl=
2:|min|average|max|
3:|Jan|Feb|Mar
chxp=2,10,35,95
chxs=
2,0000dd,13,-1,t,FF0000
chxtc=1,10|2,-180

এই চার্টটি বিকল্প টিক দৈর্ঘ্য প্রদর্শন করে। chxtc ওয়াই-অক্ষ (5 এবং 15) এর জন্য দুটি টিক দৈর্ঘ্যের মান নির্দিষ্ট করে এবং দুটি মানের মধ্যে চার্টে আঁকা টিকগুলি।
chxt=x,y
chxtc=
1,5,15

উপরে ফিরে যাও

পটভূমি chf পূরণ করে [ সমস্ত চার্ট ]

আপনি চার্ট ডেটা অঞ্চল এবং/অথবা পুরো চার্ট ব্যাকগ্রাউন্ডের জন্য ভরাট রঙ এবং শৈলী নির্দিষ্ট করতে পারেন। ভরাট প্রকারের মধ্যে শক্ত ভরাট, স্ট্রাইপযুক্ত ভরাট এবং গ্রেডিয়েন্ট অন্তর্ভুক্ত। আপনি বিভিন্ন অঞ্চলের জন্য বিভিন্ন ফিলগুলি নির্দিষ্ট করতে পারেন (উদাহরণস্বরূপ, পুরো চার্ট অঞ্চল বা কেবল ডেটা অঞ্চল)। চার্ট অঞ্চল পূরণ ব্যাকগ্রাউন্ড ফিলকে ওভাররাইট করে। সমস্ত ভরাট chf প্যারামিটার ব্যবহার করে নির্দিষ্ট করা হয় এবং আপনি পাইপ চরিত্রের (| |) সাথে মানগুলি পৃথক করে একই চার্টে বিভিন্ন ফিল ধরণের (সলিডস, স্ট্রাইপস, গ্রেডিয়েন্ট) মিশ্রিত করতে পারেন। চার্ট অঞ্চল ওভাররাইট চার্টের ব্যাকগ্রাউন্ড পূরণ করে।

সলিড chf পূরণ করে [ সমস্ত চার্ট ]

আপনি ব্যাকগ্রাউন্ড এবং/অথবা চার্ট অঞ্চলের জন্য একটি শক্ত ফিল নির্দিষ্ট করতে পারেন, বা পুরো চার্টে স্বচ্ছ মান নির্ধারণ করতে পারেন। আপনি পাইপ চরিত্র ( | ) ব্যবহার করে একাধিক ফিলগুলি নির্দিষ্ট করতে পারেন। (মানচিত্র: কেবল পটভূমি)।

বাক্য গঠন

chf=<fill_type>,s,<color>|...
< ফিল_ টাইপ >
চার্টের অংশটি পূরণ হচ্ছে। নিম্নলিখিত মানগুলির মধ্যে একটি নির্দিষ্ট করুন:
  • bg - ব্যাকগ্রাউন্ড ফিল
  • c - চার্ট অঞ্চল পূরণ। মানচিত্রের চার্টগুলির জন্য সমর্থিত নয়।
  • a - পুরো চার্টটি (ব্যাকগ্রাউন্ড সহ) স্বচ্ছ করুন। < color > এর প্রথম ছয়টি সংখ্যা উপেক্ষা করা হয় এবং কেবলমাত্র শেষ দুটি (স্বচ্ছতার মান) পুরো চার্টে এবং সমস্ত পূরণে প্রয়োগ করা হয়।
  • b <index> - বার সলিড ফিলস (কেবল বার চার্ট)। একটি শক্ত রঙের সাথে পূরণ করতে বারগুলির সিরিজ সূচক সহ <evinch> প্রতিস্থাপন করুন। প্রভাবটি একটি বার চার্টে chco নির্দিষ্ট করার মতো। উদাহরণের জন্য বার চার্ট সিরিজের রঙগুলি দেখুন।
s
একটি শক্ত বা স্বচ্ছতা পূরণ নির্দেশ করে।
< রঙ >
আরআরজিজিবিবি হেক্সাডেসিমাল ফর্ম্যাটে ভরাট রঙ। স্বচ্ছতার জন্য, প্রথম ছয়টি সংখ্যা উপেক্ষা করা হয়, তবে যাইহোক অবশ্যই অন্তর্ভুক্ত করা উচিত।

উদাহরণ

বর্ণনা উদাহরণ

এই উদাহরণটি ফ্যাকাশে ধূসর ( EFEFEF ) দিয়ে চার্টের পটভূমি পূরণ করে।

Red line chart with black area fill.

chf=bg,s,EFEFEF

এই উদাহরণটি ফ্যাকাশে ধূসর ( EFEFEF ) দিয়ে চার্টের পটভূমি পূরণ করে এবং চার্ট অঞ্চলটি কালো ( 000000 ) পূরণ করে।

Red line chart with black chart area and pale gray background.

chf=c,s,000000|
bg,s,EFEFEF

এই উদাহরণটি পুরো চার্টে 50% স্বচ্ছতা প্রয়োগ করে (হেক্সাডেসিমালে 80 128 বা প্রায় 50% স্বচ্ছতা)। চার্টের মাধ্যমে প্রদর্শিত টেবিল সেল ব্যাকগ্রাউন্ডটি লক্ষ্য করুন।

Scatter plot with points in blue, and a 50% transparency.

chf=a,s,00000080

উপরে ফিরে যাও

গ্রেডিয়েন্ট chf পূরণ করে [ লাইন, বার, গুগল-ও-মিটার, রাডার, স্ক্যাটার, ভেন ]

আপনি চার্ট অঞ্চল বা ব্যাকগ্রাউন্ডে এক বা একাধিক গ্রেডিয়েন্ট ফিলগুলি প্রয়োগ করতে পারেন। গ্রেডিয়েন্ট ফিলগুলি এক রঙ থেকে অন্য রঙে বিবর্ণ হয়। (পাই, গুগল-ও-মিটার চার্ট: কেবল পটভূমি))

প্রতিটি গ্রেডিয়েন্ট ফিল একটি কোণ নির্দিষ্ট করে এবং তারপরে দুটি বা আরও বেশি রঙ একটি নির্দিষ্ট স্থানে নোঙ্গর করা হয়। রঙটি পরিবর্তিত হয় যখন এটি একটি নোঙ্গর থেকে অন্য অ্যাঙ্কারে চলে যায়। আপনার অবশ্যই বিভিন্ন < রঙ_সেন্টারপয়েন্ট > মান সহ কমপক্ষে দুটি রঙ থাকতে হবে, যাতে একজন অন্যটিতে ম্লান হতে পারে। প্রতিটি অতিরিক্ত গ্রেডিয়েন্ট একটি < রঙ >, < রঙ_সেন্টারপয়েন্ট > জোড়া দ্বারা নির্দিষ্ট করা হয়।

বাক্য গঠন

chf=<fill_type>,lg,<angle>,<color_1>,<color_centerpoint_1>
    ,...,
  <color_n>,<color_centerpoint_n>
< ফিল_ টাইপ >
চার্ট অঞ্চল পূরণ করতে। নিম্নলিখিত এক:
  • bg - ব্যাকগ্রাউন্ড ফিল
  • c - চার্ট অঞ্চল পূরণ।
  • b <index> - বার গ্রেডিয়েন্ট ভরাট (কেবল বার চার্ট)। গ্রেডিয়েন্টটি পূরণ করতে বারগুলির সিরিজ সূচক সহ <eviex> প্রতিস্থাপন করুন। উদাহরণের জন্য বার চার্ট সিরিজের রঙগুলি দেখুন।
এলজি
একটি গ্রেডিয়েন্ট ফিল নির্দিষ্ট করে।
< অ্যাঙ্গেল >
একটি সংখ্যা 0 (অনুভূমিক) থেকে 90 (উল্লম্ব) থেকে গ্রেডিয়েন্টের কোণ নির্দিষ্ট করে।
< রঙ >
ফিলের রঙ, আরআরজিজিবিবি হেক্সাডেসিমাল ফর্ম্যাটে
< রঙ_সেন্টিরপয়েন্ট >
রঙের জন্য অ্যাঙ্কর পয়েন্ট নির্দিষ্ট করে। রঙটি এই বিন্দু থেকে ম্লান হতে শুরু করবে কারণ এটি অন্য অ্যাঙ্কর কাছে পৌঁছেছে। মান পরিসীমা 0.0 (নীচে বা বাম প্রান্ত) থেকে 1.0 (শীর্ষ বা ডান প্রান্ত) থেকে < কোণ > দ্বারা নির্দিষ্ট কোণে কাত করা।

উদাহরণ

বর্ণনা উদাহরণ

চার্ট অঞ্চলে একটি অনুভূমিক লিনিয়ার গ্রেডিয়েন্ট রয়েছে, যা শূন্য ডিগ্রি ( 0 ) এর কোণ সহ নির্দিষ্ট করা হয়েছে।

রঙগুলি হ'ল পীচ ( FFE7C6 ), বাম দিকের কেন্দ্রে (অবস্থান 0.0 ) এবং নীল ( 76A4FB ) ডানদিকে কেন্দ্র করে (অবস্থান 1.0 )।

চার্ট ব্যাকগ্রাউন্ডটি ধূসর ( EFEFEF ) এ আঁকা।

Dark gray line chart with pale gray background and chart area in a white to blue linear gradient from left to right

chf=
c,lg,0,
FFE7C6,0,
(পীচ)
76A4FB,1
(নীল)

চার্ট অঞ্চলে একটি তির্যক (নীচে বাম থেকে উপরে ডানদিকে) লিনিয়ার গ্রেডিয়েন্ট রয়েছে, পঁয়তাল্লিশ ডিগ্রি ( 45 ) কোণে নির্দিষ্ট করা হয়েছে।

পিচ ( FFE7C6 ) প্রথম রঙ নির্দিষ্ট করা হয়। চার্টের নীচের বামটি খাঁটি পীচ।

নীল ( 6A4FB ) নির্দিষ্ট দ্বিতীয় রঙ। চার্টের উপরের ডানদিকে খাঁটি নীল। উপরের ডান কোণার দিকে ম্লান হয়ে যাওয়া নীল রঙের একটি শিখর সরবরাহ করতে আমরা কীভাবে 0.75 এর অফসেট নির্দিষ্ট করি তা নোট করুন।

চার্ট ব্যাকগ্রাউন্ডটি ধূসর ( EFEFEF ) এ আঁকা।

Dark gray line chart with pale gray background and chart area in a white to blue diagonal linear gradient from bottom left to top right

chf=
c,lg,45,
FFE7C6,0,
(পীচ)
76A4FB,0.75
(নীল)

চার্ট অঞ্চলে একটি উল্লম্ব (শীর্ষ থেকে নীচে) লিনিয়ার গ্রেডিয়েন্ট রয়েছে, নব্বই ডিগ্রি ( 90 ) এর কোণ দিয়ে নির্দিষ্ট করা হয়েছে।

নীল ( 76A4FB ) প্রথম রঙ নির্দিষ্ট করা হয়। চার্টের শীর্ষটি খাঁটি নীল।

পিচ ( FFE7C6 ) নির্দিষ্ট দ্বিতীয় রঙ। চার্টের নীচের অংশটি খাঁটি পীচ।

চার্ট ব্যাকগ্রাউন্ডটি ধূসর ( EFEFEF ) এ আঁকা।

Dark gray line chart with pale gray background and chart area in a white to blue vertical linear gradient from bottom to top

chf=
c,lg,90,
FFE7C6,0,
(পীচ)
76A4FB,0.5
(নীল)

উপরে ফিরে যাও

স্ট্রিপড chf [ লাইন, বার, গুগল-ও-মিটার, রাডার, স্ক্যাটার, ভেন ] পূরণ করে

আপনি আপনার চার্ট অঞ্চল বা পুরো চার্টের জন্য একটি স্ট্রাইপযুক্ত ব্যাকগ্রাউন্ড ফিল নির্দিষ্ট করতে পারেন। (পাই, গুগল-ও-মিটার চার্ট: কেবল পটভূমি))

বাক্য গঠন

chf=
  <fill_type>,ls,<angle>,<color_1>,<width_1>
    ,...,
  <color_n>,<width_n>
< ফিল_ টাইপ >
চার্ট অঞ্চল পূরণ করতে। নিম্নলিখিত এক:
  • bg - ব্যাকগ্রাউন্ড ফিল
  • c - চার্ট অঞ্চল পূরণ
  • b <index> - বার স্ট্রাইপড ফিলস (কেবল বার চার্ট)। স্ট্রাইপগুলি পূরণ করতে বারগুলির সিরিজ সূচক সহ <eviext> প্রতিস্থাপন করুন। উদাহরণের জন্য বার চার্ট সিরিজের রঙগুলি দেখুন।
ls
লিনিয়ার স্ট্রাইপ ফিল নির্দিষ্ট করে।
< অ্যাঙ্গেল >
ওয়াই-অক্ষের সাথে সম্পর্কিত সমস্ত স্ট্রাইপের কোণ। উল্লম্ব স্ট্রাইপগুলির জন্য 0 বা অনুভূমিক স্ট্রাইপগুলির জন্য 90 ব্যবহার করুন।
< রঙ >
এই স্ট্রাইপের জন্য রঙ, আরআরজিজিবিবি হেক্সাডেসিমাল ফর্ম্যাটে । প্রতিটি অতিরিক্ত স্ট্রাইপের জন্য < রঙ > এবং < প্রস্থ > পুনরাবৃত্তি করুন। আপনার অবশ্যই কমপক্ষে দুটি স্ট্রাইপ থাকতে হবে। চার্টটি পূরণ না হওয়া পর্যন্ত স্ট্রাইপগুলি বিকল্প।
< প্রস্থ >
এই স্ট্রাইপের প্রস্থ, 0 থেকে 1 পর্যন্ত, যেখানে 1 টি চার্টের সম্পূর্ণ প্রস্থ। চার্টটি পূরণ না হওয়া পর্যন্ত স্ট্রাইপগুলি পুনরাবৃত্তি করা হয়। প্রতিটি অতিরিক্ত স্ট্রাইপের জন্য < রঙ > এবং < প্রস্থ > পুনরাবৃত্তি করুন। আপনার অবশ্যই কমপক্ষে দুটি স্ট্রাইপ থাকতে হবে। চার্টটি পূরণ না হওয়া পর্যন্ত স্ট্রাইপগুলি বিকল্প।

উদাহরণ

বর্ণনা উদাহরণ
  • bg,ls,0 -ব্যাকগ্রাউন্ড স্ট্রাইপটি ওয়াই-অক্ষের শূন্য ডিগ্রি কোণে স্ট্রাইপগুলি দিয়ে পূরণ করুন (ওয়াই-অক্ষের সমান্তরাল)। স্ট্রাইপগুলি চার্টের পটভূমি পাশাপাশি প্লট অঞ্চলটি পূরণ করে।
  • CCCCCC,0.15 - প্রথম স্ট্রাইপটি গা dark ় ধূসর, চার্টের মতো 15% প্রশস্ত।
  • FFFFFF,0.1 - দ্বিতীয় স্ট্রাইপটি সাদা, চার্টের মতো 10% প্রশস্ত।
Blue line chart with alternating gray and white stripes from left to right
chf=
bg,ls,0,
CCCCCC,0.15,
FFFFFF,0.1
  • c,ls,90 - ওয়াই -অক্ষ থেকে নব্বই ডিগ্রি কোণে অনুভূমিক স্ট্রাইপগুলির সাথে চার্ট অঞ্চল। স্ট্রাইপগুলি প্লট অঞ্চলটি পূরণ করে তবে চার্টের পটভূমি বাদ দেওয়া হয়।
  • 999999,0.25 - প্রথম স্ট্রাইপটি গা dark ় ধূসর, চার্টের মতো 25% প্রশস্ত।
  • CCCCCC,0.25 - প্রথম স্ট্রাইপ হিসাবে একই, তবে একটি হালকা ধূসর।
  • FFFFFF,0.25 - প্রথম স্ট্রাইপ হিসাবে একই, তবে সাদা।
Blue line chart with a dark gray, pale gray, white and dark gray stripes from bottom to top
chf=
c,ls,90,
999999,0.25,
CCCCCC,0.25,
FFFFFF,0.25

উপরে ফিরে যাও

লাইন chm পূরণ করে [ লাইন, রাডার ]

আপনি একটি শক্ত রঙের সাথে ডেটা লাইনের নীচের অঞ্চলটি পূরণ করতে পারেন।

আপনি chm প্যারামিটারগুলি পৃথক করতে পাইপ চরিত্র ( | ) ব্যবহার করে অন্য কোনও chm পরামিতিগুলির সাথে লাইন ভরাট একত্রিত করতে পারেন।

বাক্য গঠন

chm=
  <b_or_B>,<color>,<start_line_index>,<end_line_index>,<0>
    |...|
  <b_or_B>,<color>,<start_line_index>,<end_line_index>,<0>
<b_or_b>
চার্টের নীচে পূরণ করা বা কেবল পরবর্তী নীচের লাইনে।
  • বি - < start_line_index > থেকে চার্টের নীচে পূরণ করুন। < end_line_index > আপনাকে চার্টের একটি বিভাগ পূরণ করতে একটি বিশেষ সিনট্যাক্স সমর্থন করে। আপনি যদি পূরণ করতে চান এমন একক লাইন সহ একটি চার্ট থাকে তবে এটি সবচেয়ে সহজ।
  • বি - একটি মাল্টি -লাইন চার্টে দুটি লাইনের মধ্যে পূরণ করুন। শুরু এবং শেষের লাইনগুলি < start_line_index > এবং < end_line_index > দ্বারা নির্দেশিত হয়।
< রঙ >
ফিল রঙের একটি আরআরজিজিবিবি ফর্ম্যাট হেক্সাডেসিমাল সংখ্যা
<start_line_index>
পূরণের শুরু হওয়া রেখার সূচক। chd -তে উল্লিখিত প্রথম ডেটা সিরিজের জিরো ( 0 ) এর একটি সূচক রয়েছে, দ্বিতীয় ডেটা সিরিজের একটি সূচক 1 রয়েছে এবং আরও অনেক কিছু।
<end_line_index>
  • 'বি' টাইপ করুন - ফিলটি বন্ধ করতে যে লাইনটি। এই লাইনটি অবশ্যই বর্তমান লাইনের নীচে থাকতে হবে।
  • টাইপ 'বি' পূরণ করুন - নিম্নলিখিত পছন্দগুলির মধ্যে একটি:
    • যে কোনও মান - এই প্যারামিটারের যে কোনও একক সংখ্যা উপেক্ষা করা হয়, এবং ফিলটি নির্দিষ্ট লাইন থেকে চার্টের গোড়ায় যাবে
    • শুরু করুন: শেষ - চার্টের নীচে একটি উল্লম্ব টুকরো পূরণ করতে, শুরু করুন: শেষ করুন , যেখানে এগুলি ডেটা পয়েন্ট সূচকগুলি কোথায় শুরু করবে এবং ভরাট বন্ধ করতে হবে তা বর্ণনা করে। উভয় মান al চ্ছিক এবং প্রথম_পয়েন্টে ডিফল্ট: শেষ_পয়েন্ট । (নীচের উদাহরণ দেখুন।)
<0>
সংরক্ষিত - অবশ্যই শূন্য হতে হবে।

উদাহরণ

বর্ণনা উদাহরণ

একটি একক সিরিজের জন্য, chm=B ব্যবহার করা সহজ। এটি লাইনের নীচে পুরো অঞ্চলটি পূরণ করে।

এটি রাডার চার্টের জন্য উপলব্ধ একমাত্র ফিল এরিয়া টাইপ। chm=b রাডার চার্ট দিয়ে কাজ করে না।


chm=B,76A4FB,0,0,0

এখানে দুটি লাইন এবং দুটি ফিল সহ একটি চার্ট রয়েছে। নীচের লাইনের নীচে এবং উপরের লাইনের উপরে অঞ্চলটি পূরণ করার জন্য পরবর্তী আচ্ছাদিত একটি বিশেষ কৌশল প্রয়োজন।


chd=s:
cefhjkqwrlgYcfgc,
QSSVXXdkfZUMRTUQ,
HJJMOOUbVPKDHKLH,

chm=
b,224499,0,1,0| (নীল)
b,FF0000,1,2,0| (লাল)

চার্টের শীর্ষ থেকে প্রথম লাইনে পূরণ করার জন্য একটি মাল্টি-লাইন চার্টে, একটি সিরিজ অন্তর্ভুক্ত করুন যাতে ডেটা ফর্ম্যাটের জন্য সর্বোচ্চ ডেটা মানের দুটি অনুলিপি থাকে। সুতরাং, উদাহরণস্বরূপ, " .... " এক্সটেন্ডেড এনকোডিংয়ের জন্য, " 100,100 " বেসিক পাঠ্য ফর্ম্যাটের জন্য এবং আরও অনেক কিছু। এই সিরিজ থেকে শীর্ষতম লাইনে পূরণ করুন।

চার্টের নীচে শেষ লাইন থেকে পূরণ করতে, একটি সিরিজ অন্তর্ভুক্ত করুন যাতে ডেটা ফর্ম্যাটের জন্য সর্বনিম্ন ডেটা মানের দুটি অনুলিপি রয়েছে। সুতরাং, উদাহরণস্বরূপ, বর্ধিত এনকোডিংয়ের জন্য এএএএ, বেসিক পাঠ্য বিন্যাসের জন্য 0,0 এবং আরও অনেক কিছু।

লাইনগুলি নিজেরাই কালো রঙে আঁকা, chco ব্যবহার করে।

Three lines on a chart; chart is shaded in green from bottom to first line, red from first to second line, dark blue from second to third line and pale blue from third line to top of the chart
chd=e:
....,
(সর্বোচ্চ মান)
cefhjkqwrlgYcfgc,
QSSVXXdkfZUMRTUQ,
HJJMOOUbVPKDHKLH,
AAAA
​​(শূন্য মান)
chm=
b,76A4FB,0,1,0|
(হালকা নীল)
b,224499,1,2,0| (নীল)
b,FF0000,2,3,0| (লাল)
b,80C65A,3,4,0 (সবুজ)
chco=000000

উল্লম্ব ভরাট স্লাইস সহ একটি লাইন চার্ট এখানে। এটি একটি সূচনা নির্দিষ্ট করে সম্পন্ন হয়েছে: লাইন ফিল টাইপ 'বি' সহ <end_line_index> এর জন্য শেষ জুড়ি।

  • B,76A4FB,0,0:3,0 - নীল উল্লম্ব ভরাট লাইন 0 এর অধীনে, ডেটা পয়েন্ট 0-3 দ্বারা আবদ্ধ।
  • B,990000,0,7:10,0 - লাইনের 0 এর অধীনে লাল উল্লম্ব ফিল, ডেটা পয়েন্ট 7-10 দ্বারা আবদ্ধ।
  • B,DEDC06,0,12:,0 - সিরিজের শেষের দিকে ডেটা পয়েন্ট 12 থেকে লাইন 0 এর অধীনে হলুদ উল্লম্ব ফিল।

chm=
B,76A4FB,0,0:3,0|
B,990000,0,7:10,0|
B,DEDC06,0,12:,0

এই উদাহরণটি একটি রাডার চার্টে একটি লাইন ফিল ব্যবহার করে দেখায়।

Radar chart
chm=
B,FF000080,0,1.0,5.0|
B,FF990080,1,1.0,5.0

উপরে ফিরে যাও

গ্রিড লাইন chg [ লাইন, বার, রাডার, স্ক্যাটার ]

আপনি chg প্যারামিটারটি ব্যবহার করে আপনার চার্টে সলিড বা ডটেড গ্রিড লাইনগুলি নির্দিষ্ট করতে পারেন।

এই প্যারামিটারটি আপনাকে লাইনের বেধ বা রঙ নির্দিষ্ট করতে দেয় না। আপনার চার্ট জুড়ে লাইন তৈরি করার আরও উপায়গুলির জন্য, শেপ মার্কার ( chm টাইপ এইচ, এইচ, ভি, বা ভি), রেঞ্জ মার্কার ( chm ) এবং অক্ষ টিক চিহ্ন ( chxtc ) দেখুন।

বাক্য গঠন

chg=
  <x_axis_step_size>,<y_axis_step_size>,<opt_dash_length>,<opt_space_length>,<opt_x_offset>,<opt_y_offset>
<x_axis_step_size> , <y_axis_step_size>
চার্টে দেখানোর জন্য কত এক্স বা ওয়াই গ্রিড লাইন গণনা করতে ব্যবহৃত হয়। 100 / ধাপে_সাইজ = চার্টে কত গ্রিড লাইন। সুতরাং: 20,25 এর অর্থ 5 টি উল্লম্ব গ্রিড লাইন এবং 4 টি অনুভূমিক গ্রিড লাইন।
<opt_dash_length> , <opt_space_length>
[ Al চ্ছিক ] ড্যাশড গ্রিড লাইনগুলি সংজ্ঞায়িত করতে ব্যবহৃত হয়। প্রথম প্যারামিটারটি পিক্সেলগুলিতে প্রতিটি লাইন ড্যাশের দৈর্ঘ্য। দ্বিতীয় প্যারামিটারটি হ'ল পিক্সেলগুলিতে ড্যাশগুলির মধ্যে ব্যবধান। একটি শক্ত লাইনের জন্য <opt_space_length> এর জন্য 0 নির্দিষ্ট করুন। ডিফল্ট মান 4,1।
<opt_x_offset> , <opt_y_offset>
[ Al চ্ছিক ] চার্ট স্কেল অনুসারে ইউনিটগুলির সংখ্যা যথাক্রমে এক্স এবং ওয়াই গ্রিড লাইনগুলি অফসেট করতে। ইতিবাচক বা নেতিবাচক মান হতে পারে। আপনি যদি এই মানটি নির্দিষ্ট করেন তবে আপনাকে অবশ্যই পূর্ববর্তী সমস্ত মানও নির্দিষ্ট করতে হবে। ডিফল্ট মান 0,0।

উদাহরণ

বর্ণনা উদাহরণ

এই উদাহরণগুলি কেবল < x_axis_step_size > এবং < y_axis_step_size > পরামিতি ব্যবহার করে। চার্ট এপিআই ডিফল্টরূপে একটি ড্যাশড গ্রিড লাইন প্রদর্শন করে।

Line chart with 5 vertical and two horizontal pale gray dashed grid lines
chg=20,50
Line chart with 5 vertical and two horizontal pale gray dashed grid lines
chg=20,50

এই উদাহরণটি হালকা গ্রিড লাইনগুলি ( 1,5 ) প্রদর্শন করতে বৃহত্তর স্পেস ব্যবহার করে।

Line chart with 5 vertical and two horizontal faint, pale gray, dashed grid lines
chg=20,50,1,5

শক্ত গ্রিড লাইনগুলি প্রদর্শন করতে, < opt_space_length > প্যারামিটারের জন্য শূন্য ( 0 ) নির্দিষ্ট করুন।

এই চার্টটি 10 ​​এর একটি এক্স-অক্ষ অফসেটও নির্দিষ্ট করে।

Line chart with 5 vertical and two horizontal pale gray, solid grid lines
chg=20,50,1,0,10

এই চার্টটি 10 ​​টির একটি এক্স-অক্ষ অফসেট এবং 20 এর এওয়াই অক্ষ অফসেট প্রদর্শন করে।

Line chart with 5 vertical and two horizontal pale gray, solid grid lines
chg=20,50,3,3,10,20

উপরে ফিরে যাও

গতিশীল আইকন চিহ্নিতকারী chem [ বার, লাইন, রাডার, স্ক্যাটার ]

আপনার চার্ট তৈরি করুন এবং কেম মান হিসাবে এক বা একাধিক গতিশীল আইকন নির্দিষ্ট করুন। chem সিনট্যাক্সটি নিম্নরূপ। বেগুনি রঙের সমস্ত সেমিকোলন-ধ্বংসাত্মক আইটেমগুলি al চ্ছিক এবং যে কোনও একটি আপনার ইউআরএলে পুরোপুরি বাদ দেওয়া যেতে পারে। আপনি একাধিক সিনট্যাক্স স্ট্রিংগুলি একটি | চরিত্র আপনি গতিশীল আইকন পৃষ্ঠায় গতিশীল আইকনগুলি সম্পর্কে আরও পড়তে পারেন।

আপনি গতিশীল আইকন হিসাবে অন্য চার্টের ভিতরে একটি চার্ট এম্বেড করতে পারেন। নীচে এম্বেড থাকা চার্ট সাবসেকশন দেখুন।

chem=
  y;s=<icon_string_constant>;d=<marker_data_string>;ds=<which_series>;dp=<which_points>;py=<opt_z_order>;po=<x,y>;of=<x_offset,y_offset>
|...| y;s=<icon_string_constant>;d=<marker_data_string>;ds=<which_series>;dp=<which_points>;py=<opt_z_order>;po=<x,y>;of=<x_offset,y_offset>
এস = < আইকন_স্ট্রিং_কনস্ট্যান্ট >
গতিশীল আইকন পৃষ্ঠা থেকে গতিশীল আইকনের জন্য একটি স্ট্রিং মার্কার ধ্রুবক। এই ধ্রুবকটি ফ্রিস্ট্যান্ডিং আইকনগুলির জন্য chst প্যারামিটারের মতো প্রায় একই। তবে যেখানে ফ্রিস্ট্যান্ডিং আইকন স্ট্রিংটি "ডি_" দিয়ে শুরু হয় সেখানে আপনার সমতুল্য গতিশীল আইকন চিহ্নিতকারী পেতে সেই উপসর্গটি সরিয়ে ফেলা উচিত। উদাহরণ: ফ্রিস্ট্যান্ডিং আইকন: d_bubble_icon_text_small ; সমতুল্য গতিশীল আইকন চিহ্নিতকারী: bubble_icon_text_small
d = < মার্কার_ডাটা_স্ট্রিং >
এই নির্দিষ্ট চিহ্নিতকারী প্রকারের জন্য প্রয়োজনীয় ডেটা। এটি একই স্ট্রিং ধারণ করে যা একটি সমতুল্য ফ্রিস্ট্যান্ডিং আইকনটির জন্য chld প্যারামিটারে ব্যবহৃত হবে, সমস্ত কিছু বাদে | ডিলিমিটারগুলি কমা দ্বারা প্রতিস্থাপন করা উচিত (মাল্টিলাইন পাঠ্যের জন্য পাইপ চিহ্নিতকারীদের পরিবর্তে কমা ব্যবহার করতে ভুলবেন না!)। নোট করুন যে ডেটা স্ট্রিংয়ের মধ্যে আপনাকে অবশ্যই একটি @ চিহ্ন: পাইপ (|), এ ( @), সমান (=), কমা (,), সেমিকোলন (;) সহ নিম্নলিখিত অক্ষরগুলিও এড়াতে হবে। উদাহরণ: hello@,+world , 5@@10+cents+each
ডিএস = < যা_সিরিজ >
[ Al চ্ছিক ] এই চিহ্নিতকারীটির সাথে সম্পর্কিত ডেটা সিরিজের শূন্য-ভিত্তিক সূচক। ডিফল্ট মান 0।
ডিপি = < যা_পয়েন্টস >
[ Al চ্ছিক ] চিহ্নিতকারীগুলি অঙ্কন করতে কোন ডেটা পয়েন্টগুলি ব্যবহৃত হয় তা নির্দিষ্ট করে। ডিফল্ট মান 0 (সিরিজের প্রথম পয়েন্ট) । নিম্নলিখিত ফর্ম্যাটগুলির একটি ব্যবহার করুন:
  • nd - চিহ্নিতকারীটি আঁকতে কোন ডেটা পয়েন্ট, যেখানে এনডি সিরিজের শূন্য -ভিত্তিক সূচক। আপনি যদি কোনও নন-ইনজিগার মান নির্দিষ্ট করেন তবে ভগ্নাংশটি একটি গণনা করা মধ্যবর্তী পয়েন্ট নির্দেশ করে। উদাহরণস্বরূপ, 3.5 এর অর্থ পয়েন্ট 3 এবং পয়েন্ট 4 এর মধ্যে অর্ধেক।
  • range,< start >,< end >,< step > - শুরু থেকে শেষ পর্যন্ত প্রতিটি ধাপের ডেটা পয়েন্টে একটি চিহ্নিতকারী আঁকুন। শুরু এবং শেষ সূচক মানগুলি এবং মধ্যবর্তী মানগুলি নির্দেশ করতে ভাসমান পয়েন্ট নম্বর হতে পারে। সমস্ত মান al চ্ছিক; ডিফল্টগুলি হ'ল: শুরু = 0, শেষ = শেষ আইটেম, পদক্ষেপ = 1। আপনি যদি কোনও মান এড়িয়ে যান তবে আপনাকে অবশ্যই কোনও মধ্যবর্তী কমা অন্তর্ভুক্ত করতে হবে, তবে আপনাকে খালি ট্রেলিং কমা অন্তর্ভুক্ত করতে হবে না। উদাহরণ: dp=range,0,4 0 থেকে 4 এর মধ্যে উপাদানগুলিতে একটি চিহ্নিতকারী আঁকেন; dp=range,5,10,2 5, 7 এবং 9 উপাদানগুলির উপর একটি চিহ্নিতকারী আঁকেন; dp=range,2 তৃতীয় পয়েন্টে এবং পরে পয়েন্টগুলি আঁকায়; dp=range,3,,1.5 চতুর্থ আইটেম থেকে শেষ পর্যন্ত প্রতি 1.5 ডেটা পয়েন্টগুলিতে চিহ্নিতকারীগুলি আঁকায়।
  • all - প্রতিটি উপাদান একটি চিহ্নিতকারী আঁকুন। এটি range,0, end_index এর সমতুল্য। উদাহরণ: dp=all
  • every,n - প্রতিটি এন থ্রি মার্টারে একটি মার্কার আঁকুন। উদাহরণ: dp=every,2 0, 2 এবং 4 আইটেমগুলিতে একটি চিহ্নিতকারী আঁকেন।
পিওয়াই = <z_order>
[ Al চ্ছিক ] অন্যান্য চিহ্নিতকারী এবং অন্যান্য সমস্ত চার্ট উপাদানগুলির তুলনায় চিহ্নিতকারীকে আঁকতে যে স্তরটি। এটি -1.0 থেকে 1.0 থেকে একটি ভাসমান পয়েন্ট নম্বর, অন্তর্ভুক্ত, যেখানে -1.0 নীচে এবং 1.0 শীর্ষে। চার্ট উপাদান (লাইন এবং বার) শূন্যের ঠিক নীচে। যদি দুটি চিহ্নিতকারীদের একই মান থাকে তবে সেগুলি ইউআরএল দ্বারা প্রদত্ত ক্রমে আঁকা। ডিফল্ট মান 0.0 (চার্ট উপাদানগুলির ঠিক উপরে)।
পো = < x, y >
[ Al চ্ছিক ] চিহ্নিতকারীকে আঁকতে চার্টে একটি পরম অবস্থান। এক্স এবং ওয়াই দুটি ভাসমান পয়েন্ট সংখ্যা, যেখানে 0.0,0.0 নীচের বাম কোণে এবং 1.0,1.0 উপরের ডান কোণ।
এর = < x_offset, y_offset >
[ Al চ্ছিক ] আইকনটিকে তার স্বাভাবিক অবস্থান থেকে অফসেট করতে বেশ কয়েকটি পিক্সেল। এক্স_অফসেট এবং ওয়াই_অফসেট ইতিবাচক বা নেতিবাচক পূর্ণসংখ্যা। এম্বেড থাকা গতিশীল আইকনে এই মানটি নির্দিষ্ট করা গুরুত্বপূর্ণ, কারণ চিহ্নিতকারীটি বিন্দু থেকে উল্লম্ব এবং অনুভূমিকভাবে কেন্দ্রিক হবে, যার অর্থ পয়েন্টটি সম্ভবত ডেটা চিহ্নিতকারীটির সাথে সামঞ্জস্য হবে না। খাড়া পিনের জন্য একটি ভাল অফসেট of=0,22 ; স্লান্টেড পিনের জন্য একটি ভাল অফসেট হ'ল স্ল্যান্টের দিকের উপর নির্ভর করে of=-12,20 বা of=12,20 হয় তবে আপনাকে পরীক্ষা করতে হতে পারে। ডিফল্ট মান 0,0।

উদাহরণ

বর্ণনা উদাহরণ
এখানে একটি ফ্রি-স্ট্যান্ডিং চিত্র হিসাবে তৈরি একই গতিশীল আইকনের উদাহরণ রয়েছে এবং এটি একটি লাইন চার্টে চিহ্নিতকারী হিসাবে ব্যবহৃত হয়।

চার্ট 1: https://chart.googleapis.com/chart?chs=300x140&cht=lc&chco=FF9900,224499&
chd=t:75,74,66,30,10,5,3,1&chls=1|1&
chem=y;s=bubble_icon_text_small;d=ski,bb,Wheeee!,FFFFFF;dp=2;ds=0&chm=v,ccccFF,0,::.2,2

চার্ট 2: https://chart.googleapis.com/chart?chst=d_bubble_icon_text_small&chld=ski|bb|Wheeee!|FFFFFF|000000 ?

Line chart with dynamic icon marker.
chem=
y;s=bubble_icon_text_small;d=ski,bb,Wheeee!,FFFFFF;dp=2;ds=0


Same dynamic icon marker as standalone image.


chst=
d_bubble_icon_text_small
chld=
ski|bb|Wheeee!|FFFFFF|000000

Note that a dynamic icon marker will be centered on the point horizontally and vertically. So if you use a dynamic icon with a tail, the tail won't be on the chart point; the marker center will be. The first chart centers the mark on data point 3, which actually puts the tail a bit to the right of the mark on the line.

The second chart uses the of value to move the tail of the marker on top of the desired data point. A good offset for a slanted pin is -12,20.


chem=y;
s=map_xpin_letter;
d=pin_sleft,A,FF0000;
dp=3;
ds=1



chem=y;
s=map_xpin_letter;
d=pin_sleft,A,FF0000;
dp=3;
ds=1;
of=-12,0

To include multiple dynamic icons, repeat the syntax string, delimited by a | চরিত্র

This example shows a range, as well as two individual markers.

Note how the vertical pins are offset by of 0,22, and the slanted pin has an offset of 12,20 to make the pin points line up with the series that they describe.


chem=
y;s=map_xpin_letter;d=pin_sright,A,FF0000;dp=4;ds=0;py=1;of=12,20|
y;s=map_pin_icon;d=baby,FF5555;ds=1;dp=6;of=0,22|
y;s=map_pin_icon;d=camping,DEF763;ds=2;dp=range,2,5
This demonstrates a multiline text marker. The marker must be offset after adding the text, because the bubble resizes to fit the text, causing it to be re-centered on the chart. Note how newlines in the text are indicated by commas in the d data string.
chem=y;
s=bubble_texts_big;
d=bbbr,FFC6A5,000000,Outlier,Forgot+to+feed;
ds=0;
dp=13;
of=-120,2

Embedded Charts

You can embed one chart inside another using the dynamic icon syntax.

There are two styles of embedded chart markers: embedded charts in a bubble, and embedded charts with no bubble. এখানে উভয়ের উদাহরণ রয়েছে:

Bubble-less chart
Chart with bubble
Chart without bubble

Here are the specifics of the s=< icon_string_constant >;d=< marker_data_string > parameters, both for non-bubble and bubble-embedded charts (parameters covered above aren't described again here):

বাক্য গঠন

Non-bubble:
  chem=y;s=ec;d=<alignment_string>,<chart_data>;ds=<which_series>;dp=<which_points>;py=<z_order>;po=<x,y>;of=<x_offset,y_offset>

Bubble:
  chem=y;s=ecb;d=<frame_type>,<padding>,<frame_color>,<fill_color>,<chart_data>;ds=<which_series>;dp=<which_points>;py=<z_order>;po=<x,y>;of=<x_offset,y_offset>
alignment_string
[ Non-bubble only ] Which part of the bubble-less embedded chart is pinned to the data point. Choose one of the two-letter string constants in the following diagram: Alignment strings
চার্ট_ডেটা
The data for the embedded chart. This is everything after https://chart.googleapis.com/chart? in the URL of the chart to embed. Use the tool below, or follow the rules listed below the tool.
frame_type
[ Bubble only ] One of the dynamic icon frame style constants .
প্যাডিং
[ Bubble only ] Padding inside the bubble, in pixels.
ফ্রেমের রঙ
[ Bubble only ] Color of the frame, as a six-digit HTML color string without the # mark. Example: FF00FF .
fill_color
[ Bubble only ] Bubble fill color, as a six-digit HTML color string without the # mark. Example: FF00FF .

Embedded chart data

Use the following conversion tool to help generate your chart string, or else generate the chart string manually following the rules given after the tool.

Rules for manual conversion

1. First replace all the following characters in the parameter and value pairs with the following values, in the order shown:

প্রতিস্থাপন করুন এর সাথে
%7C or %7c
|
@
@@
%
%25
,
@,
|
@|
;
@;
এবং
%26
=
%3D

2. Then replace all the & and = values in the parameter1=value1&parameter2=value2... pairs with commas.

উপরে ফিরে যাও

Shape Markers chm [ Bar, Line, Radar, Scatter ]

You can specify graphical markers for all or individual data points on a chart. If two or more markers occupy the same point, the markers are drawn in the order in which they appear in the chm parameter. You can also create text markers on data points, which is covered in Data Point Markers .

You can combine shape markers with any other chm parameters using a pipe character ( | ) to separate the chm parameters.

বাক্য গঠন

Specify one set of the following parameters for each series that should be marked. To mark multiple series, create additional parameter sets, delimited by a pipe character. You do not need to mark up all series. If you do not assign markers to a data series, it will not get any markers.

Shape markers behave slightly differently in scatter charts . See that documentation for more information.

chm=
  [@]<marker_type>,<color>,<series_index>,<opt_which_points>,<size>,<opt_z_order>,<opt_offset>
    |...|
  [@]<marker_type>,<color>,<series_index>,<opt_which_points>,<size>,<opt_z_order>,<opt_offset>
@
[ Optional ] If you precede the marker type with the optional @ character, then < opt_which_points > should use the x:y format.
<marker_type>
The type of marker to use. Specify one of the following types:
  • a - Arrow
  • c - Cross
  • C - Rectangle. If a rectangle marker, you must have at least two data series, where series 0 specifies the bottom edge and series 1 specifies the top edge. < size > specifies the width of the rectangle, in pixels.
  • d - Diamond
  • E - Error-bar marker ( ) This marker requires two data series to create, one value for the bottom, and the corresponding point in the second series for the top. It also exposes an extended < size > syntax: line_thickness [: top_and_bottom_width ] where top_and_bottom_width is optional. See the examples below.
  • h - Horizontal line across the chart at a specified height. ( The only valid format for < opt_which_points > parameter is nd . )
  • H - Horizontal line through the specified data marker. This supports an extended < size > syntax that lets you specify an exact line length: line_thickness [: length ] where : length is optional, and defaults to the full chart area width.
  • o - Circle
  • s - Square
  • v - Vertical line from the x-axis to the data point
  • V - Vertical line of adjustable length. This supports an extended < size > value syntax that lets you specify an exact line length: line_thickness [: length ] where : length is optional, and defaults to the full chart area height. The marker is centered on the data point.
  • x - An X
< color >
The color of the markers for this series, in RRGGBB hexadecimal format .
< series_index >
The zero-based index of the data series on which to draw the markers. Ignored for h markers and markers that specify location by x/y position (start with the @ character). You can use hidden data series as a source for markers; see Compound Charts for more information. Grouped vertical bar charts support a special extended syntax to align markers with specific bars.
< opt_which_points >
[ Optional ] Which point(s) to draw markers on. Default is all markers. Use one of the following values:
  • nd - Where to draw the marker. The meaning depends on the marker type:
    • All types except h - Which data point to draw the marker on, where nd is the zero-based index in the series. If you specify a non-integer value, then the fraction indicates a calculated intermediate point. For example, 3.5 means halfway between point 3 and point 4.
    • h - A number from 0.0 to 1.0, where 0.0 is the bottom of the chart, and 1.0 is the top of the chart.
  • -1 - Draw a marker on all data points. You can also leave this parameter empty to draw on all data points.
  • - n - Draw a marker on every n -th data point. Floating point value; if n is less than 1 the chart will calculate additional intermediary points for you. For example, -0.5 will put twice as many markers as data points.
  • start:end:n - Draw a marker on every n -th data point in a range, from start to end index values, inclusive. All parameters are optional (may be absent), so 3::1 would be from the fourth element to the last, step 1, and omitting this parameter entirely would default to first : last :1. All values can be floating point numbers. start and end can be negative, to count backward from the last value. If both start and end are negative, be sure that they are listed in increasing value (for example, -6:-1:1). If the n step value is less than 1, it will calculate additional data points by interpolating the data values given. Default values are first:last:1
  • x : y - Draw a marker at a specific x/y point on the chart. This point does not have to be on a line. Add the @ character before the marker type to use this option. Specify the coordinates as floating point values, where 0:0 is the bottom left corner of the chart and 1:1 is the top right corner of the chart. For example, to add a red, 15-pixel diamond to the center of a chart, use @d,FF0000,0,0.5:0.5,15 .
< আকার >
The size of the marker, in pixels. Most take a single number value for this parameter; the V, H, and S markers support the syntax < size >[: width ] where the optional second part specifies the line or marker length.
< opt_z_order >
[ Optional ] The layer on which to draw the marker, compared to other markers and all other chart elements. This is a floating point number from -1.0 to 1.0, inclusive, where -1.0 is the bottom and 1.0 is the top. Chart elements (lines and bars) are just lower than zero. If two markers have the same value, they are drawn in the order given by the URL. Default value is 0.0 (just above the chart elements).
< opt_offset >
[ Optional ] Let you specify horizontal and vertical offsets from the specified location. Here is the syntax, which uses a : delimiter: reserved :< horizontal_offset >:< vertical_offset > . If specified, you can include an empty ,, value in the chm parameter string for < opt_z_order >. Examples: o,FF9900,0,4,12,, :10 o,FF9900,0,4,12.0,, :-10:20 o,FF9900,0,4,12,1, ::20
  • reserved - Leave blank.
  • < horizontal_offset > - A positive or negative number specifying the horizontal offset, in pixels. ঐচ্ছিক; leave blank if not used.
  • < vertical_offset > - A positive or negative number specifying the vertical offset, in pixels. ঐচ্ছিক; leave blank if not used.

উদাহরণ

বর্ণনা উদাহরণ

Here's an example of several of the shape and line markers.

  • a,990066,0,0.0,9.0 - Purple arrow, first series, first point, size 9.
  • c,FF0000,0,1.0,20.0 - Red cross, first series, second point, size 9.
  • d,80C65A,0,2,20.0 - Green diamond, first series, third point, size 9.
  • H,000000,0,3,1:40 - Black horizontal line, first series, data point 3, one pixel wide, forty pixels long.
  • o,FF9900,0,4.0,12.0 - Orange circle, first series, fifth point, size 12.
  • s,3399CC,0,5.0,11.0 - Blue square, first series, sixth point, size 11.
  • v,BBCCED,0,6.0,1.0 - Vertical line up to point, first series, seventh point, one pixel wide.
  • V,3399CC,0,7.0,1.0 - Vertical line bottom to top of chart, first series, eighth point, one pixel wide.
  • x,FFCC33,0,8.0,20.0 - Yellow 'X', first series, ninth point, size 20.
  • H,FFFF00,0,9,2 - Horizontal yellow line the width of the chart at data point 9.
  • h,FF0000,0,0.5,1 - Red horizontal line at designated height, first series, halfway up the chart, one pixel wide.
Line chart with markers
chm=
a,990066,0,0.0,9.0|
c,FF0000,0,1.0,20|
d,80C65A,0,2.0,20.0|
H,000000,0,3,1:40|
o,FF9900,0,4.0,12.0|
s,3399CC,0,5.0,11.0|
v,BBCCED,0,6,1.0|
V,3399CC,0,7,1.0|
x,FFCC33,0,8,20|
H,FFFF00,0,9,2|
h,FF0000,0,0.5,1

Here's an example using diamonds for one data series, and circles for the other data series.

If two or more markers occupy the same point, the markers are drawn in the order in which they appear in the chm parameter. Here, the circle is the first marker specified with chm , so it is drawn first. The diamond is specified and drawn second, which results in it being drawn on top of the circle.

Line chart, one line has 15 pixel circles on each data point the other line has 10 pixel diamonds. A diamond is drawn on the point that is common to both lines
chm=
o,FF9900,0,-1,15.0|
d,FF0000,1,-1,10.0

Here's a line chart with a marker on every second data point (-2 means every other point).

Line chart with marker on every second point
chd=t:
0,20,20,50,40,70,70,90,85,45,40,50
chm=
o,0066FF,0,-2,6
Here's a line chart with twice as many markers as data points (-0.5 means every half point). Line chart with marker on every second point
chd=t:
0,20,20,50,40,70,70,90,85,45,40,50
chm=
o,0066FF,0,-.5,6
This example shows how to use h and v markers to create grid lines with custom colors and thickness. The z-order value (the last value) is set to -1 so that the grid lines are drawn beneath the data line.
Line chart with marker on every second point
chm=
h,76A4FB,0,0:1:.2,2,-1|
V,76A4FB,0,::2,0.5,-1

This chart adds vertical fill lines to a line chart:

  • v - Vertical lines to the chart
  • FF0000 - Red lines
  • 0 - Series index
  • : :.5 - Range specifier: from start to end, every 0.5 points.
  • 2 - Thickness 2 pixels.
Line chart with marker on every second point
chm=
v,FF0000,0,::.5,2
This example adds an arrow and text marker to the chart using exact coordinates. The first D marker is the trace line under the bars. The second marker is the arrow, and the third marker is the arrow text.
chm=
D,003971,1,0,3|
@a,000000,0,.25:.75,7|
@tExpected,000000,0,.35:.85,10
A horizontal line fixed to a specific data point ( H ) can be useful for showing relative values, or emphasizing the height of a data value on a chart.
chm=H,FF0000,0,18,1

This graph demonstrates the markers that can specify line thickness and length in the < size > parameter.

  • E,000000,0,6,1:20 - Black error bar with 1 pixel wide lines, top and bottom bars 20 pixels long. The bottom is anchored to series 0 point 8, the top is anchored to series 1 point 8.
  • H,990066,1,2,5:50 - Purple, horizontal line five pixels wide, fifty pixels long centered on data point 2.
  • V,3399CC,0,8,3:50 - Blue, vertical line 3 pixels wide, fifty pixels long, centered on data point 8.
title="cht=lc&chd=s:2gounjqLaCf,jqLaCf2goun&chco=008000,00008033&chls=2.0,4.0,1.0&chs=250x150&chm=H,990066,1,2,5:50%7CV,3399CC,0,8,3:50%7CE,000000,0,6,1:20" src="/chart/image/images/chart_95.png" />
chm=
E,000000,0,6,1:20|
H,990066,1,2,5:50|
V,3399CC,0,8,3:50

উপরে ফিরে যাও

Text and Data Value Markers chm [ Bar, Line, Radar, Scatter ]

You can label specific points on your chart with custom text, or with formatted versions of the data at that point.

You can combine any chm markers using a pipe character ( | ) to separate the chm parameter sets.

A note on string values: Only URL-safe characters are permitted in label strings. To be safe, you should URL-encode any strings containing characters not in the character set 0-9a-zA-Z . You can find a URL encoder in the Google Visualization Documentation .

বাক্য গঠন

Specify one set of the following parameters for each series that should be marked. To mark multiple series, create additional parameter sets, delimited by a pipe character. You do not need to mark up all series. If you do not assign markers to a data series, it will not get any markers.

chm=
  <marker_type>,<color>,<series_index>,<opt_which_points>,<size>,<opt_z_order>,<opt_placement>
    |...|
  <marker_type>,<color>,<series_index>,<opt_which_points>,<size>,<opt_z_order>,<opt_placement>
<marker_type>
The type of marker to use. আপনি নিম্নলিখিত ধরনের থেকে চয়ন করতে পারেন:
  • f<text> - A flag containing text. Specify the character 'f', followed by custom URL-encoded text. To escape commas in text markers, precede the comma by a \ mark. Example: fHello\,+World!
  • t<text> - A simple text marker. Specify the character 't' followed by custom URL-encoded text. To escape commas in text markers, precede the comma by a \ mark. Example: tHello\,+World!
  • A< text > - An annotation marker. This is similar to a flag marker, but markers will coordinate their position so that they do not overlap. The only valid format for < opt_which_points > is nd , to signify the index of a point in the series.
  • N< formatting_string > - The value of the data at this point, with optional formatting. If you do not use the chds parameter (custom scaling) it gives the exact encoded value; if you do use that parameter with any format type the value will be scaled to the range that you specify. See an example of chds with numeric markers below. With this marker type in a stacked bar chart , if you specify -1 for < series_index > you will get a marker that shows the sum of all values in this stacked bar. The formatting string syntax is as follows:
    < preceding_text >*< number_type >< decimal_places >zs< x or y >*< following_text > .
    All of these elements are optional. Here is the meaning of each element:
    • <preceding_text> - Text to precede each value.
    • *...* - An optional block wrapped in literal asterisks, in which you can specify formatting details for numbers. The following values are supported, and are all optional:
      • <number_type> - The number format, for numeric values. নিচের কোনো একটি পছন্দ কর:
        • f - [ Default ] Floating point format. Consider specifying precision as well with the < decimal_places > value.
        • p - Percentage format. A % sign is appended automatically. Note: When using this format, data values from 0.0 — 1.0 map to 0 — 100% (for example, 0.43 will be shown as 43%).
        • e - Scientific notation format.
        • c< CUR > - Format the number in the currency specified, with the appropriate currency marker. Replace < CUR > with a three-letter currency code. Example: cEUR for Euros. You can find a list of codes on the ISO web site , although not all symbols are supported.
      • <decimal_places> - An integer specifying how many decimal places to show. The value is rounded (not truncated) to this length. ডিফল্ট হল 2।
      • z - Display trailing zeros. Default is no .
      • s - Display group separators. Default is no .
      • x or y -Display the data from the x- or y-coordinate, as specified. The meaning of x data varies by chart type: experiment with your chart to determine what it means. Default is 'y' .
    • < following_text > - Text to follow each value.
< color >
The color of the markers for this set, in RRGGBB hexadecimal format .
< series_index >
The zero-based index of the data series on which to draw the markers. If this is a stacked bar chart and the marker type is N (data point values), you can specify -1 to create a summed value marker for each stack of bars. একটি উদাহরণ জন্য নিচে দেখুন।
< opt_which_points >
[ Optional ] Which point(s) to draw markers on. Default is all markers. Use one of the following values:
  • nd - Which data point to draw the marker on, where nd is the zero-based index in the series. If you specify a non-integer value, then the fraction indicates a calculated intermediate point. For example, 3.5 means halfway between point 3 and point 4.
  • -1 - Draw a marker on all data points. You can also leave this parameter empty to draw on all data points.
  • -n - Draw a marker on every n -th data point.
  • start : end : n - Draw a marker on every n -th data point in a range, from start to end index values, inclusive. All parameters are optional (may be absent), so 3::1 would be from the fourth element to the last, step 1, and omitting this parameter entirely would default to first : last :1. All values can be floating point numbers. start and end can be negative, to count backward from the last value. If both start and end are negative, be sure that they are listed in increasing value (for example, -6:-1:1). If the n step value is less than 1, it will calculate additional data points by interpolating the data values given. Default values are first:last:1
  • x : y - [ Not supported for N-type markers ] Draw a marker at a specific x/y point on the chart. This point does not have to be on a line. Add the at character ( @ ) before the marker type to use this option. Specify the coordinates as floating point values, where 0:0 is the bottom left corner of the chart, 0.5:0.5 is the center of the chart, and 1:1 is the top right corner of the chart. For example, to add a red, 15-pixel diamond to the center of a chart, use @d,FF0000,0,0.5:0.5,15 .
< আকার >
The size of the marker in pixels. If this is a scatter chart with a third data series (used to specify point sizes), this value will be scaled by the data range. So if the data range is 0—100 and < size > is 30, a data value of 100 would be 30 pixels wide, a data value of 50 would be 15 pixels wide, and so on.
< opt_z_order >
[ Optional ] The layer on which to draw the marker, compared to other markers and all other chart elements. This is a floating point number from -1.0 to 1.0, inclusive, where -1.0 is the bottom and 1.0 is the top. Chart elements (lines and bars) are just lower than zero. If two markers have the same value, they are drawn in the order given by the URL. Default value is 0.0 (just above the chart elements).
< opt_placement >
[ Optional ] Additional placement details describing where to put this marker, in relation to the data point. You can specify horizontal and/or vertical relative positioning, as well as offsets. Placement syntax is a string with : delimiters as shown here. All elements are optional: < horizontal_and_vertical_justification >:< horizontal_offset >:< vertical_offset > . If specified, you can include an empty ,, value in the chm parameter string for < opt_z_order >. Examples: N,000000,0,1,10,,b and N,000000,0,1,10,,lv and N,000000,0,1,10,,r::10 .
horizontal_and_vertical_justification
The anchor point of the marker. This behaves opposite to justification, so a left anchor actually puts the marker to the right of the data point. You can choose a horizontal and/or vertical justifier from the following list:
  • Horizontal placement : 'l', 'h', or 'r' - Left, center, or right-anchored, horizontally. Default is 'l'.
  • Vertical placement : 'b', 'v', 't' - Bottom, middle, or top-anchored, vertically. Default is 'b'.
  • Bar-relative placement [ Bar charts only] : 's', 'c', 'e' - Base, center, or top of a bar. For stacked charts, this is relative to the section of the bar for each series, not for the whole bar. If the series index given is -1 (stack total) it is in relation to the whole bar. This can be combined with vertical placement values: for example, 'be' or 'vs'. Default value is 'e'.
অনুভূমিক অফসেট
A horizontal offset for this marker, in pixels. ডিফল্ট 0।
vertical_offset
A vertical offset for this marker, in pixels. Non-bar chart default: 15; bar chart chart default: 2 .

বর্ণনা উদাহরণ

Here's an example of value labels on a bar chart.

The first chart ( N*p0* ) specifies a data value marker, with values shown as a percentage, rounded to zero decimal places, in black, on all values, in 11-point text. Note that the data values are all between 0.0 and 1.0, which, in percentage format, are moved up two decimal places.

The second chart ( N*cEUR1* ) shows the same values formatted as Euro values, one decimal place, in black, on all values, in 11-point text.

Bar chart with percentage labels above each bar
chm=
N*p0*,000000,0,-1,11
chd=t:
0.4356,0.3562,0.4834,0.575,0.673,0.6091


Bar chart with Euro labels above each bar


chm=
N*cEUR1*,000000,0,-1,11

You can use the chds parameter to scale the numeric value displayed. You can use chds for all data formats, including simple and extended encoding. This will not affect the bar size or the axis labels, but only the data marker value.

This example shows a chart with simple-encoded values of 46, 39, 29, 30, 43, 41. Simple encoding range is 0—61 . The chds parameter defines a custom marker scale of 0—1, so marker values are scaled to this range, but the bar heights are not affected (if this were text format data , the bars would be scaled as well).


chd=s:underp
chm=N,000000,0,-1,11
chds=0,1

Here's an example of a chart with a text label at the minimum point and a flag label at the maximum point.

Line chart with 10pt blue text label, and flag with 15pt red text, drawn on the data points of a dashed green line.
chm=
tMin,0000FF,0,1,10|
fMax,FF0000,0,3,15

This example shows a stacked chart with values for individual series, plus the series total. To show the stacked series values, we must use the 'c' positioning option; if we did not, the top bar value would overlap the sum value at the top of each bar.
chm=
N,FF0000,-1,,12|
N,000000,0,,12,,c|
N,000000,1,,12,,c|
N,ffffff,2,,12,,c
Some more demonstrations of how vertical and horizontal placement work. This example demonstrates various combinations of anchor values for bar charts (which use s, c,and e for vertical placement). Note how a right anchor moves a marker left, and a top anchor moves a marker down, and vice-versa. The red dots show the base, center, and top of each bar. The number is the data value, fixed using different anchor values for each bar.
chm=
N,000000,0,0,10,,rs
N,000000,0,1,10,,ls
N,000000,0,2,10,,c
N,000000,0,3,10,,e
N,000000,0,4,10,,e::15
N,000000,0,5,10,,e::-12
Annotation markers automatically adjust the label position so that they don't overlap. The first chm value is for the line fill, the following values are all annotation markers.
chm=B,C5D4B5BB,0,0,0
AA,666666,0,3,15
AB,666666,0,5,15
AC,666666,0,24,15
AD,666666,0,25,15
AE,666666,0,26,15
AF,666666,0,51,15
AG,666666,0,60,15
AH,666666,0,73,15
AI,666666,0,80,15
AJ,666666,0,99,15
Another annotation marker example demonstrating city altitudes in Switzerland.

উপরে ফিরে যাও

Range Markers chm [ Bar, Candlestick, Line, Radar, Scatter ]

You can color horizontal or vertical bands of background fill to highlight specific areas of a chart.

You can combine any chm markers using a pipe character ( | ) to separate the chm parameter sets.

বাক্য গঠন

Specify one set of the following parameters for each band to draw. To draw multiple bands, create additional parameter sets, delimited by a pipe character. Ranges are drawn in the order specified, so the last range drawn will be drawn on top of previous ranges.

chm=
  <direction>,<color>,0,<start_point>,<end_point>
    |...|
  <direction>,<color>,0,<start_point>,<end_point>
<নির্দেশ>
Specifies horizontal or vertical shading. Use r for a horizontal range and R for a vertical range.
< color >
The range color as an RRGGBB format hexadecimal number .
0
Reserved — must be zero.
< start_point >
The start position of the range.
  • For horizontal range markers, this is a position on the y-axis, where 0.00 is the bottom of the chart, and 1.00 is the top of the chart.
  • For vertical range markers, this is a position on the x-axis, where 0.00 is the left of the chart, and 1.00 is the right of the chart.
< end_point >
The end position of the range.
  • For horizontal range markers, this is a position on the y-axis, where 0.00 is the bottom of the chart, and 1.00 is the top of the chart.
  • For vertical range markers, this is a position on the x-axis, where 0.00 is the left of the chart, and 1.00 is the right of the chart.

উদাহরণ

বর্ণনা উদাহরণ

Range markers can be a thin line or a band of color.

  • r,E5ECF9,0,0.75,0.25 - Range marker, pale blue, (reserved), 0.5 of the height of the chart.
  • r,000000,0,0.1,0.11 - Range marker, black, (reserved), starts at 0.1 of the way up the y-axis and ends at 0.11 of the way up the y-axis (a thin black line).
Line chart with a pale blue horizontal band stretching from 25 percent to 75 percent of the way up the y-axis and a thin horizontal line ten percent of the way up the y-axis
chm=
r,E5ECF9,0,0.75,0.25|
r,000000,0,0.1,0.11

This example shows the vertical range markers. The first marker is a red line ( FF0000 ), and the second is a pale blue band ( A0BAE9 ).

Line chart with a pale blue vertical band stretching from 25 percent to 75 percent of the way along the x-axis and a thin vertical line ten percent of the way along the x-axis
chm=
R,FF0000,0,0.1,0.11|
R,A0BAE9,0,0.75,0.25

Markers are drawn in the order specified. In this example, you can see that the vertical red marker was drawn before the pale blue horizontal marker.

Line chart with a blue vertical band and paler blue horizontal band stretching from 25 percent to 75 percent of the way along the x and y-axis respectively. Thin vertical red line and thin horizontal black line ten percent of the way along the x and y-axis respectively
chm=
R,FF0000,0,0.1,0.11|
R,A0BAE9,0,0.75,0.25|
r,E5ECF9,0,0.75,0.25|
r,000000,0,0.1,0.11

Here's an example of a line chart that uses range markers to draw faint horizontal lines across the chart at the zero line, midpoint line, and top.

Sparkline with single yellow line and three equally spaced horizontal lines
chm=
r,000000,0,0.499,0.501|
r,000000,0,0.998,1.0|
r,000000,0,0.0,0.002

উপরে ফিরে যাও

Candlestick Markers chm=F [ Bar, Line ]

Candlestick markers indicate variance and direction change in a data series. Often they are used to show stock values during the course of a day. The marker includes segments that show the high and low value, as well as the opening and closing value for a specific time period (typically a day). For more about candlestick markers, see here .

A candlestick marker is drawn as a rectangle bisected by a vertical line. It requires four data series to draw a candlestick marker; here is what each series specifies:

  • Series 1 and 4 specify the bottom and top of the vertical line, respectively. These typically represent the low and high values for the day.
  • Series 2 and 3 specify the vertical borders of the rectangle. Series 2 is the opening value, and series 3 is the closing value. The color of the rectangle depends on which is higher: when the opening value (series 2) is lower than the closing value (series 3), the price has increased, and the rectangle is filled with solid green by default; when the opening value (series 2) is higher than the closing value (series 3), the price has decreased, and the rectangle is filled with solid red by default. You can only specify a fill color for the rectangle with decreasing value. When you specify that, the rectangle with increasing value is unfilled (empty). Note that series 2 can be either the top or the bottom of the rectangle, depending on whether the price has gone up or down.

You can combine candlestick markers with any other chm parameters using a pipe character ( | ) to separate the chm parameters.

Note: If you do not want the lines for the data used to draw the markers to appear in the chart, you must include a 0 after the format type. For example: chd=t0:10,20,30,40 in a text format data string. See Compound Charts for more information.

Here's an example, showing the lines for each series:

বাক্য গঠন

chm=
  F,<opt_declining_color>,<data_series_index>,<opt_which_points>,<width>,<opt_z_order>
Indicates that this is a candlestick marker.
<opt_declining_color>
[ Optional ] Fill color for the rectangles when the value is decreasing (when series 2 value > corresponding series 3 value). This is an RRGGBB format hexadecimal number . When the values increase, the rectangle will be empty. Default is solid green for increasing, solid red for decreasing (you cannot specify a custom fill color for increasing values).
< data_series_index >
The index of the data series to use as the first series for your candlestick markers. This is a zero-based index. So, if you specify 1 here, and you have six series, the second, third, fourth and fifth will be used to draw candlestick markers.
<opt_which_points>
[ Optional ] Specifies which data points are used to draw markers. Default is all markers. Use one of the following formats:
  • nd - Draw a marker on a single point in the series, where nd is the index of the point in the series. If you specify a non-integer value, then the fraction indicates a calculated intermediate point. For example, 3.5 means halfway between point 3 and point 4.
  • -1 - Draw a marker on all data points. You can also leave this parameter empty to draw on all markers.
  • - n - Draw a marker on every n -th data point.
  • start:end:n - Draw a marker on every n -th data point in a range, from start to end index values, inclusive. All parameters are optional (may be absent), so 3::1 would be from the fourth element to the last, step 1, and omitting this parameter entirely would default to first : last :1. All values can be floating point numbers. start and end can be negative, to count backward from the last value. If both start and end are negative, be sure that they are listed in increasing value (for example, -6:-1:1). If the n step value is less than 1, it will calculate additional data points by interpolating the data values given. Default values are first:last:1
<width>
The width of all rectangles, in pixels.
<opt_z_order>
[ Optional ] The layer on which to draw the marker, compared to other markers and all other chart elements. This is a floating point number from -1.0 to 1.0, inclusive, where -1.0 is the bottom and 1.0 is the top. Chart elements (lines and bars) are just lower than zero. If two markers have the same value, they are drawn in the order given by the URL. Default value is 0.0 (just above the chart elements).

উদাহরণ

বর্ণনা উদাহরণ

Here's an example of candlestick markers on a line chart with four series. The custom fill color 0000FF (blue) is specified, and this color is used to fill the rectangles when the point in series 3 is smaller than the equivalent point in series 2.

The first and last rectangle are trimmed by the chart. To eliminate these values, you could specify 1:4 for the fourth parameter of chm.

Note the zero in the data string, to hide the lines for the series: chd=t0 . This indicates that all chart data is to be used for markers.

The < which_point > parameter is blank, which draws candlesticks on all data points.

Line chart with four orange lines and four financial markers

chd=t0:
0, 5,10, 7,12, 6|
35,25,45,47,24,46|
15,40,30,27,39,54|
70,55,63,59,80,60
chm=F,0000FF,0,,20

Here's an example of the same chart, using the default colors, and removing the first and last item.

This is a compound chart: it is a combination of a line chart (the base chart type) and candlestick markers. The value of 1 in cht=t:1 means that all data series after the first should be hidden from the basic chart type (line chart). The first 1 in chm=F,, 1 ,1:4,20 means that the candlestick data comes from series 2, 3, 4, and 5 (the 1 is zero-based). See Compound Charts for more information on how to draw a compound chart like this.

Line chart with one orange line and four financial markers.
cht=lc
chm=
F,,1,1:4,20

chd=t1:
15,40,30,27,39,54|
...

উপরে ফিরে যাও

Line Markers chm=D [ Bar, Candlestick, Line, Radar, Scatter ]

You can add a line that traces data in your chart. Most often, this is used in compound charts .

To add multiple lines (or combine this with any other chm markers), separate the chm parameter sets using a pipe ( | ) delimiter. You cannot make a dashed line marker with this parameter.

বাক্য গঠন

chm=
  D,<color>,<series_index>,<which_points>,<width>,<opt_z_order>
ডি
Indicates that this is a line marker.
< color >
The color of the line, in RRGGBB hexadecimal format .
< series_index >
The index of the data series used to draw the line. The data series index is 0 for the first data series, 1 for the second data series, and so on.
< which_points >
Which points in a series to use to draw the line. Use one of the following values:
  • 0 - Use all the points in the series.
  • start:end - Use a specific range of points in the series, from the start to end , inclusive (zero-based index). You can also use floating point values to specify intermediate points, or leave start or end blank to indicate the first or last data point, respectively. start and end can be negative, as a reverse index from the last value. If both start and end are negative, be sure to write them in increasing value (for example, -6:-1).
< আকার >
The width of the line in pixels.
< opt_z_order >
[ Optional ] The layer on which to draw the marker, compared to other markers and all other chart elements. This is a floating point number from -1.0 to 1.0, inclusive, where -1.0 is the bottom and 1.0 is the top. Chart elements (lines and bars) are just lower than zero. If two markers have the same value, they are drawn in the order given by the URL. Default value is 0.0 (just above the chart elements).

উদাহরণ

বর্ণনা উদাহরণ

This is an example of drawing a marker line on a bar chart. The z-order is set to 1 , so the line is drawn on top of the bars.

This example uses the same data for both the bars and the data line.
Bar chart with line marker
chm=D,0033FF,0,0,5,1
chd=s:1XQbnf4

This is the same bar chart, but with an additional data series just for the line. This is an example of a compound chart. Compound charts are drawn by adding additional data series to the chd parameter, plus a value to chd telling the chart to "ignore" the additional data series.

See Compound Charts for more information.

Bar chart with line marker
chm=D,0033FF,1,0,5,1
chd=s1:1XQbnf4,43ksfg6

উপরে ফিরে যাও

Data Functions chfd [ All chd charts ]

You can specify a custom function to run over chart data using muParser function syntax . The data used in the function can come from one of two sources:

  • A data series from chd - The data is pulled from the specified series in chd .
  • A range of values declared in the chfd parameter itself - You declare a start, stop, and step value for an arbitrary data range.

It is important to note that in all cases you must assign the output to an existing series in chd ; that series will be overwritten by the function output. The chart is rendered only after all functions have been processes, so if you assign multiple functions to output to the same data series, the functions will be run in the order given, but only the output of the final function will be plotted on the chart . Note that you can chain functions, so that one function can take as input a series that was output by a previous function.

To assign colors or chm markers to a function line, assign the colors or markers to the function's series index. Note that markers are placed according to the data after it has been manipulated by the function.

বাক্য গঠন

chfd=
  <output_series_index>,<function_data>,<function_string>
    |...|
  <output_series_index>,<function_data>,<function_string>
< output_series_index >
Zero-based index of a data series in chd to which the function output will be written. Any existing data will be completely overwritten by the function output. If a series is not being used as input for a function, best practice is to assign a single dummy value to that series.
< function_data >
The variables and data to plot. The data can be from a range that you define, or from one of the chd data series. You can specify multiple variables for each function, using a ; (semicolon) delimiter for multiple variables. Note that if you define multiple variables for a single function, and these variables have a different number of points, the function will stop when it reaches the first endpoint. For example, if a function defines both x=1—5 step 1 and y=1—10 step 1, the function will end when it reaches the fifth point.
< variable_name >,< input_series_index >
বা
< variable_name >,< start >,< end >,< step >
  • variable_name - An arbitrary string name for the variable. Use this in the function defined by function_string .
  • input_series_index - The index of a chd data series to use as input data.
  • start - The numeric start value of a range.
  • end - The numeric end value of a range.
  • step - The numeric step value from start to end . Can be positive or negative, but cannot be zero.
Examples: x,0,100,1 declares a variable named x with values 0, 1, 2, ... 100. x,0,100,1;r,0,3.1,.1 declares the same x variable plus a variable named r with values 0, 0.1, 0.2, ..., 3.0, 3.1. x,0 declares a variable named x that uses the data from the first chd series. These variables will be used by function_string . They will not be plotted on the graph unless you specify them in function_string . The smaller the step, the smoother your graph.
< function_string >
Your function, written in the muParser syntax . The function is applied to the variables and data specified in variable_data . You can only reference the variables declared in this local function set, not in another piped set of chfd parameters. Summary muParser functions are not supported (min, max sum, avg). IMPORTANT: Remember to use %2B instead of + in your functions!

উদাহরণ

বর্ণনা উদাহরণ

A simple sine wave. Some things to notice:

  • chd=t:-1 - We use a dummy variable for the chart data, because our data is declared in the chfd parameter.
  • chco=FF0000 - Red is specified for the first series. Even though we don't use the data from chd , the corresponding color for that series will be used for that plotted function.
  • chfd=0,x,0,11,0.1,sin(x)*50%2B50 - We declare one variable, called x, with values 0—11, incremented by 0.1. It is assigned to the first series, which means it will get the first series color (FF0000). The function applied to x is sin(x) * 50 + 50. Note how we must encode the + in that function.

Sine wave specified by chfd
cht=lc
chd=t:-1
chco=FF0000
chfd=
0,x,0,11,0.1,sin(x)*50%2B50
chxt=x,y
This line uses data from the chd parameter.
chd=t:5,10
chfd=0,x,0,x*4

A mix of function and non-function lines.

Notice how the colors are specified by the series color parameter chco .

Notice the placement of markers on the function output; the data points are calculated from start , end , and step , so if your range is 0—11 step 0.1, point 0 is 0, point 1 is 0.1 and so on, until point 110, which has a value of 11.

One series using chfd, one using chd for its data.
chd=t:
-1
15,45
chco=
FF0000,000000
chfd=
0,x,0,11,0.1,sin(x)*50%2B50
chm=
c,00A5C6,0,110,10
a,00A5C6,0,60,10

To define a function in two dimensions, use an lxy chart, assign two dummy series, and assign a function to each.

  • 0,x,0,10,0.1,sin(x)*50%2B50 - Series 0 (the x-axis values) has a variable named x, with values from 0—10, step 0.1, and a function sin(x)*50 + 50
  • 0,y,0,10,0.1,sin(y)*50%2B50 - Series 0 (the y-axis values) has a variable named y, with values from 0—10, step 0.1, and a function sin(x)*50 + 50
A circle
cht=lxy
chd=t:-1|-1
chfd=
0,x,0,10,0.1,sin(x)*50%2B50|
1,y,0,10,0.1,cos(y)*50%2B50

The chfd parameter can really let you express your creativity.

Try clicking these images to open and play with them in the chart playground; you'll get hooked!



উপরে ফিরে যাও