Gallery
JS Venn Icons Groups
<%@ Page Language="C#" Description="dotnetCHARTING Component" %>
<%@ Register TagPrefix="dotnet" Namespace="dotnetCHARTING" Assembly="dotnetCHARTING" %>
<%@ Import Namespace="System.Drawing" %>
<script runat="server">
void Page_Load(Object sender, EventArgs e)
{
// Demonstrates Venn chart with points to show company logos.
Chart.Type = ChartType.Venn;
Chart.TitleBox.Label.Text = "Types of Social Media";
Chart.TitleBox.Label.Font = new Font("Tahoma", 16, FontStyle.Regular);
Chart.TitleBox.Position = TitleBoxPosition.Center;
Chart.Size = "680x640";
Chart.TempDirectory = "temp";
Chart.Debug = false;
Chart.DefaultElement.ShowValue = true;
Chart.DefaultElement.SmartLabel.Color = Color.White;
Chart.DefaultElement.SmartLabel.Font = new Font("Tahoma", 16, FontStyle.Regular);
Chart.DefaultElement.SmartLabel.Text = "js:function(){return \"<icon d=%path size=44 color=white>\"}";
Chart.DefaultElement.ToolTip = "%name";
Chart.DefaultElement.HoverAction = HoverAction.None;
Chart.DefaultElement.FocusGlow.Width = 0;
Chart.PaletteName = Palette.MidTones;
Chart.JS.Enabled = true;
Chart.YAxis.ClearValues = true;
addData();
}
void addData()
{
System.Collections.Generic.Dictionary<string, string> dict =
new System.Collections.Generic.Dictionary<string, string>();
dict.Add("facebook", "m15.997 3.985h2.191v-3.816c-.378-.052-1.678-.169-3.192-.169-3.159 0-5.323 1.987-5.323 5.639v3.361h-3.486v4.266h3.486v10.734h4.274v-10.733h3.345l.531-4.266h-3.877v-2.939c.001-1.233.333-2.077 2.051-2.077z");
dict.Add("twitter", "M403.632,74.18c-9.113,4.041-18.573,7.229-28.28,9.537c10.696-10.164,18.738-22.877,23.275-37.067l0,0c1.295-4.051-3.105-7.554-6.763-5.385l0,0c-13.504,8.01-28.05,14.019-43.235,17.862c-0.881,0.223-1.79,0.336-2.702,0.336c-2.766,0-5.455-1.027-7.57-2.891c-16.156-14.239-36.935-22.081-58.508-22.081c-9.335,0-18.76,1.455-28.014,4.325c-28.672,8.893-50.795,32.544-57.736,61.724c-2.604,10.945-3.309,21.9-2.097,32.56c0.139,1.225-0.44,2.08-0.797,2.481c-0.627,0.703-1.516,1.106-2.439,1.106c-0.103,0-0.209-0.005-0.314-0.015c-62.762-5.831-119.358-36.068-159.363-85.14l0,0c-2.04-2.503-5.952-2.196-7.578,0.593l0,0C13.677,65.565,9.537,80.937,9.537,96.579c0,23.972,9.631,46.563,26.36,63.032c-7.035-1.668-13.844-4.295-20.169-7.808l0,0c-3.06-1.7-6.825,0.485-6.868,3.985l0,0c-0.438,35.612,20.412,67.3,51.646,81.569c-0.629,0.015-1.258,0.022-1.888,0.022c-4.951,0-9.964-0.478-14.898-1.421l0,0c-3.446-0.658-6.341,2.611-5.271,5.952l0,0c10.138,31.651,37.39,54.981,70.002,60.278c-27.066,18.169-58.585,27.753-91.39,27.753l-10.227-0.006c-3.151,0-5.816,2.054-6.619,5.106c-0.791,3.006,0.666,6.177,3.353,7.74c36.966,21.513,79.131,32.883,121.955,32.883c37.485,0,72.549-7.439,104.219-22.109c29.033-13.449,54.689-32.674,76.255-57.141c20.09-22.792,35.8-49.103,46.692-78.201c10.383-27.737,15.871-57.333,15.871-85.589v-1.346c-0.001-4.537,2.051-8.806,5.631-11.712c13.585-11.03,25.415-24.014,35.16-38.591l0,0C411.924,77.126,407.866,72.302,403.632,74.18L403.632,74.18z");
dict.Add("linkedin", "M384.8,161.6c-51.6,0-86.3,28.3-100.4,55.2h-1.5v-46.6H181.1V512h106V342.7c0-44.6,8.4-87.7,63.6-87.7c54.4,0,55.2,50.9,55.2,90.5V512l105.9,0v0h0.1V324.2C512,232.3,492.2,161.6,384.8,161.6z M8.4,512h106.2V170.2H8.4V512z M61.5,0C27.5,0,0,27.5,0,61.5s27.5,62.1,61.5,62.1S123,95.4,123,61.5C122.9,27.5,95.4,0,61.5,0z");
dict.Add("instagram", "M386.9,0H164.2C73.6,0,0,73.6,0,164.2v222.7C0,477.4,73.6,551,164.2,551h222.7c90.5,0,164.2-73.6,164.2-164.2V164.2C551,73.6,477.4,0,386.9,0z M386.9,495.6H164.2c-60,0-108.7-48.7-108.7-108.7V164.2c0-60,48.7-108.7,108.7-108.7h222.7c60,0,108.7,48.7,108.7,108.7l0,222.7C495.6,446.9,446.9,495.6,386.9,495.6z M275.5,133C196.9,133,133,196.9,133,275.5S196.9,418,275.5,418S418,354.1,418,275.5S354.1,133,275.5,133z M275.5,362.6c-48.1,0-87.1-39-87.1-87.1c0-48.1,39-87.1,87.1-87.1c48.1,0,87.1,39,87.1,87.1C362.6,323.6,323.6,362.6,275.5,362.6z M418.3,99.9c-18.9,0-34.1,15.3-34.1,34.2s15.3,34.1,34.1,34.1s34.2-15.3,34.2-34.1S437.2,99.9,418.3,99.9z");
dict.Add("snapchat", "M233.962,33.724c62.857,0.021,115.216,52.351,115.292,115.36c0.018,14.758,0.473,28.348,1.306,40.867c0.514,7.724,6.938,13.448,14.305,13.448c1.085,0,2.19-0.124,3.3-0.384l19.691-4.616c0.838-0.197,1.679-0.291,2.51-0.291c5.001,0,9.606,3.417,10.729,8.478c1.587,7.152-2.42,14.378-9.35,16.808l-29.89,12.066c-7.546,3.046-11.599,11.259-9.474,19.115c23.98,88.654,90.959,79.434,90.959,90.984c0,14.504-50.485,16.552-55.046,21.114s-0.198,26.701-10.389,30.987c-1.921,0.808-4.65,1.089-7.979,1.089c-7.676,0-18.532-1.498-29.974-1.498c-9.925,0-20.291,1.127-29.404,5.337c-24.176,11.168-47.484,32.028-76.378,32.028s-52.202-20.86-76.378-32.028c-9.115-4.211-19.478-5.337-29.404-5.337c-11.441,0-22.299,1.498-29.974,1.498c-3.327,0-6.059-0.282-7.979-1.089c-10.191-4.286-5.828-26.425-10.389-30.987S25,360.062,25,345.558c0-11.551,66.979-2.331,90.959-90.984c2.125-7.855-1.928-16.068-9.475-19.115l-29.89-12.066c-6.931-2.43-10.938-9.656-9.35-16.808c1.123-5.062,5.728-8.479,10.729-8.478c0.83,0,1.672,0.094,2.51,0.291l19.691,4.616c1.11,0.26,2.215,0.384,3.3,0.384c7.366,0,13.791-5.725,14.305-13.448c0.833-12.519,1.289-26.109,1.307-40.867C119.162,86.075,171.104,33.746,233.962,33.724 M233.97,8.724h-0.009h-0.009C215.19,8.73,196.913,12.5,179.631,19.93c-16.589,7.131-31.519,17.299-44.375,30.222c-12.839,12.906-22.943,27.889-30.031,44.533c-7.37,17.307-11.118,35.599-11.141,54.368c-0.011,9.215-0.202,18.158-0.57,26.722l-7.326-1.718c-2.688-0.63-5.452-0.95-8.213-0.951c-7.973-0.001-15.838,2.694-22.146,7.588c-6.581,5.106-11.196,12.377-12.993,20.474c-4.277,19.273,6.365,38.73,24.807,45.572l21.937,8.855c-14.526,44.586-41.311,53.13-59.348,58.885c-4.786,1.527-8.92,2.846-12.856,4.799C1.693,327.063,0,340.25,0,345.558c0,10.167,4.812,19.445,13.551,26.124c4.351,3.326,9.741,6.07,16.477,8.389c9.181,3.161,19.824,5.167,28.474,6.775c0.418,3.205,1.031,6.648,2.064,10.118c4.289,14.411,13.34,20.864,20.178,23.739c6.488,2.729,13.192,3.044,17.67,3.044c4.38,0,9.01-0.343,13.912-0.706c5.259-0.39,10.697-0.792,16.062-0.792c8.314,0,14.503,0.992,18.92,3.032c6.065,2.802,12.497,6.58,19.307,10.579c18.958,11.134,40.445,23.754,67.555,23.754s48.596-12.62,67.554-23.754c6.81-4,13.242-7.777,19.308-10.579c4.417-2.041,10.606-3.032,18.92-3.032c5.365,0,10.803,0.403,16.061,0.792c4.902,0.363,9.532,0.706,13.912,0.706c4.478,0,11.181-0.315,17.67-3.044c6.838-2.875,15.889-9.328,20.178-23.739c1.033-3.47,1.647-6.913,2.064-10.118c8.65-1.609,19.294-3.614,28.474-6.775c6.737-2.319,12.126-5.063,16.477-8.389c8.738-6.679,13.551-15.957,13.551-26.124c0-5.308-1.693-18.495-17.378-26.278c-3.936-1.953-8.07-3.272-12.856-4.799c-18.037-5.754-44.822-14.299-59.348-58.885l21.936-8.855c18.442-6.842,29.085-26.3,24.808-45.573c-1.797-8.097-6.412-15.368-12.993-20.474c-6.308-4.893-14.171-7.588-22.142-7.588c-2.761,0-5.525,0.32-8.215,0.95l-7.327,1.718c-0.368-8.563-0.559-17.506-0.57-26.722c-0.023-18.784-3.801-37.094-11.23-54.424c-7.131-16.636-17.29-31.615-30.194-44.522c-12.903-12.906-27.875-23.063-44.498-30.188C271.017,12.497,252.727,8.731,233.97,8.724L233.97,8.724z");
dict.Add("youtube", "M365.257,67.393H95.744C42.866,67.393,0,110.259,0,163.137v134.728c0,52.878,42.866,95.744,95.744,95.744h269.513c52.878,0,95.744-42.866,95.744-95.744V163.137C461.001,110.259,418.135,67.393,365.257,67.393z M300.506,237.056l-126.06,60.123c-3.359,1.602-7.239-0.847-7.239-4.568V168.607c0-3.774,3.982-6.22,7.348-4.514l126.06,63.881C304.363,229.873,304.298,235.248,300.506,237.056z");
dict.Add("reddit", "M429.7,196.6c0-29.8-24.2-54-54-54c-14.9,0-28.4,6.1-38.2,15.9c-30.2-19.5-68.7-31.9-111.1-33.8c0-18,8.1-34.7,22.1-46c14.1-11.3,32.2-15.5,49.8-11.6l2.4,0.5c0,0.6-0.1,1.2-0.1,1.8c0,24.9,20.2,45,45,45s45-20.2,45-45c0-24.9-20.2-45-45-45c-16,0-30,8.4-38,20.9l-4.3-1c-24.5-5.4-49.8,0.4-69.4,16.2c-19.6,15.7-30.8,39.1-30.8,64.2c-42.3,1.9-80.9,14.3-111.1,33.8c-9.8-9.8-23.3-15.9-38.2-15.9c-29.8,0-54,24.2-54,54c0,20.8,11.8,38.8,28.9,47.8c-1.3,6.7-2,13.5-2,20.5c0,77.5,84.1,140.4,187.9,140.4s187.9-62.9,187.9-140.4c0-6.9-0.7-13.8-2-20.5C418,235.4,429.7,217.4,429.7,196.6z M345.7,47.7c12,0,21.8,9.8,21.8,21.8c0,12-9.8,21.8-21.8,21.8S324,81.5,324,69.5C324,57.5,333.7,47.7,345.7,47.7z M23.3,196.6c0-16.9,13.8-30.7,30.7-30.7c7.2,0,13.9,2.5,19.1,6.8c-16.4,14.1-29.1,30.6-37,48.8C28.3,215.9,23.3,206.9,23.3,196.6z M333.8,345.5C302.3,369,260.1,382,214.9,382c-45.2,0-87.4-13-118.9-36.5c-29.5-22-45.7-50.6-45.7-80.6c0-30,16.2-58.6,45.7-80.6c31.5-23.5,73.7-36.5,118.9-36.5c45.2,0,87.4,13,118.9,36.5c29.5,22,45.7,50.6,45.7,80.6C379.5,294.8,363.2,323.5,333.8,345.5z M393.6,221.5c-7.9-18.2-20.6-34.7-37-48.8c5.2-4.2,11.9-6.8,19.1-6.8c16.9,0,30.7,13.8,30.7,30.7C406.4,206.9,401.4,215.9,393.6,221.5z M146.2,256.6c13.6,0,24.6-11,24.6-24.6s-11-24.6-24.6-24.6s-24.6,11-24.6,24.6S132.7,256.6,146.2,256.6z M283.5,207.5c-13.6,0-24.6,11-24.6,24.6s11,24.6,24.6,24.6s24.6-11,24.6-24.6S297,207.5,283.5,207.5z M273.1,291.8c-17.3,15.8-39.8,24.5-63.2,24.5c-26.3,0-50.7-10.6-68.7-29.9c-4.4-4.7-11.8-5-16.5-0.6c-4.7,4.4-5,11.8-0.6,16.5c22.1,23.7,53.3,37.3,85.7,37.3c29.3,0,57.3-10.8,78.9-30.5c4.8-4.3,5.1-11.7,0.8-16.4C285.2,287.8,277.8,287.4,273.1,291.8z");
dict.Add("quora", "m17.516 20.01c2.992-1.903 4.984-5.313 4.984-9.199 0-5.969-4.702-10.811-10.5-10.811-5.8 0-10.5 4.842-10.5 10.812 0 5.973 4.7 10.812 10.5 10.812.853 0 1.68-.107 2.475-.305.995 1.841 2.516 3.145 5.738 2.523v-1.835c0 .001-2.066-.527-2.697-1.997zm-.073-7.767c0 1.805-.567 3.444-1.486 4.653-1.153-1.249-2.962-2.274-5.257-2.144v2.125s1.558.063 2.622 1.923c-.4.12-.813.184-1.243.184-2.962 0-5.361-3.019-5.361-6.744v-2.782c0-3.726 2.4-6.745 5.361-6.745 2.962 0 5.364 3.02 5.364 6.745z");
dict.Add("digg", "M153.3,147h51.3V96h-51.3V147z M378.9,172.3v174.4h81.8v28.5h-81.8V416H512V172.3H378.9z M460.7,305.7h-30.8v-92.3h30.8V305.7z M153.3,346.7h51.3V172.3h-51.3V346.7z M81.7,172.3H0v174.4h132.7l0-250.7h-51V172.3z M81.7,305.7H50.9v-92.3h30.8V305.7z M225.1,346.7h82.1v28.5h-82.1V416h133.3V172.3H225.1V346.7z M276.3,213.4h30.8v92.3h-30.8V213.4z");
dict.Add("pinterest", "m12.326 0c-6.579.001-10.076 4.216-10.076 8.812 0 2.131 1.191 4.79 3.098 5.633.544.245.472-.054.94-1.844.037-.149.018-.278-.102-.417-2.726-3.153-.532-9.635 5.751-9.635 9.093 0 7.394 12.582 1.582 12.582-1.498 0-2.614-1.176-2.261-2.631.428-1.733 1.266-3.596 1.266-4.845 0-3.148-4.69-2.681-4.69 1.49 0 1.289.456 2.159.456 2.159s-1.509 6.096-1.789 7.235c-.474 1.928.064 5.049.111 5.318.029.148.195.195.288.073.149-.195 1.973-2.797 2.484-4.678.186-.685.949-3.465.949-3.465.503.908 1.953 1.668 3.498 1.668 4.596 0 7.918-4.04 7.918-9.053-.016-4.806-4.129-8.402-9.423-8.402z");
dict.Add("flipboard", "M396.2,110.4H160.8v0h-45c-2.8,0-5.1,2.3-5.1,5.1v280.3c0,2.8,2.3,5.1,5.1,5.1h80c2.8,0,5.1-2.3,5.1-5.1V289.6h84c2.8,0,5.1-2.3,5.1-5.1v-84h106.2c2.8,0,5.1-2.3,5.1-5.1v-80C401.3,112.7,399,110.4,396.2,110.4z");
dict.Add("yelp", "M218.3,362.5c-25.9,31.3-74.5,88.1-77.3,95.1c-7.4,21.3,27.3,34.9,49.3,43.2c23.9,9,40.9,12.6,51,10.9c7.3-1.5,12-5.3,14.3-11.4c1.9-5.2,1.7-118.8,1.7-123.5C258.1,356.9,230.3,347,218.3,362.5z M258.7,209.3c-1.4-25.6-11.6-187.2-12.9-195.6c-1.7-6.6-6.3-10.9-13.8-12.8c-22.1-5.8-105.9,17.9-121.6,34.6c-5,5.1-6.8,11-5.3,17.7l106.3,170.7C233.2,258.6,260.5,248.2,258.7,209.3L258.7,209.3z M200.8,325.1c20.1-6.2,18.6-35.6,1.5-42.6c-45.6-18.8-107.9-45.1-112.7-45.1c-18.7-1.1-22.3,25.6-24.2,44.7c-1.7,17.3-1.8,33.1-0.3,47.6c1.4,15.2,4.7,30.8,19.9,31.7C91.6,361.3,199.8,325.4,200.8,325.1L200.8,325.1z M319.8,287.6l-0.3,0.6c7.3-2.5,112.5-27.3,118.1-31.1c8.6-6,7.3-14.9,7.4-17.9c-2.3-21.8-39-77-57.4-86c-7-3.2-13.1-3.1-18.3,0.6c-6.9,4.7-69.1,94.8-72.8,98.5C284.4,268.8,301.7,292.4,319.8,287.6z M441.6,372.5c-4.2-3.8-114.8-40-114.8-40c-18.8-6.7-36.5,17.3-25.6,33.7c3.1,5.3,59.9,100.4,64.9,103.9c4.8,4.1,10.8,4.7,17.7,2c19.3-7.7,61.1-61.4,63.8-82.3C448.8,382.5,446.8,376.7,441.6,372.5z");
dict.Add("tripadvisor", "M128,223.2c-35.3,0-64,28.7-64,64c0,35.3,28.7,64,64,64s64-28.7,64-64C192,251.9,163.3,223.2,128,223.2z M128,319.2c-17.6,0-32-14.3-32-32c0-17.6,14.4-32,32-32s32,14.4,32,32C160,304.9,145.6,319.2,128,319.2z M128.6,271.2h-0.3c-8.8,0-15.8,7.2-15.8,16c0,8.8,7.3,16,16.2,16c8.8,0,16-7.2,16-16C144.6,278.4,137.5,271.2,128.6,271.2z M484.9,209c8.5-13,19.5-20.2,19.6-20.2c6-3.8,8.8-11.1,6.8-18c-2-6.8-8.2-11.6-15.4-11.6h-73.9c-95.7-83.3-236.4-83.3-332.2,0H16c-7.1,0-13.4,4.7-15.4,11.6c-2,6.9,0.8,14.2,6.8,18C7.6,188.9,18.6,196,27,209C9.5,231.2,0,258.6,0,287.2c0,70.6,57.4,128,128,128c35.8,0,68.2-14.8,91.4-38.5l25.3,32.4c3,3.9,7.7,6.1,12.6,6.1h0.3c5-0.1,9.7-2.5,12.6-6.6l22.8-31.4c23.2,23.5,55.4,38,91,38c70.6,0,128-57.4,128-128C512,258.6,502.5,231.2,484.9,209z M128,383.2c-52.9,0-96-43.1-96-96c0-24.4,9.2-47.5,26-65.1c4.5-4.7,5.7-11.7,3-17.6c-2.2-4.8-4.7-9.2-7.3-13.2H128c52.9,0,96,43.1,96,96C224,340.2,180.9,383.2,128,383.2z M256.8,372.6l-17.5-22.4c10.6-18.6,16.6-40.1,16.6-63c0-65.5-49.5-119.7-113-127.1c69.7-41.7,156.4-41.7,226.1,0C305.5,167.5,256,221.7,256,287.2c0,23,6.1,44.7,16.8,63.4L256.8,372.6z M384,383.2c-52.9,0-96-43.1-96-96c0-52.9,43.1-96,96-96h74.3c-2.7,4-5.2,8.4-7.3,13.2c-2.7,6-1.5,12.9,3,17.6c16.8,17.6,26,40.7,26,65.1C480,340.2,436.9,383.2,384,383.2z M384,223.2c-35.3,0-64,28.7-64,64c0,35.3,28.7,64,64,64c35.3,0,64-28.7,64-64C448,251.9,419.3,223.2,384,223.2z M384,319.2c-17.7,0-32-14.3-32-32c0-17.6,14.3-32,32-32s32,14.4,32,32C416,304.9,401.7,319.2,384,319.2z M384.6,271.2h-0.3c-8.8,0-15.8,7.2-15.8,16c0,8.8,7.4,16,16.2,16c8.8,0,16-7.2,16-16C400.6,278.4,393.5,271.2,384.6,271.2z");
dict.Add("wordpress", "m12 0c-6.615 0-12 5.381-12 12 0 6.615 5.385 12 12 12s12-5.385 12-12c0-6.62-5.385-12-12-12zm-10.79 11.999c0-1.563.333-3.048.934-4.389l5.148 14.1c-3.601-1.751-6.082-5.442-6.082-9.711zm10.79 10.791c-1.06 0-2.081-.155-3.048-.441l3.237-9.406 3.315 9.087c.024.054.049.101.077.15-1.118.392-2.323.61-3.581.61zm1.485-15.845v-.001c.648-.034 1.233-.101 1.233-.101.581-.068.513-.924-.068-.891 0 0-1.747.135-2.874.135-1.06 0-2.841-.135-2.841-.135-.58-.034-.647.857-.067.891 0 0 .551.068 1.132.101l1.679 4.606-2.361 7.079-3.928-11.685c.649-.034 1.234-.101 1.234-.101.581-.068.513-.924-.068-.891 0 0-1.747.135-2.874.135-.203 0-.441-.005-.697-.014 1.931-2.928 5.245-4.863 9.015-4.863 2.807 0 5.366 1.075 7.287 2.83-.049-.005-.092-.009-.14-.009-1.06 0-1.81.924-1.81 1.916 0 .89.513 1.64 1.06 2.531.411.716.891 1.64.891 2.976 0 .924-.353 1.993-.823 3.489l-1.075 3.595zm7.985-.122c.842 1.539 1.321 3.3 1.321 5.178 0 3.982-2.158 7.456-5.366 9.324l-.001-.001 3.295-9.528c.614-1.539.823-2.767.823-3.866 0-.396-.024-.764-.072-1.107z");
dict.Add("tumblr", "M259.104,279.929c0,0-10.445,12.012-30.291,12.012s-28.724-12.012-28.724-29.768c0-7.134,0-50.861,0-100.619h64.17v-60.977h-64.17c0-53.98,0-100.577,0-100.577h-48.321c-7.551,45.134-37.31,82.718-77.674,101.165v60.388h47.135c0,58.694,0,111.822,0,115.87c0,16.085,15.145,74.577,92.439,74.577c45.436,0,64.237-29.246,64.237-29.246L259.104,279.929z");
dict.Add("medium", "m22.085 4.733 1.915-1.832v-.401h-6.634l-4.728 11.768-5.379-11.768h-6.956v.401l2.237 2.693c.218.199.332.49.303.783v10.583c.069.381-.055.773-.323 1.05l-2.52 3.054v.396h7.145v-.401l-2.52-3.049c-.273-.278-.402-.663-.347-1.05v-9.154l6.272 13.659h.729l5.393-13.659v10.881c0 .287 0 .346-.188.534l-1.94 1.877v.402h9.412v-.401l-1.87-1.831c-.164-.124-.249-.332-.214-.534v-13.467c-.035-.203.049-.411.213-.534z");
//Add Social networks networks series
Series ser1 = new Series("Social networks");
Element el = new Element("Social networks", 60);
el.SmartLabel.Text = "%name";
el.CustomAttributes.Add("path", "''");
ser1.Elements.Add(el);
el = new Element("Facebook", 6);
el.Outline.Width = 0;
el.Color = Color.Empty;
el.CustomAttributes.Add("path", dict["facebook"]);
ser1.Elements.Add(el);
el = new Element("Twitter", 6);
el.Outline.Width = 0;
el.Color = Color.Empty;
el.CustomAttributes.Add("path", dict["twitter"]);
ser1.Elements.Add(el);
el = new Element("LinkedIn", 6);
el.Outline.Width = 0;
el.Color = Color.Empty;
el.CustomAttributes.Add("path", dict["linkedin"]);
ser1.Elements.Add(el);
el = new Element("", 10);
el.Color = Color.LightBlue;
SubValue sv = new SubValue();
sv.Name = "Social networks";
el.SubValues.Add(sv);
sv = new SubValue();
sv.Name = "Facebook";
el.SubValues.Add(sv);
el.CustomAttributes.Add("path", "''");
ser1.Elements.Add(el);
el = new Element("", 10);
el.Color = Color.LightBlue;
sv = new SubValue();
sv.Name = "Social networks";
el.SubValues.Add(sv);
sv = new SubValue();
sv.Name = "Twitter";
el.SubValues.Add(sv);
el.CustomAttributes.Add("path", "''");
ser1.Elements.Add(el);
el = new Element("", 10);
el.Color = Color.LightBlue;
sv = new SubValue();
sv.Name = "Social networks";
el.SubValues.Add(sv);
sv = new SubValue();
sv.Name = "LinkedIn";
el.SubValues.Add(sv);
el.CustomAttributes.Add("path", "''");
ser1.Elements.Add(el);
Chart.SeriesCollection.Add(ser1);
//Add Media sharing series
ser1 = new Series("Media sharing");
el = new Element("Media sharing", 60);
el.SmartLabel.Text = "%name";
el.CustomAttributes.Add("path", "''");
ser1.Elements.Add(el);
el = new Element("Instagram", 6);
el.Outline.Width = 0;
el.Color = Color.Empty;
el.CustomAttributes.Add("path", dict["instagram"]);
ser1.Elements.Add(el);
el = new Element("Snapchat", 6);
el.Outline.Width = 0;
el.Color = Color.Empty;
el.CustomAttributes.Add("path", dict["snapchat"]);
ser1.Elements.Add(el);
el = new Element("Youtube", 6);
el.Outline.Width = 0;
el.Color = Color.Empty;
el.CustomAttributes.Add("path", dict["youtube"]);
ser1.Elements.Add(el);
el = new Element("", 10);
sv = new SubValue();
sv.Name = "Media sharing";
el.SubValues.Add(sv);
sv = new SubValue();
sv.Name = "Instagram";
el.SubValues.Add(sv);
el.CustomAttributes.Add("path", "''");
ser1.Elements.Add(el);
el = new Element("", 10);
sv = new SubValue();
sv.Name = "Media sharing";
el.SubValues.Add(sv);
sv = new SubValue();
sv.Name = "Snapchat";
el.SubValues.Add(sv);
el.CustomAttributes.Add("path", "''");
ser1.Elements.Add(el);
el = new Element("", 10);
sv = new SubValue();
sv.Name = "Media sharing";
el.SubValues.Add(sv);
sv = new SubValue();
sv.Name = "Youtube";
el.SubValues.Add(sv);
el.CustomAttributes.Add("path", "''");
ser1.Elements.Add(el);
Chart.SeriesCollection.Add(ser1);
//Add Forums series
ser1 = new Series("Forums");
el = new Element("Forums", 60);
el.SmartLabel.Text = "%name";
el.CustomAttributes.Add("path", "''");
ser1.Elements.Add(el);
el = new Element("Reddit", 6);
el.Outline.Width = 0;
el.Color = Color.Empty;
el.CustomAttributes.Add("path", dict["reddit"]);
ser1.Elements.Add(el);
el = new Element("Quora", 6);
el.Outline.Width = 0;
el.Color = Color.Empty;
el.CustomAttributes.Add("path", dict["quora"]);
ser1.Elements.Add(el);
el = new Element("Digg", 6);
el.Outline.Width = 0;
el.Color = Color.Empty;
el.CustomAttributes.Add("path", dict["digg"]);
ser1.Elements.Add(el);
el = new Element("", 10);
sv = new SubValue();
sv.Name = "Forums";
el.SubValues.Add(sv);
sv = new SubValue();
sv.Name = "Reddit";
el.SubValues.Add(sv);
el.CustomAttributes.Add("path", "''");
ser1.Elements.Add(el);
el = new Element("", 10);
sv = new SubValue();
sv.Name = "Forums";
el.SubValues.Add(sv);
sv = new SubValue();
sv.Name = "Quora";
el.SubValues.Add(sv);
el.CustomAttributes.Add("path", "''");
ser1.Elements.Add(el);
el = new Element("", 10);
sv = new SubValue();
sv.Name = "Forums";
el.SubValues.Add(sv);
sv = new SubValue();
sv.Name = "Digg";
el.SubValues.Add(sv);
el.CustomAttributes.Add("path", "''");
ser1.Elements.Add(el);
Chart.SeriesCollection.Add(ser1);
//Add Forums series
ser1 = new Series("Bookmarking");
el = new Element("Bookmarking", 60);
el.SmartLabel.Text = "%name";
el.CustomAttributes.Add("path", "''");
ser1.Elements.Add(el);
el = new Element("Pinterest", 6);
el.Outline.Width = 0;
el.Color = Color.Empty;
el.CustomAttributes.Add("path", dict["pinterest"]);
ser1.Elements.Add(el);
el = new Element("Flipboard", 6);
el.Outline.Width = 0;
el.Color = Color.Empty;
el.CustomAttributes.Add("path", dict["flipboard"]);
ser1.Elements.Add(el);
el = new Element("", 10);
sv = new SubValue();
sv.Name = "Bookmarking";
el.SubValues.Add(sv);
sv = new SubValue();
sv.Name = "Pinterest";
el.SubValues.Add(sv);
el.CustomAttributes.Add("path", "''");
ser1.Elements.Add(el);
el = new Element("", 10);
sv = new SubValue();
sv.Name = "Bookmarking";
el.SubValues.Add(sv);
sv = new SubValue();
sv.Name = "Flipboard";
el.SubValues.Add(sv);
el.CustomAttributes.Add("path", "''");
ser1.Elements.Add(el);
Chart.SeriesCollection.Add(ser1);
//Add Reviews series
ser1 = new Series("Reviews");
el = new Element("Reviews", 60);
el.SmartLabel.Text = "%name";
el.CustomAttributes.Add("path", "''");
ser1.Elements.Add(el);
el = new Element("Yelp", 6);
el.Outline.Width = 0;
el.Color = Color.Empty;
el.CustomAttributes.Add("path", dict["yelp"]);
ser1.Elements.Add(el);
el = new Element("Tripadvisor", 6);
el.Outline.Width = 0;
el.Color = Color.Empty;
el.CustomAttributes.Add("path", dict["tripadvisor"]);
ser1.Elements.Add(el);
el = new Element("", 10);
sv = new SubValue();
sv.Name = "Reviews";
el.SubValues.Add(sv);
sv = new SubValue();
sv.Name = "Yelp";
el.SubValues.Add(sv);
el.CustomAttributes.Add("path", "''");
ser1.Elements.Add(el);
el = new Element("", 10);
sv = new SubValue();
sv.Name = "Reviews";
el.SubValues.Add(sv);
sv = new SubValue();
sv.Name = "Tripadvisor";
el.SubValues.Add(sv);
el.CustomAttributes.Add("path", "''");
ser1.Elements.Add(el);
Chart.SeriesCollection.Add(ser1);
//Add Blogging series
ser1 = new Series("Blogging");
el = new Element("Blogging", 60);
el.SmartLabel.Text = "%name";
el.CustomAttributes.Add("path", "''");
ser1.Elements.Add(el);
el = new Element("Wordpress", 6);
el.Outline.Width = 0;
el.Color = Color.Empty;
el.CustomAttributes.Add("path", dict["wordpress"]);
ser1.Elements.Add(el);
el = new Element("Tumblr", 6);
el.Outline.Width = 0;
el.Color = Color.Empty;
el.CustomAttributes.Add("path", dict["tumblr"]);
ser1.Elements.Add(el);
el = new Element("Medium", 6);
el.Outline.Width = 0;
el.Color = Color.Empty;
el.CustomAttributes.Add("path", dict["medium"]);
ser1.Elements.Add(el);
el = new Element("", 10);
sv = new SubValue();
sv.Name = "Blogging";
el.SubValues.Add(sv);
sv = new SubValue();
sv.Name = "Wordpress";
el.SubValues.Add(sv);
el.CustomAttributes.Add("path", "''");
ser1.Elements.Add(el);
el = new Element("", 10);
sv = new SubValue();
sv.Name = "Blogging";
el.SubValues.Add(sv);
sv = new SubValue();
sv.Name = "Tumblr";
el.SubValues.Add(sv);
el.CustomAttributes.Add("path", "''");
ser1.Elements.Add(el);
el = new Element("", 10);
sv = new SubValue();
sv.Name = "Blogging";
el.SubValues.Add(sv);
sv = new SubValue();
sv.Name = "Medium";
el.SubValues.Add(sv);
el.CustomAttributes.Add("path", "''");
ser1.Elements.Add(el);
Chart.SeriesCollection.Add(ser1);
}
</script>
<html xmlns="http://www.w3.org/1999/xhtml">
<head><title>Venn sample</title></head>
<body>
<div align="center">
<dotnet:Chart ID="Chart" runat="server" />
</div>
</body>
</html>
<%@ Page Language="vb" Description="dotnetCHARTING Component" %>
<%@ Register TagPrefix="dotnet" Namespace="dotnetCHARTING" Assembly="dotnetCHARTING" %>
<%@ Import Namespace="System.Drawing" %>
<script runat="server">
Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs)
' Demonstrates Venn chart with points to show company logos.
Chart.Type = ChartType.Venn
Chart.TitleBox.Label.Text = "Types of Social Media"
Chart.TitleBox.Label.Font = New Font("Tahoma", 16, FontStyle.Regular)
Chart.TitleBox.Position = TitleBoxPosition.Center
Chart.Size = "680x640"
Chart.TempDirectory = "temp"
Chart.Debug = False
Chart.DefaultElement.ShowValue = True
Chart.DefaultElement.SmartLabel.Color = Color.White
Chart.DefaultElement.SmartLabel.Font = New Font("Tahoma", 16, FontStyle.Regular)
Chart.DefaultElement.SmartLabel.Text = "js:function(){return ""<icon d=%path size=44 color=white>""}"
Chart.DefaultElement.ToolTip = "%name"
Chart.DefaultElement.HoverAction = HoverAction.None
Chart.DefaultElement.FocusGlow.Width = 0
Chart.PaletteName = Palette.MidTones
Chart.JS.Enabled = True
Chart.YAxis.ClearValues = True
addData()
End Sub
Sub addData()
Dim dict As System.Collections.Generic.Dictionary(Of String, String) = New System.Collections.Generic.Dictionary(Of String, String)()
dict.Add("facebook", "m15.997 3.985h2.191v-3.816c-.378-.052-1.678-.169-3.192-.169-3.159 0-5.323 1.987-5.323 5.639v3.361h-3.486v4.266h3.486v10.734h4.274v-10.733h3.345l.531-4.266h-3.877v-2.939c.001-1.233.333-2.077 2.051-2.077z")
dict.Add("twitter", "M403.632,74.18c-9.113,4.041-18.573,7.229-28.28,9.537c10.696-10.164,18.738-22.877,23.275-37.067l0,0c1.295-4.051-3.105-7.554-6.763-5.385l0,0c-13.504,8.01-28.05,14.019-43.235,17.862c-0.881,0.223-1.79,0.336-2.702,0.336c-2.766,0-5.455-1.027-7.57-2.891c-16.156-14.239-36.935-22.081-58.508-22.081c-9.335,0-18.76,1.455-28.014,4.325c-28.672,8.893-50.795,32.544-57.736,61.724c-2.604,10.945-3.309,21.9-2.097,32.56c0.139,1.225-0.44,2.08-0.797,2.481c-0.627,0.703-1.516,1.106-2.439,1.106c-0.103,0-0.209-0.005-0.314-0.015c-62.762-5.831-119.358-36.068-159.363-85.14l0,0c-2.04-2.503-5.952-2.196-7.578,0.593l0,0C13.677,65.565,9.537,80.937,9.537,96.579c0,23.972,9.631,46.563,26.36,63.032c-7.035-1.668-13.844-4.295-20.169-7.808l0,0c-3.06-1.7-6.825,0.485-6.868,3.985l0,0c-0.438,35.612,20.412,67.3,51.646,81.569c-0.629,0.015-1.258,0.022-1.888,0.022c-4.951,0-9.964-0.478-14.898-1.421l0,0c-3.446-0.658-6.341,2.611-5.271,5.952l0,0c10.138,31.651,37.39,54.981,70.002,60.278c-27.066,18.169-58.585,27.753-91.39,27.753l-10.227-0.006c-3.151,0-5.816,2.054-6.619,5.106c-0.791,3.006,0.666,6.177,3.353,7.74c36.966,21.513,79.131,32.883,121.955,32.883c37.485,0,72.549-7.439,104.219-22.109c29.033-13.449,54.689-32.674,76.255-57.141c20.09-22.792,35.8-49.103,46.692-78.201c10.383-27.737,15.871-57.333,15.871-85.589v-1.346c-0.001-4.537,2.051-8.806,5.631-11.712c13.585-11.03,25.415-24.014,35.16-38.591l0,0C411.924,77.126,407.866,72.302,403.632,74.18L403.632,74.18z")
dict.Add("linkedin", "M384.8,161.6c-51.6,0-86.3,28.3-100.4,55.2h-1.5v-46.6H181.1V512h106V342.7c0-44.6,8.4-87.7,63.6-87.7c54.4,0,55.2,50.9,55.2,90.5V512l105.9,0v0h0.1V324.2C512,232.3,492.2,161.6,384.8,161.6z M8.4,512h106.2V170.2H8.4V512z M61.5,0C27.5,0,0,27.5,0,61.5s27.5,62.1,61.5,62.1S123,95.4,123,61.5C122.9,27.5,95.4,0,61.5,0z")
dict.Add("instagram", "M386.9,0H164.2C73.6,0,0,73.6,0,164.2v222.7C0,477.4,73.6,551,164.2,551h222.7c90.5,0,164.2-73.6,164.2-164.2V164.2C551,73.6,477.4,0,386.9,0z M386.9,495.6H164.2c-60,0-108.7-48.7-108.7-108.7V164.2c0-60,48.7-108.7,108.7-108.7h222.7c60,0,108.7,48.7,108.7,108.7l0,222.7C495.6,446.9,446.9,495.6,386.9,495.6z M275.5,133C196.9,133,133,196.9,133,275.5S196.9,418,275.5,418S418,354.1,418,275.5S354.1,133,275.5,133z M275.5,362.6c-48.1,0-87.1-39-87.1-87.1c0-48.1,39-87.1,87.1-87.1c48.1,0,87.1,39,87.1,87.1C362.6,323.6,323.6,362.6,275.5,362.6z M418.3,99.9c-18.9,0-34.1,15.3-34.1,34.2s15.3,34.1,34.1,34.1s34.2-15.3,34.2-34.1S437.2,99.9,418.3,99.9z")
dict.Add("snapchat", "M233.962,33.724c62.857,0.021,115.216,52.351,115.292,115.36c0.018,14.758,0.473,28.348,1.306,40.867c0.514,7.724,6.938,13.448,14.305,13.448c1.085,0,2.19-0.124,3.3-0.384l19.691-4.616c0.838-0.197,1.679-0.291,2.51-0.291c5.001,0,9.606,3.417,10.729,8.478c1.587,7.152-2.42,14.378-9.35,16.808l-29.89,12.066c-7.546,3.046-11.599,11.259-9.474,19.115c23.98,88.654,90.959,79.434,90.959,90.984c0,14.504-50.485,16.552-55.046,21.114s-0.198,26.701-10.389,30.987c-1.921,0.808-4.65,1.089-7.979,1.089c-7.676,0-18.532-1.498-29.974-1.498c-9.925,0-20.291,1.127-29.404,5.337c-24.176,11.168-47.484,32.028-76.378,32.028s-52.202-20.86-76.378-32.028c-9.115-4.211-19.478-5.337-29.404-5.337c-11.441,0-22.299,1.498-29.974,1.498c-3.327,0-6.059-0.282-7.979-1.089c-10.191-4.286-5.828-26.425-10.389-30.987S25,360.062,25,345.558c0-11.551,66.979-2.331,90.959-90.984c2.125-7.855-1.928-16.068-9.475-19.115l-29.89-12.066c-6.931-2.43-10.938-9.656-9.35-16.808c1.123-5.062,5.728-8.479,10.729-8.478c0.83,0,1.672,0.094,2.51,0.291l19.691,4.616c1.11,0.26,2.215,0.384,3.3,0.384c7.366,0,13.791-5.725,14.305-13.448c0.833-12.519,1.289-26.109,1.307-40.867C119.162,86.075,171.104,33.746,233.962,33.724 M233.97,8.724h-0.009h-0.009C215.19,8.73,196.913,12.5,179.631,19.93c-16.589,7.131-31.519,17.299-44.375,30.222c-12.839,12.906-22.943,27.889-30.031,44.533c-7.37,17.307-11.118,35.599-11.141,54.368c-0.011,9.215-0.202,18.158-0.57,26.722l-7.326-1.718c-2.688-0.63-5.452-0.95-8.213-0.951c-7.973-0.001-15.838,2.694-22.146,7.588c-6.581,5.106-11.196,12.377-12.993,20.474c-4.277,19.273,6.365,38.73,24.807,45.572l21.937,8.855c-14.526,44.586-41.311,53.13-59.348,58.885c-4.786,1.527-8.92,2.846-12.856,4.799C1.693,327.063,0,340.25,0,345.558c0,10.167,4.812,19.445,13.551,26.124c4.351,3.326,9.741,6.07,16.477,8.389c9.181,3.161,19.824,5.167,28.474,6.775c0.418,3.205,1.031,6.648,2.064,10.118c4.289,14.411,13.34,20.864,20.178,23.739c6.488,2.729,13.192,3.044,17.67,3.044c4.38,0,9.01-0.343,13.912-0.706c5.259-0.39,10.697-0.792,16.062-0.792c8.314,0,14.503,0.992,18.92,3.032c6.065,2.802,12.497,6.58,19.307,10.579c18.958,11.134,40.445,23.754,67.555,23.754s48.596-12.62,67.554-23.754c6.81-4,13.242-7.777,19.308-10.579c4.417-2.041,10.606-3.032,18.92-3.032c5.365,0,10.803,0.403,16.061,0.792c4.902,0.363,9.532,0.706,13.912,0.706c4.478,0,11.181-0.315,17.67-3.044c6.838-2.875,15.889-9.328,20.178-23.739c1.033-3.47,1.647-6.913,2.064-10.118c8.65-1.609,19.294-3.614,28.474-6.775c6.737-2.319,12.126-5.063,16.477-8.389c8.738-6.679,13.551-15.957,13.551-26.124c0-5.308-1.693-18.495-17.378-26.278c-3.936-1.953-8.07-3.272-12.856-4.799c-18.037-5.754-44.822-14.299-59.348-58.885l21.936-8.855c18.442-6.842,29.085-26.3,24.808-45.573c-1.797-8.097-6.412-15.368-12.993-20.474c-6.308-4.893-14.171-7.588-22.142-7.588c-2.761,0-5.525,0.32-8.215,0.95l-7.327,1.718c-0.368-8.563-0.559-17.506-0.57-26.722c-0.023-18.784-3.801-37.094-11.23-54.424c-7.131-16.636-17.29-31.615-30.194-44.522c-12.903-12.906-27.875-23.063-44.498-30.188C271.017,12.497,252.727,8.731,233.97,8.724L233.97,8.724z")
dict.Add("youtube", "M365.257,67.393H95.744C42.866,67.393,0,110.259,0,163.137v134.728c0,52.878,42.866,95.744,95.744,95.744h269.513c52.878,0,95.744-42.866,95.744-95.744V163.137C461.001,110.259,418.135,67.393,365.257,67.393z M300.506,237.056l-126.06,60.123c-3.359,1.602-7.239-0.847-7.239-4.568V168.607c0-3.774,3.982-6.22,7.348-4.514l126.06,63.881C304.363,229.873,304.298,235.248,300.506,237.056z")
dict.Add("reddit", "M429.7,196.6c0-29.8-24.2-54-54-54c-14.9,0-28.4,6.1-38.2,15.9c-30.2-19.5-68.7-31.9-111.1-33.8c0-18,8.1-34.7,22.1-46c14.1-11.3,32.2-15.5,49.8-11.6l2.4,0.5c0,0.6-0.1,1.2-0.1,1.8c0,24.9,20.2,45,45,45s45-20.2,45-45c0-24.9-20.2-45-45-45c-16,0-30,8.4-38,20.9l-4.3-1c-24.5-5.4-49.8,0.4-69.4,16.2c-19.6,15.7-30.8,39.1-30.8,64.2c-42.3,1.9-80.9,14.3-111.1,33.8c-9.8-9.8-23.3-15.9-38.2-15.9c-29.8,0-54,24.2-54,54c0,20.8,11.8,38.8,28.9,47.8c-1.3,6.7-2,13.5-2,20.5c0,77.5,84.1,140.4,187.9,140.4s187.9-62.9,187.9-140.4c0-6.9-0.7-13.8-2-20.5C418,235.4,429.7,217.4,429.7,196.6z M345.7,47.7c12,0,21.8,9.8,21.8,21.8c0,12-9.8,21.8-21.8,21.8S324,81.5,324,69.5C324,57.5,333.7,47.7,345.7,47.7z M23.3,196.6c0-16.9,13.8-30.7,30.7-30.7c7.2,0,13.9,2.5,19.1,6.8c-16.4,14.1-29.1,30.6-37,48.8C28.3,215.9,23.3,206.9,23.3,196.6z M333.8,345.5C302.3,369,260.1,382,214.9,382c-45.2,0-87.4-13-118.9-36.5c-29.5-22-45.7-50.6-45.7-80.6c0-30,16.2-58.6,45.7-80.6c31.5-23.5,73.7-36.5,118.9-36.5c45.2,0,87.4,13,118.9,36.5c29.5,22,45.7,50.6,45.7,80.6C379.5,294.8,363.2,323.5,333.8,345.5z M393.6,221.5c-7.9-18.2-20.6-34.7-37-48.8c5.2-4.2,11.9-6.8,19.1-6.8c16.9,0,30.7,13.8,30.7,30.7C406.4,206.9,401.4,215.9,393.6,221.5z M146.2,256.6c13.6,0,24.6-11,24.6-24.6s-11-24.6-24.6-24.6s-24.6,11-24.6,24.6S132.7,256.6,146.2,256.6z M283.5,207.5c-13.6,0-24.6,11-24.6,24.6s11,24.6,24.6,24.6s24.6-11,24.6-24.6S297,207.5,283.5,207.5z M273.1,291.8c-17.3,15.8-39.8,24.5-63.2,24.5c-26.3,0-50.7-10.6-68.7-29.9c-4.4-4.7-11.8-5-16.5-0.6c-4.7,4.4-5,11.8-0.6,16.5c22.1,23.7,53.3,37.3,85.7,37.3c29.3,0,57.3-10.8,78.9-30.5c4.8-4.3,5.1-11.7,0.8-16.4C285.2,287.8,277.8,287.4,273.1,291.8z")
dict.Add("quora", "m17.516 20.01c2.992-1.903 4.984-5.313 4.984-9.199 0-5.969-4.702-10.811-10.5-10.811-5.8 0-10.5 4.842-10.5 10.812 0 5.973 4.7 10.812 10.5 10.812.853 0 1.68-.107 2.475-.305.995 1.841 2.516 3.145 5.738 2.523v-1.835c0 .001-2.066-.527-2.697-1.997zm-.073-7.767c0 1.805-.567 3.444-1.486 4.653-1.153-1.249-2.962-2.274-5.257-2.144v2.125s1.558.063 2.622 1.923c-.4.12-.813.184-1.243.184-2.962 0-5.361-3.019-5.361-6.744v-2.782c0-3.726 2.4-6.745 5.361-6.745 2.962 0 5.364 3.02 5.364 6.745z")
dict.Add("digg", "M153.3,147h51.3V96h-51.3V147z M378.9,172.3v174.4h81.8v28.5h-81.8V416H512V172.3H378.9z M460.7,305.7h-30.8v-92.3h30.8V305.7z M153.3,346.7h51.3V172.3h-51.3V346.7z M81.7,172.3H0v174.4h132.7l0-250.7h-51V172.3z M81.7,305.7H50.9v-92.3h30.8V305.7z M225.1,346.7h82.1v28.5h-82.1V416h133.3V172.3H225.1V346.7z M276.3,213.4h30.8v92.3h-30.8V213.4z")
dict.Add("pinterest", "m12.326 0c-6.579.001-10.076 4.216-10.076 8.812 0 2.131 1.191 4.79 3.098 5.633.544.245.472-.054.94-1.844.037-.149.018-.278-.102-.417-2.726-3.153-.532-9.635 5.751-9.635 9.093 0 7.394 12.582 1.582 12.582-1.498 0-2.614-1.176-2.261-2.631.428-1.733 1.266-3.596 1.266-4.845 0-3.148-4.69-2.681-4.69 1.49 0 1.289.456 2.159.456 2.159s-1.509 6.096-1.789 7.235c-.474 1.928.064 5.049.111 5.318.029.148.195.195.288.073.149-.195 1.973-2.797 2.484-4.678.186-.685.949-3.465.949-3.465.503.908 1.953 1.668 3.498 1.668 4.596 0 7.918-4.04 7.918-9.053-.016-4.806-4.129-8.402-9.423-8.402z")
dict.Add("flipboard", "M396.2,110.4H160.8v0h-45c-2.8,0-5.1,2.3-5.1,5.1v280.3c0,2.8,2.3,5.1,5.1,5.1h80c2.8,0,5.1-2.3,5.1-5.1V289.6h84c2.8,0,5.1-2.3,5.1-5.1v-84h106.2c2.8,0,5.1-2.3,5.1-5.1v-80C401.3,112.7,399,110.4,396.2,110.4z")
dict.Add("yelp", "M218.3,362.5c-25.9,31.3-74.5,88.1-77.3,95.1c-7.4,21.3,27.3,34.9,49.3,43.2c23.9,9,40.9,12.6,51,10.9c7.3-1.5,12-5.3,14.3-11.4c1.9-5.2,1.7-118.8,1.7-123.5C258.1,356.9,230.3,347,218.3,362.5z M258.7,209.3c-1.4-25.6-11.6-187.2-12.9-195.6c-1.7-6.6-6.3-10.9-13.8-12.8c-22.1-5.8-105.9,17.9-121.6,34.6c-5,5.1-6.8,11-5.3,17.7l106.3,170.7C233.2,258.6,260.5,248.2,258.7,209.3L258.7,209.3z M200.8,325.1c20.1-6.2,18.6-35.6,1.5-42.6c-45.6-18.8-107.9-45.1-112.7-45.1c-18.7-1.1-22.3,25.6-24.2,44.7c-1.7,17.3-1.8,33.1-0.3,47.6c1.4,15.2,4.7,30.8,19.9,31.7C91.6,361.3,199.8,325.4,200.8,325.1L200.8,325.1z M319.8,287.6l-0.3,0.6c7.3-2.5,112.5-27.3,118.1-31.1c8.6-6,7.3-14.9,7.4-17.9c-2.3-21.8-39-77-57.4-86c-7-3.2-13.1-3.1-18.3,0.6c-6.9,4.7-69.1,94.8-72.8,98.5C284.4,268.8,301.7,292.4,319.8,287.6z M441.6,372.5c-4.2-3.8-114.8-40-114.8-40c-18.8-6.7-36.5,17.3-25.6,33.7c3.1,5.3,59.9,100.4,64.9,103.9c4.8,4.1,10.8,4.7,17.7,2c19.3-7.7,61.1-61.4,63.8-82.3C448.8,382.5,446.8,376.7,441.6,372.5z")
dict.Add("tripadvisor", "M128,223.2c-35.3,0-64,28.7-64,64c0,35.3,28.7,64,64,64s64-28.7,64-64C192,251.9,163.3,223.2,128,223.2z M128,319.2c-17.6,0-32-14.3-32-32c0-17.6,14.4-32,32-32s32,14.4,32,32C160,304.9,145.6,319.2,128,319.2z M128.6,271.2h-0.3c-8.8,0-15.8,7.2-15.8,16c0,8.8,7.3,16,16.2,16c8.8,0,16-7.2,16-16C144.6,278.4,137.5,271.2,128.6,271.2z M484.9,209c8.5-13,19.5-20.2,19.6-20.2c6-3.8,8.8-11.1,6.8-18c-2-6.8-8.2-11.6-15.4-11.6h-73.9c-95.7-83.3-236.4-83.3-332.2,0H16c-7.1,0-13.4,4.7-15.4,11.6c-2,6.9,0.8,14.2,6.8,18C7.6,188.9,18.6,196,27,209C9.5,231.2,0,258.6,0,287.2c0,70.6,57.4,128,128,128c35.8,0,68.2-14.8,91.4-38.5l25.3,32.4c3,3.9,7.7,6.1,12.6,6.1h0.3c5-0.1,9.7-2.5,12.6-6.6l22.8-31.4c23.2,23.5,55.4,38,91,38c70.6,0,128-57.4,128-128C512,258.6,502.5,231.2,484.9,209z M128,383.2c-52.9,0-96-43.1-96-96c0-24.4,9.2-47.5,26-65.1c4.5-4.7,5.7-11.7,3-17.6c-2.2-4.8-4.7-9.2-7.3-13.2H128c52.9,0,96,43.1,96,96C224,340.2,180.9,383.2,128,383.2z M256.8,372.6l-17.5-22.4c10.6-18.6,16.6-40.1,16.6-63c0-65.5-49.5-119.7-113-127.1c69.7-41.7,156.4-41.7,226.1,0C305.5,167.5,256,221.7,256,287.2c0,23,6.1,44.7,16.8,63.4L256.8,372.6z M384,383.2c-52.9,0-96-43.1-96-96c0-52.9,43.1-96,96-96h74.3c-2.7,4-5.2,8.4-7.3,13.2c-2.7,6-1.5,12.9,3,17.6c16.8,17.6,26,40.7,26,65.1C480,340.2,436.9,383.2,384,383.2z M384,223.2c-35.3,0-64,28.7-64,64c0,35.3,28.7,64,64,64c35.3,0,64-28.7,64-64C448,251.9,419.3,223.2,384,223.2z M384,319.2c-17.7,0-32-14.3-32-32c0-17.6,14.3-32,32-32s32,14.4,32,32C416,304.9,401.7,319.2,384,319.2z M384.6,271.2h-0.3c-8.8,0-15.8,7.2-15.8,16c0,8.8,7.4,16,16.2,16c8.8,0,16-7.2,16-16C400.6,278.4,393.5,271.2,384.6,271.2z")
dict.Add("wordpress", "m12 0c-6.615 0-12 5.381-12 12 0 6.615 5.385 12 12 12s12-5.385 12-12c0-6.62-5.385-12-12-12zm-10.79 11.999c0-1.563.333-3.048.934-4.389l5.148 14.1c-3.601-1.751-6.082-5.442-6.082-9.711zm10.79 10.791c-1.06 0-2.081-.155-3.048-.441l3.237-9.406 3.315 9.087c.024.054.049.101.077.15-1.118.392-2.323.61-3.581.61zm1.485-15.845v-.001c.648-.034 1.233-.101 1.233-.101.581-.068.513-.924-.068-.891 0 0-1.747.135-2.874.135-1.06 0-2.841-.135-2.841-.135-.58-.034-.647.857-.067.891 0 0 .551.068 1.132.101l1.679 4.606-2.361 7.079-3.928-11.685c.649-.034 1.234-.101 1.234-.101.581-.068.513-.924-.068-.891 0 0-1.747.135-2.874.135-.203 0-.441-.005-.697-.014 1.931-2.928 5.245-4.863 9.015-4.863 2.807 0 5.366 1.075 7.287 2.83-.049-.005-.092-.009-.14-.009-1.06 0-1.81.924-1.81 1.916 0 .89.513 1.64 1.06 2.531.411.716.891 1.64.891 2.976 0 .924-.353 1.993-.823 3.489l-1.075 3.595zm7.985-.122c.842 1.539 1.321 3.3 1.321 5.178 0 3.982-2.158 7.456-5.366 9.324l-.001-.001 3.295-9.528c.614-1.539.823-2.767.823-3.866 0-.396-.024-.764-.072-1.107z")
dict.Add("tumblr", "M259.104,279.929c0,0-10.445,12.012-30.291,12.012s-28.724-12.012-28.724-29.768c0-7.134,0-50.861,0-100.619h64.17v-60.977h-64.17c0-53.98,0-100.577,0-100.577h-48.321c-7.551,45.134-37.31,82.718-77.674,101.165v60.388h47.135c0,58.694,0,111.822,0,115.87c0,16.085,15.145,74.577,92.439,74.577c45.436,0,64.237-29.246,64.237-29.246L259.104,279.929z")
dict.Add("medium", "m22.085 4.733 1.915-1.832v-.401h-6.634l-4.728 11.768-5.379-11.768h-6.956v.401l2.237 2.693c.218.199.332.49.303.783v10.583c.069.381-.055.773-.323 1.05l-2.52 3.054v.396h7.145v-.401l-2.52-3.049c-.273-.278-.402-.663-.347-1.05v-9.154l6.272 13.659h.729l5.393-13.659v10.881c0 .287 0 .346-.188.534l-1.94 1.877v.402h9.412v-.401l-1.87-1.831c-.164-.124-.249-.332-.214-.534v-13.467c-.035-.203.049-.411.213-.534z")
'Add Social networks networks series
Dim ser1 As Series = New Series("Social networks")
Dim el As Element = New Element("Social networks", 60)
el.SmartLabel.Text = "%name"
el.CustomAttributes.Add("path", "''")
ser1.Elements.Add(el)
el = New Element("Facebook", 6)
el.Outline.Width = 0
el.Color = Color.Empty
el.CustomAttributes.Add("path", dict("facebook"))
ser1.Elements.Add(el)
el = New Element("Twitter", 6)
el.Outline.Width = 0
el.Color = Color.Empty
el.CustomAttributes.Add("path", dict("twitter"))
ser1.Elements.Add(el)
el = New Element("LinkedIn", 6)
el.Outline.Width = 0
el.Color = Color.Empty
el.CustomAttributes.Add("path", dict("linkedin"))
ser1.Elements.Add(el)
el = New Element("", 10)
el.Color = Color.LightBlue
Dim sv As SubValue = New SubValue()
sv.Name = "Social networks"
el.SubValues.Add(sv)
sv = New SubValue()
sv.Name = "Facebook"
el.SubValues.Add(sv)
el.CustomAttributes.Add("path", "''")
ser1.Elements.Add(el)
el = New Element("", 10)
el.Color = Color.LightBlue
sv = New SubValue()
sv.Name = "Social networks"
el.SubValues.Add(sv)
sv = New SubValue()
sv.Name = "Twitter"
el.SubValues.Add(sv)
el.CustomAttributes.Add("path", "''")
ser1.Elements.Add(el)
el = New Element("", 10)
el.Color = Color.LightBlue
sv = New SubValue()
sv.Name = "Social networks"
el.SubValues.Add(sv)
sv = New SubValue()
sv.Name = "LinkedIn"
el.SubValues.Add(sv)
el.CustomAttributes.Add("path", "''")
ser1.Elements.Add(el)
Chart.SeriesCollection.Add(ser1)
'Add Media sharing series
ser1 = New Series("Media sharing")
el = New Element("Media sharing", 60)
el.SmartLabel.Text = "%name"
el.CustomAttributes.Add("path", "''")
ser1.Elements.Add(el)
el = New Element("Instagram", 6)
el.Outline.Width = 0
el.Color = Color.Empty
el.CustomAttributes.Add("path", dict("instagram"))
ser1.Elements.Add(el)
el = New Element("Snapchat", 6)
el.Outline.Width = 0
el.Color = Color.Empty
el.CustomAttributes.Add("path", dict("snapchat"))
ser1.Elements.Add(el)
el = New Element("Youtube", 6)
el.Outline.Width = 0
el.Color = Color.Empty
el.CustomAttributes.Add("path", dict("youtube"))
ser1.Elements.Add(el)
el = New Element("", 10)
sv = New SubValue()
sv.Name = "Media sharing"
el.SubValues.Add(sv)
sv = New SubValue()
sv.Name = "Instagram"
el.SubValues.Add(sv)
el.CustomAttributes.Add("path", "''")
ser1.Elements.Add(el)
el = New Element("", 10)
sv = New SubValue()
sv.Name = "Media sharing"
el.SubValues.Add(sv)
sv = New SubValue()
sv.Name = "Snapchat"
el.SubValues.Add(sv)
el.CustomAttributes.Add("path", "''")
ser1.Elements.Add(el)
el = New Element("", 10)
sv = New SubValue()
sv.Name = "Media sharing"
el.SubValues.Add(sv)
sv = New SubValue()
sv.Name = "Youtube"
el.SubValues.Add(sv)
el.CustomAttributes.Add("path", "''")
ser1.Elements.Add(el)
Chart.SeriesCollection.Add(ser1)
'Add Forums series
ser1 = New Series("Forums")
el = New Element("Forums", 60)
el.SmartLabel.Text = "%name"
el.CustomAttributes.Add("path", "''")
ser1.Elements.Add(el)
el = New Element("Reddit", 6)
el.Outline.Width = 0
el.Color = Color.Empty
el.CustomAttributes.Add("path", dict("reddit"))
ser1.Elements.Add(el)
el = New Element("Quora", 6)
el.Outline.Width = 0
el.Color = Color.Empty
el.CustomAttributes.Add("path", dict("quora"))
ser1.Elements.Add(el)
el = New Element("Digg", 6)
el.Outline.Width = 0
el.Color = Color.Empty
el.CustomAttributes.Add("path", dict("digg"))
ser1.Elements.Add(el)
el = New Element("", 10)
sv = New SubValue()
sv.Name = "Forums"
el.SubValues.Add(sv)
sv = New SubValue()
sv.Name = "Reddit"
el.SubValues.Add(sv)
el.CustomAttributes.Add("path", "''")
ser1.Elements.Add(el)
el = New Element("", 10)
sv = New SubValue()
sv.Name = "Forums"
el.SubValues.Add(sv)
sv = New SubValue()
sv.Name = "Quora"
el.SubValues.Add(sv)
el.CustomAttributes.Add("path", "''")
ser1.Elements.Add(el)
el = New Element("", 10)
sv = New SubValue()
sv.Name = "Forums"
el.SubValues.Add(sv)
sv = New SubValue()
sv.Name = "Digg"
el.SubValues.Add(sv)
el.CustomAttributes.Add("path", "''")
ser1.Elements.Add(el)
Chart.SeriesCollection.Add(ser1)
'Add Forums series
ser1 = New Series("Bookmarking")
el = New Element("Bookmarking", 60)
el.SmartLabel.Text = "%name"
el.CustomAttributes.Add("path", "''")
ser1.Elements.Add(el)
el = New Element("Pinterest", 6)
el.Outline.Width = 0
el.Color = Color.Empty
el.CustomAttributes.Add("path", dict("pinterest"))
ser1.Elements.Add(el)
el = New Element("Flipboard", 6)
el.Outline.Width = 0
el.Color = Color.Empty
el.CustomAttributes.Add("path", dict("flipboard"))
ser1.Elements.Add(el)
el = New Element("", 10)
sv = New SubValue()
sv.Name = "Bookmarking"
el.SubValues.Add(sv)
sv = New SubValue()
sv.Name = "Pinterest"
el.SubValues.Add(sv)
el.CustomAttributes.Add("path", "''")
ser1.Elements.Add(el)
el = New Element("", 10)
sv = New SubValue()
sv.Name = "Bookmarking"
el.SubValues.Add(sv)
sv = New SubValue()
sv.Name = "Flipboard"
el.SubValues.Add(sv)
el.CustomAttributes.Add("path", "''")
ser1.Elements.Add(el)
Chart.SeriesCollection.Add(ser1)
'Add Reviews series
ser1 = New Series("Reviews")
el = New Element("Reviews", 60)
el.SmartLabel.Text = "%name"
el.CustomAttributes.Add("path", "''")
ser1.Elements.Add(el)
el = New Element("Yelp", 6)
el.Outline.Width = 0
el.Color = Color.Empty
el.CustomAttributes.Add("path", dict("yelp"))
ser1.Elements.Add(el)
el = New Element("Tripadvisor", 6)
el.Outline.Width = 0
el.Color = Color.Empty
el.CustomAttributes.Add("path", dict("tripadvisor"))
ser1.Elements.Add(el)
el = New Element("", 10)
sv = New SubValue()
sv.Name = "Reviews"
el.SubValues.Add(sv)
sv = New SubValue()
sv.Name = "Yelp"
el.SubValues.Add(sv)
el.CustomAttributes.Add("path", "''")
ser1.Elements.Add(el)
el = New Element("", 10)
sv = New SubValue()
sv.Name = "Reviews"
el.SubValues.Add(sv)
sv = New SubValue()
sv.Name = "Tripadvisor"
el.SubValues.Add(sv)
el.CustomAttributes.Add("path", "''")
ser1.Elements.Add(el)
Chart.SeriesCollection.Add(ser1)
'Add Blogging series
ser1 = New Series("Blogging")
el = New Element("Blogging", 60)
el.SmartLabel.Text = "%name"
el.CustomAttributes.Add("path", "''")
ser1.Elements.Add(el)
el = New Element("Wordpress", 6)
el.Outline.Width = 0
el.Color = Color.Empty
el.CustomAttributes.Add("path", dict("wordpress"))
ser1.Elements.Add(el)
el = New Element("Tumblr", 6)
el.Outline.Width = 0
el.Color = Color.Empty
el.CustomAttributes.Add("path", dict("tumblr"))
ser1.Elements.Add(el)
el = New Element("Medium", 6)
el.Outline.Width = 0
el.Color = Color.Empty
el.CustomAttributes.Add("path", dict("medium"))
ser1.Elements.Add(el)
el = New Element("", 10)
sv = New SubValue()
sv.Name = "Blogging"
el.SubValues.Add(sv)
sv = New SubValue()
sv.Name = "Wordpress"
el.SubValues.Add(sv)
el.CustomAttributes.Add("path", "''")
ser1.Elements.Add(el)
el = New Element("", 10)
sv = New SubValue()
sv.Name = "Blogging"
el.SubValues.Add(sv)
sv = New SubValue()
sv.Name = "Tumblr"
el.SubValues.Add(sv)
el.CustomAttributes.Add("path", "''")
ser1.Elements.Add(el)
el = New Element("", 10)
sv = New SubValue()
sv.Name = "Blogging"
el.SubValues.Add(sv)
sv = New SubValue()
sv.Name = "Medium"
el.SubValues.Add(sv)
el.CustomAttributes.Add("path", "''")
ser1.Elements.Add(el)
Chart.SeriesCollection.Add(ser1)
End Sub
</script>
<html xmlns="http://www.w3.org/1999/xhtml">
<head><title>Venn sample</title></head>
<body>
<div align="center">
<dotnet:Chart ID="Chart" runat="server" />
</div>
</body>
</html>
- Sample FilenameJsVennIconsGroups.aspx
- Version10.1
- Uses DatabaseNo